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 88 NRVO.setPointerAndInt(nullptr, 0);
116 if (VarDecl *Candidate = NRVO.getPointer()) {
124 if (NRVO.getInt())
126 else if (NRVO.getPointer())
127 getParent()->addNRVOCandidate(NRVO.getPointer());
213 if (NRVO.getInt())
214 OS << "NRVO not allowed";
215 else if (NRVO.getPointer())
216 OS << "NRVO candidate : (clang::VarDecl*)" << NRVO.getPointer() << '\n'
    [all...]
SemaInit.cpp     [all...]
  /external/clang/include/clang/Sema/
Scope.h 187 /// A lattice consisting of undefined, a single NRVO candidate variable in
189 llvm::PointerIntPair<VarDecl *, 1, bool> NRVO;
424 if (NRVO.getInt())
426 if (NRVO.getPointer() == nullptr) {
427 NRVO.setPointer(VD);
430 if (NRVO.getPointer() != VD)
435 NRVO.setInt(1);
436 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 393 bool NRVO = flags.isForNormalCleanup() && NRVOFlag;
396 if (NRVO) {
397 // If we exited via NRVO, we skip the destructor call.
398 llvm::BasicBlock *RunDtorBB = CGF.createBasicBlock("nrvo.unused");
399 SkipDtorBB = CGF.createBasicBlock("nrvo.skipdtor");
400 llvm::Value *DidNRVO = CGF.Builder.CreateLoad(NRVOFlag, "nrvo.val");
410 if (NRVO) CGF.EmitBlock(SkipDtorBB);
848 bool NRVO = getLangOpts().ElideConstructors &&
865 // If the variable's a const type, and it's neither an NRVO
868 if (CGM.getCodeGenOpts().MergeAllConstants && !NRVO && !isByRef &
    [all...]
  /external/clang/include/clang/AST/
Decl.h 705 /// (NRVO).
    [all...]

Completed in 137 milliseconds