Searched refs:CurCodeDecl (Results 1 – 12 of 12) sorted by relevance
1817 if (CurCodeDecl && CurCodeDecl->hasAttr<NakedAttr>()) in EmitFunctionProlog()1825 if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(CurCodeDecl)) { in EmitFunctionProlog()1952 if (getNonNullAttr(CurCodeDecl, PVD, PVD->getType(), in EmitFunctionProlog()2026 dyn_cast_or_null<CXXMethodDecl>(CurCodeDecl)) { in EmitFunctionProlog()2249 dyn_cast_or_null<ObjCMethodDecl>(CGF.CurCodeDecl); in tryRemoveRetainOfSelf()2367 if (CurCodeDecl && CurCodeDecl->hasAttr<NakedAttr>()) { in EmitFunctionEpilog()2483 if (CurCodeDecl && SanOpts.has(SanitizerKind::ReturnsNonnullAttribute)) { in EmitFunctionEpilog()2484 if (auto RetNNAttr = CurCodeDecl->getAttr<ReturnsNonNullAttr>()) { in EmitFunctionEpilog()3529 if (CurCodeDecl && CurCodeDecl->hasAttr<FlattenAttr>() && in EmitCall()
432 const CXXRecordDecl *RD = cast<CXXMethodDecl>(CurCodeDecl)->getParent(); in GetVTTParameter()483 cast<CXXMethodDecl>(CGF.CurCodeDecl)->getParent(); in Emit()1622 const CXXDestructorDecl *Dtor = cast<CXXDestructorDecl>(CGF.CurCodeDecl); in Emit()1645 const CXXDestructorDecl *Dtor = cast<CXXDestructorDecl>(CGF.CurCodeDecl); in Emit()2743 if (cast<CXXMethodDecl>(CurCodeDecl)->isVariadic()) { in EmitLambdaToBlockPointerBody()2746 CGM.ErrorUnsupported(CurCodeDecl, "lambda conversion to variadic function"); in EmitLambdaToBlockPointerBody()
27 Diags.Report(CGF.getContext().getFullLoc(CGF.CurCodeDecl->getLocation()), in ErrorUnsupportedABI()
219 return get(CGF.CGM, dyn_cast_or_null<FunctionDecl>(CGF.CurCodeDecl)); in get()1034 doImplicitRethrow = isa<CXXDestructorDecl>(CurCodeDecl) || in ExitCXXTryStmt()1035 isa<CXXConstructorDecl>(CurCodeDecl); in ExitCXXTryStmt()1626 const Decl *ParentCodeDecl = ParentCGF.CurCodeDecl; in startOutlinedSEHHelper()
243 CurCodeDecl = MD; in StartThunk()250 CurCodeDecl = nullptr; in FinishThunk()
331 EmitEndEHSpec(CurCodeDecl); in FinishFunction()657 CurCodeDecl = D; in StartFunction()797 EmitStartEHSpec(CurCodeDecl); in StartFunction()
445 GetAddrOfLocalVar(cast<ObjCMethodDecl>(CurCodeDecl)->getSelfDecl()); in EmitObjCMessageExpr()473 GetAddrOfLocalVar(cast<ObjCMethodDecl>(CurCodeDecl)->getSelfDecl()); in EmitObjCMessageExpr()490 const ObjCMethodDecl *method = cast<ObjCMethodDecl>(CGF.CurCodeDecl); in Emit()1445 DeclRefExpr DRE(Self, /*is enclosing local*/ (CurFuncDecl != CurCodeDecl), in LoadObjCSelf()
2084 assert(isa<BlockDecl>(CurCodeDecl)); in EmitDeclRefLValue()2254 if (CurCodeDecl && isa<BlockDecl>(CurCodeDecl)) { in EmitPredefinedLValue()3066 assert(cast<CXXMethodDecl>(CurCodeDecl)->getParent()->isLambda()); in EmitLValueForLambdaField()3067 assert(cast<CXXMethodDecl>(CurCodeDecl)->getParent() == Field->getParent()); in EmitLValueForLambdaField()
150 const Decl *CurCodeDecl; variable1153 const auto *FD = dyn_cast_or_null<FunctionDecl>(CurCodeDecl); in currentFunctionUsesSEHTry()
1801 const ObjCMethodDecl *method = cast<ObjCMethodDecl>(CurCodeDecl); in EmitParmDecl()
665 if (isa<ObjCMethodDecl>(CGF.CurCodeDecl)) { in LookupIMP()
1900 dyn_cast_or_null<ObjCMethodDecl>(CGF.CurCodeDecl)) { in EmitMessageSend()