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;
295 typedef llvm::function_ref<void(CodeGenFunction &, const OMPLoopDirective &,
298 typedef llvm::function_ref<void(CodeGenFunction &, SourceLocation,
304 CodeGenFunction &, const OMPExecutableDirective &S)>
309 CodeGenFunction &, const OMPExecutableDirective &S, Address LB,
450 virtual void EmitBody(CodeGenFunction &CGF, const Stmt *S) {
482 CodeGenFunction &CGF;
485 CGCapturedStmtRAII(CodeGenFunction &CGF,
526 CodeGenFunction *CGF;
528 SanitizerScope(CodeGenFunction *CGF);
636 void Emit(CodeGenFunction &CGF, Flags flags) override {
694 CodeGenFunction &CGF;
699 CodeGenFunction &CGF,
717 CGFPOptionsRAII(CodeGenFunction &CGF, FPOptions FPFeatures);
718 CGFPOptionsRAII(CodeGenFunction &CGF, const Expr *E);
723 CodeGenFunction &CGF;
753 void enter(CodeGenFunction &CGF, const Stmt *Finally,
756 void exit(CodeGenFunction &CGF);
885 CodeGenFunction& CGF;
889 explicit RunCleanupsScope(CodeGenFunction &CGF)
942 explicit LexicalScope(CodeGenFunction &CGF, SourceRange Range)
1003 bool setVarAddr(CodeGenFunction &CGF, const VarDecl *LocalVD,
1031 bool apply(CodeGenFunction &CGF) {
1038 void restore(CodeGenFunction &CGF) {
1074 explicit OMPPrivateScope(CodeGenFunction &CGF) : RunCleanupsScope(CGF) {}
1123 CodeGenFunction &CGF;
1127 OMPLocalDeclMapRAII(CodeGenFunction &CGF)
1189 ConditionalEvaluation(CodeGenFunction &CGF)
1192 void begin(CodeGenFunction &CGF) {
1198 void end(CodeGenFunction &CGF) {
1225 CodeGenFunction &CGF;
1233 StmtExprEvaluation(CodeGenFunction &CGF)
1249 friend class CodeGenFunction;
1264 CodeGenFunction::PeepholeProtection Protection;
1283 static OpaqueValueMappingData bind(CodeGenFunction &CGF,
1291 static OpaqueValueMappingData bind(CodeGenFunction &CGF,
1299 static OpaqueValueMappingData bind(CodeGenFunction &CGF,
1318 void unbind(CodeGenFunction &CGF) {
1332 CodeGenFunction &CGF;
1345 OpaqueValueMapping(CodeGenFunction &CGF,
1358 OpaqueValueMapping(CodeGenFunction &CGF, const OpaqueValueExpr *OV)
1367 OpaqueValueMapping(CodeGenFunction &CGF,
1373 OpaqueValueMapping(CodeGenFunction &CGF,
1464 void emitExit(CodeGenFunction &CGF, OpenMPDirectiveKind Kind,
1465 const llvm::function_ref<void(CodeGenFunction &)> CodeGen) {
1483 void enter(CodeGenFunction &CGF, OpenMPDirectiveKind Kind, bool HasCancel) {
1492 void exit(CodeGenFunction &CGF) {
1606 FieldConstructionScope(CodeGenFunction &CGF, Address This)
1615 CodeGenFunction &CGF;
1623 CXXDefaultInitExprScope(CodeGenFunction &CGF, const CXXDefaultInitExpr *E)
1636 CodeGenFunction &CGF;
1643 CXXDefaultArgExprScope(CodeGenFunction &CGF, const CXXDefaultArgExpr *E)
1651 ArrayInitLoopExprScope(CodeGenFunction &CGF, llvm::Value *Index)
1660 CodeGenFunction &CGF;
1666 InlinedInheritingConstructorScope(CodeGenFunction &CGF, GlobalDecl GD)
1705 CodeGenFunction &CGF;
1749 void Emit(CodeGenFunction &CGF, Flags /*flags*/) override {
1762 static Address getAddrOfThreadPrivate(CodeGenFunction &CGF,
1767 static Address getAddressOfLocalVariable(CodeGenFunction &CGF,
1781 static void FinalizeOMPRegion(CodeGenFunction &CGF, InsertPointTy IP) {
1793 CodeGenFunction::JumpDest Dest = CGF.getJumpDestInCurrentScope(DestBB);
1804 static void EmitOMPInlinedRegionBody(CodeGenFunction &CGF,
1810 static void EmitCaptureStmt(CodeGenFunction &CGF, InsertPointTy CodeGenIP,
1836 static void EmitOMPOutlinedRegionBody(CodeGenFunction &CGF,
1846 CodeGenFunction::JumpDest OldReturnBlock;
1847 CodeGenFunction &CGF;
1850 OutlinedRegionBodyRAII(CodeGenFunction &cgf, InsertPointTy &AllocaIP,
1872 CodeGenFunction &CGF;
1875 InlinedRegionBodyRAII(CodeGenFunction &cgf, InsertPointTy &AllocaIP,
1981 CodeGenFunction(CodeGenModule &cgm, bool suppressNewContext=false);
1982 ~CodeGenFunction();
2037 typedef void Destroyer(CodeGenFunction &CGF, Address addr, QualType ty);
3041 typedef void SpecialInitFn(CodeGenFunction &Init, const VarDecl &D,
3054 friend class CodeGenFunction;
3117 Address getObjectAddress(CodeGenFunction &CGF) const {
3290 void startOutlinedSEHHelper(CodeGenFunction &ParentCGF, bool IsFilter,
3293 llvm::Function *GenerateSEHFilterFunction(CodeGenFunction &ParentCGF,
3296 llvm::Function *GenerateSEHFinallyFunction(CodeGenFunction &ParentCGF,
3299 void EmitSEHExceptionCodeSave(CodeGenFunction &ParentCGF,
3312 void EmitCapturedLocals(CodeGenFunction &ParentCGF, const Stmt *OutlinedStmt,
3320 Address recoverAddrOfEscapedLocal(CodeGenFunction &ParentCGF,
3329 CodeGenFunction &CGF;
3332 OMPCancelStackRAII(CodeGenFunction &CGF, OpenMPDirectiveKind Kind,
3443 CodeGenFunction::OMPPrivateScope &PrivateScope);
3449 const llvm::function_ref<llvm::Value *(CodeGenFunction &)> CondGen);
3475 typedef const llvm::function_ref<void(CodeGenFunction & /*CGF*/,
3502 CodeGenFunction &CGF,
3648 const llvm::function_ref<void(CodeGenFunction &)> BodyGen,
3649 const llvm::function_ref<void(CodeGenFunction &)> PostIncGen);
3674 const llvm::function_ref<llvm::Value *(CodeGenFunction &)> CondGen);
3956 LValue getReferenceLValue(CodeGenFunction &CGF, Expr *refExpr) const {
4850 DominatingLLVMValue::save(CodeGenFunction &CGF, llvm::Value *value) {
4863 inline llvm::Value *DominatingLLVMValue::restore(CodeGenFunction &CGF,