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 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...]

Completed in 657 milliseconds