Home | History | Annotate | Download | only in CodeGen

Lines Matching defs:NRVO

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 &&
882 // unless it's an NRVO variable.
885 if (NRVO) {
893 // Create a flag that is used to indicate when the NRVO was applied
894 // to this variable. Set it to zero to indicate that NRVO was not
897 nrvo");
901 // Record the NRVO flag for this variable.
1221 // If there's an NRVO flag on the emission, we need a different