Home
last modified time | relevance | path

Searched refs:CurFuncDecl (Results 1 – 9 of 9) sorted by relevance

/external/clang/lib/CodeGen/
DCodeGenFunction.cpp395 if (!CurFuncDecl || CurFuncDecl->hasAttr<NoInstrumentFunctionAttr>()) in ShouldInstrumentFunction()
670 CurFuncDecl = (D ? D->getNonClosureContext() : nullptr); in StartFunction()
1964 const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(CurFuncDecl); in checkTargetFeatures()
DCGVTables.cpp242 CurFuncDecl = MD; in StartThunk()
249 CurFuncDecl = nullptr; in FinishThunk()
DCGBlocks.cpp348 assert(CGF && CGF->CurFuncDecl && isa<CXXMethodDecl>(CGF->CurFuncDecl) && in computeBlockInfo()
350 QualType thisType = cast<CXXMethodDecl>(CGF->CurFuncDecl)->getThisType(C); in computeBlockInfo()
DCodeGenFunction.h151 const Decl *CurFuncDecl; variable
1084 : CGF(CGF), OldCurGD(CGF.CurGD), OldCurFuncDecl(CGF.CurFuncDecl), in InlinedInheritingConstructorScope()
1095 CGF.CurFuncDecl = CGF.CurCodeDecl = in InlinedInheritingConstructorScope()
1108 CGF.CurFuncDecl = OldCurFuncDecl; in ~InlinedInheritingConstructorScope()
DCGObjC.cpp452 const ObjCMethodDecl *OMD = cast<ObjCMethodDecl>(CurFuncDecl); in EmitObjCMessageExpr()
1438 VarDecl *Self = cast<ObjCMethodDecl>(CurFuncDecl)->getSelfDecl(); in LoadObjCSelf()
1439 DeclRefExpr DRE(Self, /*is enclosing local*/ (CurFuncDecl != CurCodeDecl), in LoadObjCSelf()
1445 const ObjCMethodDecl *OMD = cast<ObjCMethodDecl>(CurFuncDecl); in TypeOfSelfObject()
DCGClass.cpp110 assert(CurFuncDecl && "loading 'this' without a func declaration?"); in LoadCXXThisAddress()
111 assert(isa<CXXMethodDecl>(CurFuncDecl)); in LoadCXXThisAddress()
118 auto RD = cast<CXXMethodDecl>(CurFuncDecl)->getParent(); in LoadCXXThisAddress()
DCGStmtOpenMP.cpp3298 assert(CurFuncDecl && "No parent declaration for target region!"); in EmitOMPTargetDirective()
3302 if (auto *D = dyn_cast<CXXConstructorDecl>(CurFuncDecl)) in EmitOMPTargetDirective()
3304 else if (auto *D = dyn_cast<CXXDestructorDecl>(CurFuncDecl)) in EmitOMPTargetDirective()
3308 CGM.getMangledName(GlobalDecl(cast<FunctionDecl>(CurFuncDecl))); in EmitOMPTargetDirective()
DCGObjCMac.cpp1445 dyn_cast_or_null<ObjCMethodDecl>(CGF.CurFuncDecl)) in IsIvarOffsetKnownIdempotent()
DCGOpenMPRuntime.cpp969 dyn_cast_or_null<FunctionDecl>(CGF.CurFuncDecl)) { in emitUpdateLocation()