Lines Matching refs:CodeGenFunction

160   static saved_type save(CodeGenFunction &CGF, llvm::Value *value);
161 static llvm::Value *restore(CodeGenFunction &CGF, saved_type value);
168 static type restore(CodeGenFunction &CGF, saved_type value) {
186 static saved_type save(CodeGenFunction &CGF, type value) {
190 static type restore(CodeGenFunction &CGF, saved_type value) {
212 static saved_type save(CodeGenFunction &CGF, RValue value);
213 RValue restore(CodeGenFunction &CGF);
221 static saved_type save(CodeGenFunction &CGF, type value) {
224 static type restore(CodeGenFunction &CGF, saved_type value) {
231 class CodeGenFunction : public CodeGenTypeCache {
232 CodeGenFunction(const CodeGenFunction &) = delete;
233 void operator=(const CodeGenFunction &) = delete;
265 CodeGenFunction *ParentCGF = nullptr;
294 typedef llvm::function_ref<void(CodeGenFunction &, const OMPLoopDirective &,
297 typedef llvm::function_ref<void(CodeGenFunction &, SourceLocation,
303 CodeGenFunction &, const OMPExecutableDirective &S)>
308 CodeGenFunction &, const OMPExecutableDirective &S, Address LB,
449 virtual void EmitBody(CodeGenFunction &CGF, const Stmt *S) {
481 CodeGenFunction &CGF;
484 CGCapturedStmtRAII(CodeGenFunction &CGF,
525 CodeGenFunction *CGF;
527 SanitizerScope(CodeGenFunction *CGF);
635 void Emit(CodeGenFunction &CGF, Flags flags) override {
693 CodeGenFunction &CGF;
698 CodeGenFunction &CGF,
716 CGFPOptionsRAII(CodeGenFunction &CGF, FPOptions FPFeatures);
717 CGFPOptionsRAII(CodeGenFunction &CGF, const Expr *E);
722 CodeGenFunction &CGF;
752 void enter(CodeGenFunction &CGF, const Stmt *Finally,
755 void exit(CodeGenFunction &CGF);
884 CodeGenFunction& CGF;
888 explicit RunCleanupsScope(CodeGenFunction &CGF)
941 explicit LexicalScope(CodeGenFunction &CGF, SourceRange Range)
1002 bool setVarAddr(CodeGenFunction &CGF, const VarDecl *LocalVD,
1030 bool apply(CodeGenFunction &CGF) {
1037 void restore(CodeGenFunction &CGF) {
1073 explicit OMPPrivateScope(CodeGenFunction &CGF) : RunCleanupsScope(CGF) {}
1122 CodeGenFunction &CGF;
1126 OMPLocalDeclMapRAII(CodeGenFunction &CGF)
1188 ConditionalEvaluation(CodeGenFunction &CGF)
1191 void begin(CodeGenFunction &CGF) {
1197 void end(CodeGenFunction &CGF) {
1224 CodeGenFunction &CGF;
1232 StmtExprEvaluation(CodeGenFunction &CGF)
1248 friend class CodeGenFunction;
1263 CodeGenFunction::PeepholeProtection Protection;
1282 static OpaqueValueMappingData bind(CodeGenFunction &CGF,
1290 static OpaqueValueMappingData bind(CodeGenFunction &CGF,
1298 static OpaqueValueMappingData bind(CodeGenFunction &CGF,
1317 void unbind(CodeGenFunction &CGF) {
1331 CodeGenFunction &CGF;
1344 OpaqueValueMapping(CodeGenFunction &CGF,
1357 OpaqueValueMapping(CodeGenFunction &CGF, const OpaqueValueExpr *OV)
1366 OpaqueValueMapping(CodeGenFunction &CGF,
1372 OpaqueValueMapping(CodeGenFunction &CGF,
1463 void emitExit(CodeGenFunction &CGF, OpenMPDirectiveKind Kind,
1464 const llvm::function_ref<void(CodeGenFunction &)> CodeGen) {
1482 void enter(CodeGenFunction &CGF, OpenMPDirectiveKind Kind, bool HasCancel) {
1491 void exit(CodeGenFunction &CGF) {
1604 FieldConstructionScope(CodeGenFunction &CGF, Address This)
1613 CodeGenFunction &CGF;
1621 CXXDefaultInitExprScope(CodeGenFunction &CGF, const CXXDefaultInitExpr *E)
1634 CodeGenFunction &CGF;
1641 CXXDefaultArgExprScope(CodeGenFunction &CGF, const CXXDefaultArgExpr *E)
1649 ArrayInitLoopExprScope(CodeGenFunction &CGF, llvm::Value *Index)
1658 CodeGenFunction &CGF;
1664 InlinedInheritingConstructorScope(CodeGenFunction &CGF, GlobalDecl GD)
1703 CodeGenFunction &CGF;
1747 void Emit(CodeGenFunction &CGF, Flags /*flags*/) override {
1760 static Address getAddrOfThreadPrivate(CodeGenFunction &CGF,
1765 static Address getAddressOfLocalVariable(CodeGenFunction &CGF,
1779 static void FinalizeOMPRegion(CodeGenFunction &CGF, InsertPointTy IP) {
1791 CodeGenFunction::JumpDest Dest = CGF.getJumpDestInCurrentScope(DestBB);
1802 static void EmitOMPInlinedRegionBody(CodeGenFunction &CGF,
1808 static void EmitCaptureStmt(CodeGenFunction &CGF, InsertPointTy CodeGenIP,
1834 static void EmitOMPOutlinedRegionBody(CodeGenFunction &CGF,
1844 CodeGenFunction::JumpDest OldReturnBlock;
1845 CodeGenFunction &CGF;
1848 OutlinedRegionBodyRAII(CodeGenFunction &cgf, InsertPointTy &AllocaIP,
1870 CodeGenFunction &CGF;
1873 InlinedRegionBodyRAII(CodeGenFunction &cgf, InsertPointTy &AllocaIP,
1979 CodeGenFunction(CodeGenModule &cgm, bool suppressNewContext=false);
1980 ~CodeGenFunction();
2035 typedef void Destroyer(CodeGenFunction &CGF, Address addr, QualType ty);
3039 typedef void SpecialInitFn(CodeGenFunction &Init, const VarDecl &D,
3052 friend class CodeGenFunction;
3115 Address getObjectAddress(CodeGenFunction &CGF) const {
3288 void startOutlinedSEHHelper(CodeGenFunction &ParentCGF, bool IsFilter,
3291 llvm::Function *GenerateSEHFilterFunction(CodeGenFunction &ParentCGF,
3294 llvm::Function *GenerateSEHFinallyFunction(CodeGenFunction &ParentCGF,
3297 void EmitSEHExceptionCodeSave(CodeGenFunction &ParentCGF,
3310 void EmitCapturedLocals(CodeGenFunction &ParentCGF, const Stmt *OutlinedStmt,
3318 Address recoverAddrOfEscapedLocal(CodeGenFunction &ParentCGF,
3327 CodeGenFunction &CGF;
3330 OMPCancelStackRAII(CodeGenFunction &CGF, OpenMPDirectiveKind Kind,
3441 CodeGenFunction::OMPPrivateScope &PrivateScope);
3447 const llvm::function_ref<llvm::Value *(CodeGenFunction &)> CondGen);
3473 typedef const llvm::function_ref<void(CodeGenFunction & /*CGF*/,
3500 CodeGenFunction &CGF,
3645 const llvm::function_ref<void(CodeGenFunction &)> BodyGen,
3646 const llvm::function_ref<void(CodeGenFunction &)> PostIncGen);
3671 const llvm::function_ref<llvm::Value *(CodeGenFunction &)> CondGen);
3953 LValue getReferenceLValue(CodeGenFunction &CGF, Expr *refExpr) const {
4820 DominatingLLVMValue::save(CodeGenFunction &CGF, llvm::Value *value) {
4833 inline llvm::Value *DominatingLLVMValue::restore(CodeGenFunction &CGF,