/external/llvm-project/clang/lib/CodeGen/ |
D | CodeGenABITypes.cpp | 125 CGF.CurFuncDecl = D; in getCXXDestructorImplicitParam()
|
D | CodeGenFunction.cpp | 168 assert((CGF.CurFuncDecl == nullptr || CGF.Builder.getIsFPConstrained() || in ConstructorHelper() 169 isa<CXXConstructorDecl>(CGF.CurFuncDecl) || in ConstructorHelper() 170 isa<CXXDestructorDecl>(CGF.CurFuncDecl) || in ConstructorHelper() 519 if (!CurFuncDecl || CurFuncDecl->hasAttr<NoInstrumentFunctionAttr>()) in ShouldInstrumentFunction() 708 CurFuncDecl = (D ? D->getNonClosureContext() : nullptr); in StartFunction() 1002 if (!CurFuncDecl || !CurFuncDecl->hasAttr<NoInstrumentFunctionAttr>()) { in StartFunction() 1172 if (CurFuncDecl) in StartFunction() 1173 if (const auto *VecWidth = CurFuncDecl->getAttr<MinVectorWidthAttr>()) in StartFunction()
|
D | CGObjCRuntime.cpp | 198 CGF.CurSEHParent = cast<NamedDecl>(CGF.CurFuncDecl); in EmitTryCatchStmt()
|
D | CGCUDANV.cpp | 242 EmittedKernels.push_back({CGF.CurFn, CGF.CurFuncDecl}); in emitDeviceStub() 292 CGM.Error(CGF.CurFuncDecl->getLocation(), in emitDeviceStubBodyNew()
|
D | CGVTables.cpp | 280 CurFuncDecl = MD; in StartThunk() 287 CurFuncDecl = nullptr; in FinishThunk()
|
D | CGClass.cpp | 129 assert(CurFuncDecl && "loading 'this' without a func declaration?"); in LoadCXXThisAddress() 130 assert(isa<CXXMethodDecl>(CurFuncDecl)); in LoadCXXThisAddress() 137 auto RD = cast<CXXMethodDecl>(CurFuncDecl)->getParent(); in LoadCXXThisAddress()
|
D | CGBlocks.cpp | 553 assert(CGF && CGF->CurFuncDecl && isa<CXXMethodDecl>(CGF->CurFuncDecl) && in computeBlockInfo() 555 QualType thisType = cast<CXXMethodDecl>(CGF->CurFuncDecl)->getThisType(); in computeBlockInfo()
|
D | CGObjC.cpp | 683 const ObjCMethodDecl *OMD = cast<ObjCMethodDecl>(CurFuncDecl); in EmitObjCMessageExpr() 1691 VarDecl *Self = cast<ObjCMethodDecl>(CurFuncDecl)->getSelfDecl(); in LoadObjCSelf() 1693 /*is enclosing local*/ (CurFuncDecl != CurCodeDecl), in LoadObjCSelf() 1699 const ObjCMethodDecl *OMD = cast<ObjCMethodDecl>(CurFuncDecl); in TypeOfSelfObject()
|
D | CGCall.cpp | 3367 if (CurFuncDecl && CurFuncDecl->hasAttr<CmseNSEntryAttr>()) { in EmitFunctionEpilog() 4869 if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(CurFuncDecl)) in EmitCall() 4934 if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(CurFuncDecl)) in EmitCall() 4963 if (const auto *FD = dyn_cast_or_null<FunctionDecl>(CurFuncDecl)) { in EmitCall()
|
D | CodeGenFunction.h | 306 const Decl *CurFuncDecl; 1583 : CGF(CGF), OldCurGD(CGF.CurGD), OldCurFuncDecl(CGF.CurFuncDecl), 1594 CGF.CurFuncDecl = CGF.CurCodeDecl = 1607 CGF.CurFuncDecl = OldCurFuncDecl;
|
D | CGStmtOpenMP.cpp | 5513 assert(CGF.CurFuncDecl && "No parent declaration for target region!"); in emitCommonOMPTargetDirective() 5517 if (const auto *D = dyn_cast<CXXConstructorDecl>(CGF.CurFuncDecl)) in emitCommonOMPTargetDirective() 5519 else if (const auto *D = dyn_cast<CXXDestructorDecl>(CGF.CurFuncDecl)) in emitCommonOMPTargetDirective() 5523 CGM.getMangledName(GlobalDecl(cast<FunctionDecl>(CGF.CurFuncDecl))); in emitCommonOMPTargetDirective()
|
D | ItaniumCXXABI.cpp | 1665 if (CGF.CurFuncDecl && CGF.CurFuncDecl->hasAttr<NakedAttr>()) in EmitInstanceFunctionProlog()
|
D | MicrosoftCXXABI.cpp | 1510 if (CGF.CurFuncDecl && CGF.CurFuncDecl->hasAttr<NakedAttr>()) in EmitInstanceFunctionProlog()
|
D | CGOpenMPRuntime.cpp | 1414 if (const auto *FD = dyn_cast_or_null<FunctionDecl>(CGF.CurFuncDecl)) in getIdentStringFromSourceLocation() 1429 if (const auto *FD = dyn_cast_or_null<FunctionDecl>(CGF.CurFuncDecl)) in emitUpdateLocation()
|
D | CGObjCMac.cpp | 1584 dyn_cast_or_null<ObjCMethodDecl>(CGF.CurFuncDecl)) in IsIvarOffsetKnownIdempotent()
|
D | CGBuiltin.cpp | 4750 if (const auto *XRayAttr = CurFuncDecl->getAttr<XRayInstrumentAttr>()) in EmitBuiltinExpr() 4784 if (const auto *XRayAttr = CurFuncDecl->getAttr<XRayInstrumentAttr>()) in EmitBuiltinExpr()
|
/external/clang/lib/CodeGen/ |
D | CodeGenFunction.cpp | 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()
|
D | CGVTables.cpp | 242 CurFuncDecl = MD; in StartThunk() 249 CurFuncDecl = nullptr; in FinishThunk()
|
D | CGBlocks.cpp | 348 assert(CGF && CGF->CurFuncDecl && isa<CXXMethodDecl>(CGF->CurFuncDecl) && in computeBlockInfo() 350 QualType thisType = cast<CXXMethodDecl>(CGF->CurFuncDecl)->getThisType(C); in computeBlockInfo()
|
D | CodeGenFunction.h | 151 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()
|
D | CGObjC.cpp | 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()
|
D | CGClass.cpp | 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()
|
D | CGStmtOpenMP.cpp | 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()
|
D | CGOpenMPRuntime.cpp | 969 dyn_cast_or_null<FunctionDecl>(CGF.CurFuncDecl)) { in emitUpdateLocation()
|
D | CGObjCMac.cpp | 1445 dyn_cast_or_null<ObjCMethodDecl>(CGF.CurFuncDecl)) in IsIvarOffsetKnownIdempotent()
|