Home
last modified time | relevance | path

Searched refs:CurCodeDecl (Results 1 – 13 of 13) sorted by relevance

/external/clang/lib/CodeGen/
DCGCall.cpp2075 if (CurCodeDecl && CurCodeDecl->hasAttr<NakedAttr>()) in EmitFunctionProlog()
2083 if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(CurCodeDecl)) { in EmitFunctionProlog()
2210 if (getNonNullAttr(CurCodeDecl, PVD, PVD->getType(), in EmitFunctionProlog()
2303 dyn_cast_or_null<CXXMethodDecl>(CurCodeDecl)) { in EmitFunctionProlog()
2549 dyn_cast_or_null<ObjCMethodDecl>(CGF.CurCodeDecl); in tryRemoveRetainOfSelf()
2667 if (CurCodeDecl && CurCodeDecl->hasAttr<NakedAttr>()) { in EmitFunctionEpilog()
2773 if (auto *FD = dyn_cast<FunctionDecl>(CurCodeDecl)) in EmitFunctionEpilog()
2775 else if (auto *MD = dyn_cast<ObjCMethodDecl>(CurCodeDecl)) in EmitFunctionEpilog()
2777 else if (isa<BlockDecl>(CurCodeDecl)) in EmitFunctionEpilog()
2834 if (CurCodeDecl && SanOpts.has(SanitizerKind::ReturnsNonnullAttribute)) { in EmitFunctionEpilog()
[all …]
DCGClass.cpp433 const CXXRecordDecl *RD = cast<CXXMethodDecl>(CurCodeDecl)->getParent(); in GetVTTParameter()
484 cast<CXXMethodDecl>(CGF.CurCodeDecl)->getParent(); in Emit()
1619 const CXXDestructorDecl *Dtor = cast<CXXDestructorDecl>(CGF.CurCodeDecl); in Emit()
1643 const CXXDestructorDecl *Dtor = cast<CXXDestructorDecl>(CGF.CurCodeDecl); in Emit()
2196 const auto *OuterCtor = cast<CXXConstructorDecl>(CurCodeDecl); in EmitInheritedCXXConstructorCall()
2955 if (cast<CXXMethodDecl>(CurCodeDecl)->isVariadic()) { in EmitLambdaToBlockPointerBody()
2958 CGM.ErrorUnsupported(CurCodeDecl, "lambda conversion to variadic function"); in EmitLambdaToBlockPointerBody()
DCGCXXABI.cpp27 Diags.Report(CGF.getContext().getFullLoc(CGF.CurCodeDecl->getLocation()), in ErrorUnsupportedABI()
DCGVTables.cpp241 CurCodeDecl = MD; in StartThunk()
248 CurCodeDecl = nullptr; in FinishThunk()
DCGException.cpp219 return get(CGF.CGM, dyn_cast_or_null<FunctionDecl>(CGF.CurCodeDecl)); in get()
1036 doImplicitRethrow = isa<CXXDestructorDecl>(CurCodeDecl) || in ExitCXXTryStmt()
1037 isa<CXXConstructorDecl>(CurCodeDecl); in ExitCXXTryStmt()
DCodeGenFunction.cpp332 EmitEndEHSpec(CurCodeDecl); in FinishFunction()
666 CurCodeDecl = D; in StartFunction()
836 EmitStartEHSpec(CurCodeDecl); in StartFunction()
DCodeGenFunction.h153 const Decl *CurCodeDecl; variable
1085 OldCurCodeDecl(CGF.CurCodeDecl), in InlinedInheritingConstructorScope()
1095 CGF.CurFuncDecl = CGF.CurCodeDecl = in InlinedInheritingConstructorScope()
1109 CGF.CurCodeDecl = OldCurCodeDecl; in ~InlinedInheritingConstructorScope()
DCGObjC.cpp445 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()
1439 DeclRefExpr DRE(Self, /*is enclosing local*/ (CurFuncDecl != CurCodeDecl), in LoadObjCSelf()
DCGExpr.cpp2123 assert(isa<BlockDecl>(CurCodeDecl)); in EmitDeclRefLValue()
2293 if (CurCodeDecl && isa<BlockDecl>(CurCodeDecl)) { in EmitPredefinedLValue()
3275 assert(cast<CXXMethodDecl>(CurCodeDecl)->getParent()->isLambda()); in EmitLValueForLambdaField()
3276 assert(cast<CXXMethodDecl>(CurCodeDecl)->getParent() == Field->getParent()); in EmitLValueForLambdaField()
DCGDecl.cpp1810 const ObjCMethodDecl *method = cast<ObjCMethodDecl>(CurCodeDecl); in EmitParmDecl()
DCGStmtOpenMP.cpp52 (CGF.CurCodeDecl && isa<BlockDecl>(CGF.CurCodeDecl)); in isCapturedVar()
DCGObjCGNU.cpp694 if (isa<ObjCMethodDecl>(CGF.CurCodeDecl)) { in LookupIMP()
DCGObjCMac.cpp1907 dyn_cast_or_null<ObjCMethodDecl>(CGF.CurCodeDecl)) { in EmitMessageSend()