/external/llvm-project/clang/lib/CodeGen/ |
D | CodeGenABITypes.cpp | 124 CGF.CurCodeDecl = D; in getCXXDestructorImplicitParam()
|
D | CodeGenFunction.cpp | 403 EmitEndEHSpec(CurCodeDecl); in FinishFunction() 659 (SanOpts.has(SanitizerKind::ReturnsNonnullAttribute) && CurCodeDecl && in requiresReturnValueCheck() 660 CurCodeDecl->getAttr<ReturnsNonNullAttr>()); in requiresReturnValueCheck() 704 CurCodeDecl = D; in StartFunction() 910 CurCodeDecl && CurCodeDecl->getAttr<ReturnsNonNullAttr>())) in StartFunction() 1076 EmitStartEHSpec(CurCodeDecl); in StartFunction() 1081 if (getLangOpts().OpenMP && CurCodeDecl) in StartFunction() 1082 CGM.getOpenMPRuntime().emitFunctionProlog(*this, CurCodeDecl); in StartFunction() 2352 const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(CurCodeDecl); in checkTargetFeatures()
|
D | CGCall.cpp | 2414 if (CurCodeDecl && CurCodeDecl->hasAttr<NakedAttr>()) in EmitFunctionProlog() 2422 if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(CurCodeDecl)) { in EmitFunctionProlog() 2552 if (getNonNullAttr(CurCodeDecl, PVD, PVD->getType(), in EmitFunctionProlog() 2893 dyn_cast_or_null<ObjCMethodDecl>(CGF.CurCodeDecl); in tryRemoveRetainOfSelf() 3210 if (CurCodeDecl && CurCodeDecl->hasAttr<NakedAttr>()) { in EmitFunctionEpilog() 3307 if (auto *FD = dyn_cast<FunctionDecl>(CurCodeDecl)) in EmitFunctionEpilog() 3309 else if (auto *MD = dyn_cast<ObjCMethodDecl>(CurCodeDecl)) in EmitFunctionEpilog() 3311 else if (isa<BlockDecl>(CurCodeDecl)) in EmitFunctionEpilog() 3387 if (!CurCodeDecl) in EmitReturnValueCheck() 3397 RetNNAttr = CurCodeDecl->getAttr<ReturnsNonNullAttr>(); in EmitReturnValueCheck() [all …]
|
D | CGCXXABI.cpp | 27 Diags.Report(CGF.getContext().getFullLoc(CGF.CurCodeDecl->getLocation()), in ErrorUnsupportedABI()
|
D | CGClass.cpp | 467 const CXXRecordDecl *RD = cast<CXXMethodDecl>(CurCodeDecl)->getParent(); in GetVTTParameter() 518 cast<CXXMethodDecl>(CGF.CurCodeDecl)->getParent(); in Emit() 1584 const CXXDestructorDecl *Dtor = cast<CXXDestructorDecl>(CGF.CurCodeDecl); in Emit() 1602 const CXXDestructorDecl *Dtor = cast<CXXDestructorDecl>(CGF.CurCodeDecl); in EmitConditionalDtorDeleteCall() 2228 const auto *OuterCtor = cast<CXXConstructorDecl>(CurCodeDecl); in EmitInheritedCXXConstructorCall() 2916 CGM.ErrorUnsupported(CurCodeDecl, "lambda conversion to variadic function"); in EmitLambdaBlockInvokeBody()
|
D | CGVTables.cpp | 279 CurCodeDecl = MD; in StartThunk() 286 CurCodeDecl = nullptr; in FinishThunk()
|
D | CGException.cpp | 236 const auto *FD = CGF.CurCodeDecl; in get() 1183 doImplicitRethrow = isa<CXXDestructorDecl>(CurCodeDecl) || in ExitCXXTryStmt() 1184 isa<CXXConstructorDecl>(CurCodeDecl); in ExitCXXTryStmt()
|
D | CGExpr.cpp | 1534 auto *MD = dyn_cast_or_null<CXXMethodDecl>(CurCodeDecl); in tryEmitAsConstant() 2640 dyn_cast_or_null<DeclContext>(CGF.CurCodeDecl); in canEmitSpuriousReferenceToVariable() 2758 assert(isa<BlockDecl>(CurCodeDecl)); in EmitDeclRefLValue() 2947 if (auto *BD = dyn_cast_or_null<BlockDecl>(CurCodeDecl)) { in EmitPredefinedLValue() 4178 assert(cast<CXXMethodDecl>(CurCodeDecl)->getParent()->isLambda()); in EmitLValueForLambdaField() 4179 assert(cast<CXXMethodDecl>(CurCodeDecl)->getParent() == Field->getParent()); in EmitLValueForLambdaField()
|
D | CGStmtOpenMP.cpp | 65 (CGF.CurCodeDecl && isa<BlockDecl>(CGF.CurCodeDecl) && in isCapturedVar() 66 cast<BlockDecl>(CGF.CurCodeDecl)->capturesVariable(VD)); in isCapturedVar() 199 (CGF.CurCodeDecl && isa<BlockDecl>(CGF.CurCodeDecl) && in isCapturedVar() 200 cast<BlockDecl>(CGF.CurCodeDecl)->capturesVariable(VD)); in isCapturedVar() 278 (CurCodeDecl && isa<BlockDecl>(CurCodeDecl)); in EmitOMPSharedLValue()
|
D | CGObjC.cpp | 676 GetAddrOfLocalVar(cast<ObjCMethodDecl>(CurCodeDecl)->getSelfDecl()); in EmitObjCMessageExpr() 704 GetAddrOfLocalVar(cast<ObjCMethodDecl>(CurCodeDecl)->getSelfDecl()); in EmitObjCMessageExpr() 721 const ObjCMethodDecl *method = cast<ObjCMethodDecl>(CGF.CurCodeDecl); in Emit() 1693 /*is enclosing local*/ (CurFuncDecl != CurCodeDecl), in LoadObjCSelf()
|
D | CodeGenFunction.h | 308 const Decl *CurCodeDecl; 1584 OldCurCodeDecl(CGF.CurCodeDecl), 1594 CGF.CurFuncDecl = CGF.CurCodeDecl = 1608 CGF.CurCodeDecl = OldCurCodeDecl;
|
D | CGObjCGNU.cpp | 763 if (isa<ObjCMethodDecl>(CGF.CurCodeDecl)) { in LookupIMP()
|
D | MicrosoftCXXABI.cpp | 1626 if (ForVirtualBase && isa<CXXConstructorDecl>(CGF.CurCodeDecl)) { in EmitDestructorCall()
|
/external/clang/lib/CodeGen/ |
D | CGCall.cpp | 2075 if (CurCodeDecl && CurCodeDecl->hasAttr<NakedAttr>()) in EmitFunctionProlog() 2083 if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(CurCodeDecl)) { in EmitFunctionProlog() 2210 if (getNonNullAttr(CurCodeDecl, PVD, PVD->getType(), in EmitFunctionProlog() 2303 dyn_cast_or_null<CXXMethodDecl>(CurCodeDecl)) { in EmitFunctionProlog() 2549 dyn_cast_or_null<ObjCMethodDecl>(CGF.CurCodeDecl); in tryRemoveRetainOfSelf() 2667 if (CurCodeDecl && CurCodeDecl->hasAttr<NakedAttr>()) { in EmitFunctionEpilog() 2773 if (auto *FD = dyn_cast<FunctionDecl>(CurCodeDecl)) in EmitFunctionEpilog() 2775 else if (auto *MD = dyn_cast<ObjCMethodDecl>(CurCodeDecl)) in EmitFunctionEpilog() 2777 else if (isa<BlockDecl>(CurCodeDecl)) in EmitFunctionEpilog() 2834 if (CurCodeDecl && SanOpts.has(SanitizerKind::ReturnsNonnullAttribute)) { in EmitFunctionEpilog() [all …]
|
D | CGClass.cpp | 433 const CXXRecordDecl *RD = cast<CXXMethodDecl>(CurCodeDecl)->getParent(); in GetVTTParameter() 484 cast<CXXMethodDecl>(CGF.CurCodeDecl)->getParent(); in Emit() 1619 const CXXDestructorDecl *Dtor = cast<CXXDestructorDecl>(CGF.CurCodeDecl); in Emit() 1643 const CXXDestructorDecl *Dtor = cast<CXXDestructorDecl>(CGF.CurCodeDecl); in Emit() 2196 const auto *OuterCtor = cast<CXXConstructorDecl>(CurCodeDecl); in EmitInheritedCXXConstructorCall() 2955 if (cast<CXXMethodDecl>(CurCodeDecl)->isVariadic()) { in EmitLambdaToBlockPointerBody() 2958 CGM.ErrorUnsupported(CurCodeDecl, "lambda conversion to variadic function"); in EmitLambdaToBlockPointerBody()
|
D | CGCXXABI.cpp | 27 Diags.Report(CGF.getContext().getFullLoc(CGF.CurCodeDecl->getLocation()), in ErrorUnsupportedABI()
|
D | CGVTables.cpp | 241 CurCodeDecl = MD; in StartThunk() 248 CurCodeDecl = nullptr; in FinishThunk()
|
D | CGException.cpp | 219 return get(CGF.CGM, dyn_cast_or_null<FunctionDecl>(CGF.CurCodeDecl)); in get() 1036 doImplicitRethrow = isa<CXXDestructorDecl>(CurCodeDecl) || in ExitCXXTryStmt() 1037 isa<CXXConstructorDecl>(CurCodeDecl); in ExitCXXTryStmt()
|
D | CodeGenFunction.cpp | 332 EmitEndEHSpec(CurCodeDecl); in FinishFunction() 666 CurCodeDecl = D; in StartFunction() 836 EmitStartEHSpec(CurCodeDecl); in StartFunction()
|
D | CodeGenFunction.h | 153 const Decl *CurCodeDecl; variable 1085 OldCurCodeDecl(CGF.CurCodeDecl), in InlinedInheritingConstructorScope() 1095 CGF.CurFuncDecl = CGF.CurCodeDecl = in InlinedInheritingConstructorScope() 1109 CGF.CurCodeDecl = OldCurCodeDecl; in ~InlinedInheritingConstructorScope()
|
D | CGObjC.cpp | 445 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() 1439 DeclRefExpr DRE(Self, /*is enclosing local*/ (CurFuncDecl != CurCodeDecl), in LoadObjCSelf()
|
D | CGExpr.cpp | 2123 assert(isa<BlockDecl>(CurCodeDecl)); in EmitDeclRefLValue() 2293 if (CurCodeDecl && isa<BlockDecl>(CurCodeDecl)) { in EmitPredefinedLValue() 3275 assert(cast<CXXMethodDecl>(CurCodeDecl)->getParent()->isLambda()); in EmitLValueForLambdaField() 3276 assert(cast<CXXMethodDecl>(CurCodeDecl)->getParent() == Field->getParent()); in EmitLValueForLambdaField()
|
D | CGDecl.cpp | 1810 const ObjCMethodDecl *method = cast<ObjCMethodDecl>(CurCodeDecl); in EmitParmDecl()
|
D | CGStmtOpenMP.cpp | 52 (CGF.CurCodeDecl && isa<BlockDecl>(CGF.CurCodeDecl)); in isCapturedVar()
|
D | CGObjCGNU.cpp | 694 if (isa<ObjCMethodDecl>(CGF.CurCodeDecl)) { in LookupIMP()
|