Lines Matching refs:ParentCGF

1751   CodeGenFunction &ParentCGF;  member
1755 CaptureFinder(CodeGenFunction &ParentCGF, const VarDecl *ParentThis) in CaptureFinder()
1756 : ParentCGF(ParentCGF), ParentThis(ParentThis) {} in CaptureFinder()
1787 if (ParentCGF.getTarget().getTriple().getArch() != llvm::Triple::x86) in VisitCallExpr()
1798 SEHCodeSlot = ParentCGF.SEHCodeSlotStack.back(); in VisitCallExpr()
1805 Address CodeGenFunction::recoverAddrOfEscapedLocal(CodeGenFunction &ParentCGF, in recoverAddrOfEscapedLocal() argument
1813 auto InsertPair = ParentCGF.EscapedLocals.insert( in recoverAddrOfEscapedLocal()
1814 std::make_pair(ParentAlloca, ParentCGF.EscapedLocals.size())); in recoverAddrOfEscapedLocal()
1820 llvm::ConstantExpr::getBitCast(ParentCGF.CurFn, Int8PtrTy); in recoverAddrOfEscapedLocal()
1845 void CodeGenFunction::EmitCapturedLocals(CodeGenFunction &ParentCGF, in EmitCapturedLocals() argument
1849 CaptureFinder Finder(ParentCGF, ParentCGF.CXXABIThisDecl); in EmitCapturedLocals()
1857 EmitSEHExceptionCodeSave(ParentCGF, nullptr, nullptr); in EmitCapturedLocals()
1886 llvm::ConstantExpr::getBitCast(ParentCGF.CurFn, Int8PtrTy); in EmitCapturedLocals()
1895 if (ParentCGF.ParentCGF != nullptr) { in EmitCapturedLocals()
1900 for (auto &I : ParentCGF.LocalDeclMap) { in EmitCapturedLocals()
1910 auto InsertPair = ParentCGF.EscapedLocals.insert( in EmitCapturedLocals()
1911 std::make_pair(FramePtrAddrAlloca, ParentCGF.EscapedLocals.size())); in EmitCapturedLocals()
1923 llvm::ConstantExpr::getBitCast(ParentCGF.CurFn, Int8PtrTy); in EmitCapturedLocals()
1941 auto L = ParentCGF.LambdaCaptureFields.find(VD); in EmitCapturedLocals()
1942 if (L != ParentCGF.LambdaCaptureFields.end()) { in EmitCapturedLocals()
1949 auto I = ParentCGF.LocalDeclMap.find(VD); in EmitCapturedLocals()
1950 if (I == ParentCGF.LocalDeclMap.end()) in EmitCapturedLocals()
1955 recoverAddrOfEscapedLocal(ParentCGF, ParentVar, ParentFP); in EmitCapturedLocals()
1959 CXXABIThisAlignment = ParentCGF.CXXABIThisAlignment; in EmitCapturedLocals()
1960 CXXThisAlignment = ParentCGF.CXXThisAlignment; in EmitCapturedLocals()
1962 if (ParentCGF.LambdaThisCaptureField) { in EmitCapturedLocals()
1963 LambdaThisCaptureField = ParentCGF.LambdaThisCaptureField; in EmitCapturedLocals()
1982 recoverAddrOfEscapedLocal(ParentCGF, Finder.SEHCodeSlot, ParentFP)); in EmitCapturedLocals()
1986 EmitSEHExceptionCodeSave(ParentCGF, ParentFP, EntryFP); in EmitCapturedLocals()
1992 void CodeGenFunction::startOutlinedSEHHelper(CodeGenFunction &ParentCGF, in startOutlinedSEHHelper() argument
2001 const NamedDecl *ParentSEHFn = ParentCGF.CurSEHParent; in startOutlinedSEHHelper()
2044 CurSEHParent = ParentCGF.CurSEHParent; in startOutlinedSEHHelper()
2047 EmitCapturedLocals(ParentCGF, OutlinedStmt, IsFilter); in startOutlinedSEHHelper()
2054 CodeGenFunction::GenerateSEHFilterFunction(CodeGenFunction &ParentCGF, in GenerateSEHFilterFunction() argument
2057 startOutlinedSEHHelper(ParentCGF, true, FilterExpr); in GenerateSEHFilterFunction()
2071 CodeGenFunction::GenerateSEHFinallyFunction(CodeGenFunction &ParentCGF, in GenerateSEHFinallyFunction() argument
2074 startOutlinedSEHHelper(ParentCGF, false, FinallyBlock); in GenerateSEHFinallyFunction()
2084 void CodeGenFunction::EmitSEHExceptionCodeSave(CodeGenFunction &ParentCGF, in EmitSEHExceptionCodeSave() argument
2103 ParentCGF, ParentCGF.SEHCodeSlotStack.back(), ParentFP)); in EmitSEHExceptionCodeSave()
2151 HelperCGF.ParentCGF = this; in EnterSEHTryStmt()