Searched refs:NRVO (Results 1 - 4 of 4) sorted by relevance
/external/clang/include/clang/Sema/ |
H A D | Initialization.h | 111 /// named return value optimization (NRVO). 112 bool NRVO; member in struct:clang::InitializedEntity::__anon2964::__anon2965 145 bool NRVO = false) 149 LocAndNRVO.NRVO = NRVO; 206 QualType Type, bool NRVO) { 207 return InitializedEntity(EK_Result, ReturnLoc, Type, NRVO); 211 QualType Type, bool NRVO) { 212 return InitializedEntity(EK_BlockElement, BlockVarLoc, Type, NRVO); 217 QualType Type, bool NRVO) { 205 InitializeResult(SourceLocation ReturnLoc, QualType Type, bool NRVO) argument 210 InitializeBlock(SourceLocation BlockVarLoc, QualType Type, bool NRVO) argument 216 InitializeException(SourceLocation ThrowLoc, QualType Type, bool NRVO) argument [all...] |
/external/clang/lib/CodeGen/ |
H A D | CGDecl.cpp | 369 bool NRVO = flags.isForNormalCleanup() && NRVOFlag; local 372 if (NRVO) { 373 // If we exited via NRVO, we skip the destructor call. 384 if (NRVO) CGF.EmitBlock(SkipDtorBB); 781 bool NRVO = getContext().getLangOpts().ElideConstructors && local 798 // If the variable's a const type, and it's neither an NRVO 801 if (CGM.getCodeGenOpts().MergeAllConstants && !NRVO && !isByRef && 815 // unless it's an NRVO variable. 818 if (NRVO) { 826 // Create a flag that is used to indicate when the NRVO wa [all...] |
/external/clang/include/clang/AST/ |
H A D | Decl.h | 762 /// (NRVO). 1164 /// return value optimization (NRVO). 1166 /// The named return value optimization (NRVO) works by marking certain 1167 /// non-volatile local variables of class type as NRVO objects. These 1171 /// each return that returns the NRVO object will have this variable as its 1172 /// NRVO candidate. 1174 void setNRVOVariable(bool NRVO) { VarDeclBits.NRVOVariable = NRVO; }
|
/external/clang/lib/Sema/ |
H A D | SemaInit.cpp | 2378 return LocAndNRVO.NRVO; 4718 // If the entity allows NRVO, mark the construction as elidable
|
Completed in 144 milliseconds