Searched refs:NRVO (Results 1 – 7 of 7) sorted by relevance
/external/clang/lib/Sema/ |
D | Scope.cpp | 88 NRVO.setPointerAndInt(nullptr, 0); in Init() 116 if (VarDecl *Candidate = NRVO.getPointer()) { in mergeNRVOIntoParent() 124 if (NRVO.getInt()) in mergeNRVOIntoParent() 126 else if (NRVO.getPointer()) in mergeNRVOIntoParent() 127 getParent()->addNRVOCandidate(NRVO.getPointer()); in mergeNRVOIntoParent() 213 if (NRVO.getInt()) in dumpImpl() 215 else if (NRVO.getPointer()) in dumpImpl() 216 OS << "NRVO candidate : (clang::VarDecl*)" << NRVO.getPointer() << '\n'; in dumpImpl()
|
D | SemaInit.cpp | 2677 return LocAndNRVO.NRVO; in allowsNRVO()
|
/external/clang/include/clang/Sema/ |
D | Scope.h | 189 llvm::PointerIntPair<VarDecl *, 1, bool> NRVO; variable 424 if (NRVO.getInt()) in addNRVOCandidate() 426 if (NRVO.getPointer() == nullptr) { in addNRVOCandidate() 427 NRVO.setPointer(VD); in addNRVOCandidate() 430 if (NRVO.getPointer() != VD) in addNRVOCandidate() 435 NRVO.setInt(1); in setNoNRVO() 436 NRVO.setPointer(nullptr); in setNoNRVO()
|
D | Initialization.h | 118 bool NRVO; member 172 bool NRVO = false) 176 LocAndNRVO.NRVO = NRVO; in Kind() 242 QualType Type, bool NRVO) { in InitializeResult() argument 243 return InitializedEntity(EK_Result, ReturnLoc, Type, NRVO); in InitializeResult() 247 QualType Type, bool NRVO) { in InitializeBlock() argument 248 return InitializedEntity(EK_BlockElement, BlockVarLoc, Type, NRVO); in InitializeBlock() 253 QualType Type, bool NRVO) { in InitializeException() argument 254 return InitializedEntity(EK_Exception, ThrowLoc, Type, NRVO); in InitializeException()
|
/external/clang/test/CodeGenObjCXX/ |
D | nrvo.mm | 10 @interface NRVO interface 13 @implementation NRVO implementation 14 // CHECK: define internal void @"\01-[NRVO getNRVO]"
|
/external/clang/lib/CodeGen/ |
D | CGDecl.cpp | 393 bool NRVO = flags.isForNormalCleanup() && NRVOFlag; in Emit() local 396 if (NRVO) { in Emit() 410 if (NRVO) CGF.EmitBlock(SkipDtorBB); in Emit() 848 bool NRVO = getLangOpts().ElideConstructors && in EmitAutoVarAlloca() local 868 if (CGM.getCodeGenOpts().MergeAllConstants && !NRVO && !isByRef && in EmitAutoVarAlloca() 885 if (NRVO) { in EmitAutoVarAlloca()
|
/external/clang/include/clang/AST/ |
D | Decl.h | 1130 void setNRVOVariable(bool NRVO) { VarDeclBits.NRVOVariable = NRVO; } in setNRVOVariable() argument
|