HomeSort by relevance Sort by last modified time
    Searched defs:NRVO (Results 1 - 3 of 3) sorted by null

  /external/clang/include/clang/Sema/
Scope.h 195 /// A lattice consisting of undefined, a single NRVO candidate variable in
197 llvm::PointerIntPair<VarDecl *, 1, bool> NRVO;
452 if (NRVO.getInt())
454 if (NRVO.getPointer() == nullptr) {
455 NRVO.setPointer(VD);
458 if (NRVO.getPointer() != VD)
463 NRVO.setInt(1);
464 NRVO.setPointer(nullptr);
Initialization.h 117 /// named return value optimization (NRVO).
118 bool NRVO;
172 bool NRVO = false)
176 LocAndNRVO.NRVO = NRVO;
242 QualType Type, bool NRVO) {
243 return InitializedEntity(EK_Result, ReturnLoc, Type, NRVO);
247 QualType Type, bool NRVO) {
248 return InitializedEntity(EK_BlockElement, BlockVarLoc, Type, NRVO);
253 QualType Type, bool NRVO) {
    [all...]
  /external/clang/lib/CodeGen/
CGDecl.cpp 437 bool NRVO = flags.isForNormalCleanup() && NRVOFlag;
440 if (NRVO) {
441 // If we exited via NRVO, we skip the destructor call.
442 llvm::BasicBlock *RunDtorBB = CGF.createBasicBlock("nrvo.unused");
443 SkipDtorBB = CGF.createBasicBlock("nrvo.skipdtor");
445 CGF.Builder.CreateFlagLoad(NRVOFlag, "nrvo.val");
455 if (NRVO) CGF.EmitBlock(SkipDtorBB);
    [all...]

Completed in 70 milliseconds