Home
last modified time | relevance | path

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

/minix3/external/bsd/llvm/dist/clang/lib/CodeGen/
H A DCGStmtOpenMP.cpp40 StoredCurCodeDecl(CGF.CurCodeDecl) { in InlinedOpenMPRegion()
41 CGF.CurCodeDecl = cast<CapturedStmt>(S)->getCapturedDecl(); in InlinedOpenMPRegion()
47 CGF.CurCodeDecl = StoredCurCodeDecl; in ~InlinedOpenMPRegion()
H A DCGCXXABI.cpp26 Diags.Report(CGF.getContext().getFullLoc(CGF.CurCodeDecl->getLocation()), in ErrorUnsupportedABI()
H A DCGClass.cpp307 const CXXRecordDecl *RD = cast<CXXMethodDecl>(CurCodeDecl)->getParent(); in GetVTTParameter()
358 cast<CXXMethodDecl>(CGF.CurCodeDecl)->getParent(); in Emit()
1460 const CXXDestructorDecl *Dtor = cast<CXXDestructorDecl>(CGF.CurCodeDecl); in Emit()
1483 const CXXDestructorDecl *Dtor = cast<CXXDestructorDecl>(CGF.CurCodeDecl); in Emit()
2227 if (cast<CXXMethodDecl>(CurCodeDecl)->isVariadic()) { in EmitLambdaToBlockPointerBody()
2230 CGM.ErrorUnsupported(CurCodeDecl, "lambda conversion to variadic function"); in EmitLambdaToBlockPointerBody()
H A DCGCall.cpp1661 if (CurCodeDecl && CurCodeDecl->hasAttr<NakedAttr>()) in EmitFunctionProlog()
1669 if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(CurCodeDecl)) { in EmitFunctionProlog()
1796 if (getNonNullAttr(CurCodeDecl, PVD, PVD->getType(), in EmitFunctionProlog()
1870 dyn_cast_or_null<CXXMethodDecl>(CurCodeDecl)) { in EmitFunctionProlog()
2115 dyn_cast_or_null<ObjCMethodDecl>(CGF.CurCodeDecl); in tryRemoveRetainOfSelf()
2208 if (CurCodeDecl && CurCodeDecl->hasAttr<NakedAttr>()) { in EmitFunctionEpilog()
3317 if (CurCodeDecl && CurCodeDecl->hasAttr<FlattenAttr>() && in EmitCall()
H A DCodeGenFunction.cpp269 EmitEndEHSpec(CurCodeDecl); in FinishFunction()
581 CurCodeDecl = D; in StartFunction()
696 EmitStartEHSpec(CurCodeDecl); in StartFunction()
H A DCGException.cpp1233 doImplicitRethrow = isa<CXXDestructorDecl>(CurCodeDecl) || in ExitCXXTryStmt()
1234 isa<CXXConstructorDecl>(CurCodeDecl); in ExitCXXTryStmt()
H A DCGObjC.cpp383 LocalDeclMap[cast<ObjCMethodDecl>(CurCodeDecl)->getSelfDecl()]; in EmitObjCMessageExpr()
413 LocalDeclMap[cast<ObjCMethodDecl>(CurCodeDecl)->getSelfDecl()]; in EmitObjCMessageExpr()
431 const ObjCMethodDecl *method = cast<ObjCMethodDecl>(CGF.CurCodeDecl); in Emit()
1403 DeclRefExpr DRE(Self, /*is enclosing local*/ (CurFuncDecl != CurCodeDecl), in LoadObjCSelf()
H A DCGExpr.cpp1934 assert(isa<BlockDecl>(CurCodeDecl)); in EmitDeclRefLValue()
2090 if (CurCodeDecl && isa<BlockDecl>(CurCodeDecl)) { in EmitPredefinedLValue()
2633 assert(cast<CXXMethodDecl>(CurCodeDecl)->getParent()->isLambda()); in EmitLValueForLambdaField()
2634 assert(cast<CXXMethodDecl>(CurCodeDecl)->getParent() == Field->getParent()); in EmitLValueForLambdaField()
H A DCGDecl.cpp1721 const ObjCMethodDecl *method = cast<ObjCMethodDecl>(CurCodeDecl); in EmitParmDecl()
H A DCodeGenFunction.h146 const Decl *CurCodeDecl; variable
H A DCGObjCGNU.cpp657 if (isa<ObjCMethodDecl>(CGF.CurCodeDecl)) { in LookupIMP()