Lines Matching defs:ParentCGF
1779 CodeGenFunction &ParentCGF;
1783 CaptureFinder(CodeGenFunction &ParentCGF, const VarDecl *ParentThis)
1784 : ParentCGF(ParentCGF), ParentThis(ParentThis) {}
1815 if (ParentCGF.getTarget().getTriple().getArch() != llvm::Triple::x86)
1826 SEHCodeSlot = ParentCGF.SEHCodeSlotStack.back();
1833 Address CodeGenFunction::recoverAddrOfEscapedLocal(CodeGenFunction &ParentCGF,
1842 auto InsertPair = ParentCGF.EscapedLocals.insert(
1843 std::make_pair(ParentAlloca, ParentCGF.EscapedLocals.size()));
1849 FrameRecoverFn, {ParentCGF.CurFn, ParentFP,
1872 void CodeGenFunction::EmitCapturedLocals(CodeGenFunction &ParentCGF,
1876 CaptureFinder Finder(ParentCGF, ParentCGF.CXXABIThisDecl);
1884 EmitSEHExceptionCodeSave(ParentCGF, nullptr, nullptr);
1912 ParentFP = Builder.CreateCall(RecoverFPIntrin, {ParentCGF.CurFn, EntryFP});
1920 if (ParentCGF.ParentCGF != nullptr) {
1925 for (auto &I : ParentCGF.LocalDeclMap) {
1936 auto InsertPair = ParentCGF.EscapedLocals.insert(
1937 std::make_pair(FramePtrAddrAlloca, ParentCGF.EscapedLocals.size()));
1948 FrameRecoverFn, {ParentCGF.CurFn, ParentFP,
1964 auto L = ParentCGF.LambdaCaptureFields.find(VD);
1965 if (L != ParentCGF.LambdaCaptureFields.end()) {
1972 auto I = ParentCGF.LocalDeclMap.find(VD);
1973 if (I == ParentCGF.LocalDeclMap.end())
1978 recoverAddrOfEscapedLocal(ParentCGF, ParentVar, ParentFP);
1982 CXXABIThisAlignment = ParentCGF.CXXABIThisAlignment;
1983 CXXThisAlignment = ParentCGF.CXXThisAlignment;
1985 if (ParentCGF.LambdaThisCaptureField) {
1986 LambdaThisCaptureField = ParentCGF.LambdaThisCaptureField;
2005 recoverAddrOfEscapedLocal(ParentCGF, Finder.SEHCodeSlot, ParentFP));
2009 EmitSEHExceptionCodeSave(ParentCGF, ParentFP, EntryFP);
2015 void CodeGenFunction::startOutlinedSEHHelper(CodeGenFunction &ParentCGF,
2024 GlobalDecl ParentSEHFn = ParentCGF.CurSEHParent;
2067 CurSEHParent = ParentCGF.CurSEHParent;
2070 EmitCapturedLocals(ParentCGF, OutlinedStmt, IsFilter);
2077 CodeGenFunction::GenerateSEHFilterFunction(CodeGenFunction &ParentCGF,
2080 startOutlinedSEHHelper(ParentCGF, true, FilterExpr);
2094 CodeGenFunction::GenerateSEHFinallyFunction(CodeGenFunction &ParentCGF,
2097 startOutlinedSEHHelper(ParentCGF, false, FinallyBlock);
2107 void CodeGenFunction::EmitSEHExceptionCodeSave(CodeGenFunction &ParentCGF,
2125 ParentCGF, ParentCGF.SEHCodeSlotStack.back(), ParentFP));
2172 HelperCGF.ParentCGF = this;