Lines Matching refs:CodeGenFunction
161 static saved_type save(CodeGenFunction &CGF, llvm::Value *value);
162 static llvm::Value *restore(CodeGenFunction &CGF, saved_type value);
169 static type restore(CodeGenFunction &CGF, saved_type value) {
187 static saved_type save(CodeGenFunction &CGF, type value) {
191 static type restore(CodeGenFunction &CGF, saved_type value) {
213 static saved_type save(CodeGenFunction &CGF, RValue value);
214 RValue restore(CodeGenFunction &CGF);
222 static saved_type save(CodeGenFunction &CGF, type value) {
225 static type restore(CodeGenFunction &CGF, saved_type value) {
232 class CodeGenFunction : public CodeGenTypeCache {
233 CodeGenFunction(const CodeGenFunction &) = delete;
234 void operator=(const CodeGenFunction &) = delete;
266 CodeGenFunction *ParentCGF = nullptr;
298 typedef llvm::function_ref<void(CodeGenFunction &, const OMPLoopDirective &,
301 typedef llvm::function_ref<void(CodeGenFunction &, SourceLocation,
307 CodeGenFunction &, const OMPExecutableDirective &S)>
312 CodeGenFunction &, const OMPExecutableDirective &S, Address LB,
458 virtual void EmitBody(CodeGenFunction &CGF, const Stmt *S) {
490 CodeGenFunction &CGF;
493 CGCapturedStmtRAII(CodeGenFunction &CGF,
534 CodeGenFunction *CGF;
536 SanitizerScope(CodeGenFunction *CGF);
644 void Emit(CodeGenFunction &CGF, Flags flags) override {
702 CodeGenFunction &CGF;
707 CodeGenFunction &CGF,
725 CGFPOptionsRAII(CodeGenFunction &CGF, FPOptions FPFeatures);
726 CGFPOptionsRAII(CodeGenFunction &CGF, const Expr *E);
731 CodeGenFunction &CGF;
761 void enter(CodeGenFunction &CGF, const Stmt *Finally,
764 void exit(CodeGenFunction &CGF);
893 CodeGenFunction& CGF;
897 explicit RunCleanupsScope(CodeGenFunction &CGF)
950 explicit LexicalScope(CodeGenFunction &CGF, SourceRange Range)
1011 bool setVarAddr(CodeGenFunction &CGF, const VarDecl *LocalVD,
1039 bool apply(CodeGenFunction &CGF) {
1046 void restore(CodeGenFunction &CGF) {
1082 explicit OMPPrivateScope(CodeGenFunction &CGF) : RunCleanupsScope(CGF) {}
1131 CodeGenFunction &CGF;
1135 OMPLocalDeclMapRAII(CodeGenFunction &CGF)
1197 ConditionalEvaluation(CodeGenFunction &CGF)
1200 void begin(CodeGenFunction &CGF) {
1206 void end(CodeGenFunction &CGF) {
1233 CodeGenFunction &CGF;
1241 StmtExprEvaluation(CodeGenFunction &CGF)
1257 friend class CodeGenFunction;
1272 CodeGenFunction::PeepholeProtection Protection;
1291 static OpaqueValueMappingData bind(CodeGenFunction &CGF,
1299 static OpaqueValueMappingData bind(CodeGenFunction &CGF,
1307 static OpaqueValueMappingData bind(CodeGenFunction &CGF,
1326 void unbind(CodeGenFunction &CGF) {
1340 CodeGenFunction &CGF;
1353 OpaqueValueMapping(CodeGenFunction &CGF,
1366 OpaqueValueMapping(CodeGenFunction &CGF, const OpaqueValueExpr *OV)
1375 OpaqueValueMapping(CodeGenFunction &CGF,
1381 OpaqueValueMapping(CodeGenFunction &CGF,
1472 void emitExit(CodeGenFunction &CGF, OpenMPDirectiveKind Kind,
1473 const llvm::function_ref<void(CodeGenFunction &)> CodeGen) {
1491 void enter(CodeGenFunction &CGF, OpenMPDirectiveKind Kind, bool HasCancel) {
1500 void exit(CodeGenFunction &CGF) {
1663 FieldConstructionScope(CodeGenFunction &CGF, Address This)
1672 CodeGenFunction &CGF;
1680 CXXDefaultInitExprScope(CodeGenFunction &CGF, const CXXDefaultInitExpr *E)
1693 CodeGenFunction &CGF;
1700 CXXDefaultArgExprScope(CodeGenFunction &CGF, const CXXDefaultArgExpr *E)
1708 ArrayInitLoopExprScope(CodeGenFunction &CGF, llvm::Value *Index)
1717 CodeGenFunction &CGF;
1723 InlinedInheritingConstructorScope(CodeGenFunction &CGF, GlobalDecl GD)
1762 CodeGenFunction &CGF;
1806 void Emit(CodeGenFunction &CGF, Flags /*flags*/) override {
1819 static Address getAddrOfThreadPrivate(CodeGenFunction &CGF,
1824 static Address getAddressOfLocalVariable(CodeGenFunction &CGF,
1838 static void FinalizeOMPRegion(CodeGenFunction &CGF, InsertPointTy IP) {
1850 CodeGenFunction::JumpDest Dest = CGF.getJumpDestInCurrentScope(DestBB);
1861 static void EmitOMPInlinedRegionBody(CodeGenFunction &CGF,
1867 static void EmitCaptureStmt(CodeGenFunction &CGF, InsertPointTy CodeGenIP,
1893 static void EmitOMPOutlinedRegionBody(CodeGenFunction &CGF,
1903 CodeGenFunction::JumpDest OldReturnBlock;
1904 CodeGenFunction &CGF;
1907 OutlinedRegionBodyRAII(CodeGenFunction &cgf, InsertPointTy &AllocaIP,
1929 CodeGenFunction &CGF;
1932 InlinedRegionBodyRAII(CodeGenFunction &cgf, InsertPointTy &AllocaIP,
2041 CodeGenFunction(CodeGenModule &cgm, bool suppressNewContext=false);
2042 ~CodeGenFunction();
2097 typedef void Destroyer(CodeGenFunction &CGF, Address addr, QualType ty);
3125 typedef void SpecialInitFn(CodeGenFunction &Init, const VarDecl &D,
3138 friend class CodeGenFunction;
3201 Address getObjectAddress(CodeGenFunction &CGF) const {
3375 void startOutlinedSEHHelper(CodeGenFunction &ParentCGF, bool IsFilter,
3378 llvm::Function *GenerateSEHFilterFunction(CodeGenFunction &ParentCGF,
3381 llvm::Function *GenerateSEHFinallyFunction(CodeGenFunction &ParentCGF,
3384 void EmitSEHExceptionCodeSave(CodeGenFunction &ParentCGF,
3397 void EmitCapturedLocals(CodeGenFunction &ParentCGF, const Stmt *OutlinedStmt,
3405 Address recoverAddrOfEscapedLocal(CodeGenFunction &ParentCGF,
3414 CodeGenFunction &CGF;
3417 OMPCancelStackRAII(CodeGenFunction &CGF, OpenMPDirectiveKind Kind,
3530 CodeGenFunction::OMPPrivateScope &PrivateScope);
3536 const llvm::function_ref<llvm::Value *(CodeGenFunction &)> CondGen);
3562 typedef const llvm::function_ref<void(CodeGenFunction & /*CGF*/,
3589 CodeGenFunction &CGF,
3752 const llvm::function_ref<void(CodeGenFunction &)> BodyGen,
3753 const llvm::function_ref<void(CodeGenFunction &)> PostIncGen);
3778 const llvm::function_ref<llvm::Value *(CodeGenFunction &)> CondGen);
4065 LValue getReferenceLValue(CodeGenFunction &CGF, Expr *refExpr) const {
5008 DominatingLLVMValue::save(CodeGenFunction &CGF, llvm::Value *value) {
5021 inline llvm::Value *DominatingLLVMValue::restore(CodeGenFunction &CGF,