Home
last modified time | relevance | path

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

/external/clang/lib/CodeGen/
DCGCall.cpp1817 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()
DCGClass.cpp432 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()
DCGCXXABI.cpp27 Diags.Report(CGF.getContext().getFullLoc(CGF.CurCodeDecl->getLocation()), in ErrorUnsupportedABI()
DCGException.cpp219 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()
DCGVTables.cpp243 CurCodeDecl = MD; in StartThunk()
250 CurCodeDecl = nullptr; in FinishThunk()
DCodeGenFunction.cpp331 EmitEndEHSpec(CurCodeDecl); in FinishFunction()
657 CurCodeDecl = D; in StartFunction()
797 EmitStartEHSpec(CurCodeDecl); in StartFunction()
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()
1445 DeclRefExpr DRE(Self, /*is enclosing local*/ (CurFuncDecl != CurCodeDecl), in LoadObjCSelf()
DCGExpr.cpp2084 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()
DCodeGenFunction.h150 const Decl *CurCodeDecl; variable
1153 const auto *FD = dyn_cast_or_null<FunctionDecl>(CurCodeDecl); in currentFunctionUsesSEHTry()
DCGDecl.cpp1801 const ObjCMethodDecl *method = cast<ObjCMethodDecl>(CurCodeDecl); in EmitParmDecl()
DCGObjCGNU.cpp665 if (isa<ObjCMethodDecl>(CGF.CurCodeDecl)) { in LookupIMP()
DCGObjCMac.cpp1900 dyn_cast_or_null<ObjCMethodDecl>(CGF.CurCodeDecl)) { in EmitMessageSend()