Searched refs:CurFuncDecl (Results 1 – 9 of 9) sorted by relevance
395 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()
242 CurFuncDecl = MD; in StartThunk()249 CurFuncDecl = nullptr; in FinishThunk()
348 assert(CGF && CGF->CurFuncDecl && isa<CXXMethodDecl>(CGF->CurFuncDecl) && in computeBlockInfo()350 QualType thisType = cast<CXXMethodDecl>(CGF->CurFuncDecl)->getThisType(C); in computeBlockInfo()
151 const Decl *CurFuncDecl; variable1084 : CGF(CGF), OldCurGD(CGF.CurGD), OldCurFuncDecl(CGF.CurFuncDecl), in InlinedInheritingConstructorScope()1095 CGF.CurFuncDecl = CGF.CurCodeDecl = in InlinedInheritingConstructorScope()1108 CGF.CurFuncDecl = OldCurFuncDecl; in ~InlinedInheritingConstructorScope()
452 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()
110 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()
3298 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()
1445 dyn_cast_or_null<ObjCMethodDecl>(CGF.CurFuncDecl)) in IsIvarOffsetKnownIdempotent()
969 dyn_cast_or_null<FunctionDecl>(CGF.CurFuncDecl)) { in emitUpdateLocation()