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

  /external/clang/lib/Sema/
Scope.cpp 91 NRVO.setPointerAndInt(nullptr, 0);
119 if (VarDecl *Candidate = NRVO.getPointer()) {
127 if (NRVO.getInt())
129 else if (NRVO.getPointer())
130 getParent()->addNRVOCandidate(NRVO.getPointer());
220 if (NRVO.getInt())
221 OS << "NRVO not allowed\n";
222 else if (NRVO.getPointer())
223 OS << "NRVO candidate : (clang::VarDecl*)" << NRVO.getPointer() << '\n'
    [all...]
SemaInit.cpp     [all...]
  /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...]
  /external/clang/include/clang/AST/
Decl.h 804 /// (NRVO).
    [all...]

Completed in 284 milliseconds