Searched refs:CurGD (Results 1 – 11 of 11) sorted by relevance
/external/clang/lib/CodeGen/ |
D | CGVTables.cpp | 191 assert(!CurGD.getDecl() && "CurGD was already set!"); in StartThunk() 192 CurGD = GD; in StartThunk() 226 assert(isa<CXXMethodDecl>(CurGD.getDecl()) && in EmitCallAndReturnForThunk() 228 const CXXMethodDecl *MD = cast<CXXMethodDecl>(CurGD.getDecl()); in EmitCallAndReturnForThunk() 253 CGM.getCXXABI().adjustCallArgsForDestructorThunk(*this, CurGD, CallArgs); in EmitCallAndReturnForThunk() 280 QualType ResultType = CGM.getCXXABI().HasThisReturn(CurGD) in EmitCallAndReturnForThunk() 282 : CGM.getCXXABI().hasMostDerivedReturn(CurGD) in EmitCallAndReturnForThunk()
|
D | CGClass.cpp | 321 assert(!CGM.getCXXABI().NeedsVTTParameter(CurGD) && in GetVTTParameter() 336 if (CGM.getCXXABI().NeedsVTTParameter(CurGD)) { in GetVTTParameter() 713 Prologue ? cast<CXXConstructorDecl>(CurGD.getDecl())->getParent() in EmitAsanPrologueOrEpilogue() 714 : cast<CXXDestructorDecl>(CurGD.getDecl())->getParent(); in EmitAsanPrologueOrEpilogue() 775 const CXXConstructorDecl *Ctor = cast<CXXConstructorDecl>(CurGD.getDecl()); in EmitConstructorBody() 776 CXXCtorType CtorType = CurGD.getCtorType(); in EmitConstructorBody() 1352 const CXXDestructorDecl *Dtor = cast<CXXDestructorDecl>(CurGD.getDecl()); in EmitDestructorBody() 1353 CXXDtorType DtorType = CurGD.getDtorType(); in EmitDestructorBody() 1441 const CXXMethodDecl *AssignOp = cast<CXXMethodDecl>(CurGD.getDecl()); in emitImplicitAssignmentOperatorBody() 1845 if (CGM.getCXXABI().NeedsVTTParameter(CurGD)) { in EmitDelegateCXXConstructorCall() [all …]
|
D | CGCXXABI.cpp | 154 const CXXMethodDecl *MD = cast<CXXMethodDecl>(CGF.CurGD.getDecl()); in buildThisParam()
|
D | MicrosoftCXXABI.cpp | 1272 const CXXMethodDecl *MD = cast<CXXMethodDecl>(CGF.CurGD.getDecl()); in addImplicitStructorParams() 1277 CGF.CurGD.getDecl()->getLocation(), in addImplicitStructorParams() 1288 } else if (isDeletingDtor(CGF.CurGD)) { in addImplicitStructorParams() 1291 CGF.CurGD.getDecl()->getLocation(), in addImplicitStructorParams() 1332 if (HasThisReturn(CGF.CurGD)) in EmitInstanceFunctionProlog() 1334 else if (hasMostDerivedReturn(CGF.CurGD)) in EmitInstanceFunctionProlog() 1338 const CXXMethodDecl *MD = cast<CXXMethodDecl>(CGF.CurGD.getDecl()); in EmitInstanceFunctionProlog() 1348 if (isDeletingDtor(CGF.CurGD)) { in EmitInstanceFunctionProlog() 1703 CGF.CurGD = GlobalDecl(MD); in EmitVirtualMemPtrThunk() 3362 CGF.CurGD = GlobalDecl(CD, Ctor_Complete); in getAddrOfCXXCtorClosure()
|
D | ItaniumCXXABI.cpp | 1237 const CXXMethodDecl *MD = cast<CXXMethodDecl>(CGF.CurGD.getDecl()); in addImplicitStructorParams() 1241 if (NeedsVTTParameter(CGF.CurGD)) { in addImplicitStructorParams() 1272 if (HasThisReturn(CGF.CurGD)) in EmitInstanceFunctionProlog() 1360 bool NeedsVTTParam = CGM.getCXXABI().NeedsVTTParameter(CGF.CurGD); in getVTableAddressPointInStructor() 1544 if (!isa<CXXDestructorDecl>(CGF.CurGD.getDecl())) in EmitReturnFromThunk()
|
D | CGBlocks.cpp | 707 = CodeGenFunction(CGM, true).GenerateBlockFunction(CurGD, blockInfo, in EmitBlockLiteral() 1113 CurGD = GD; in GenerateBlockFunction()
|
D | CodeGenFunction.cpp | 833 CurGD = GD; in GenerateCode()
|
D | CGCall.cpp | 1915 adjustThisParameterInVirtualFunctionPrologue(*this, CurGD, V); in EmitFunctionProlog() 2371 if (auto RetNNAttr = CurGD.getDecl()->getAttr<ReturnsNonNullAttr>()) { in EmitFunctionEpilog()
|
D | CGExprCXX.cpp | 442 Type = CurGD.getCtorType(); in EmitCXXConstructExpr()
|
D | CodeGenFunction.h | 153 GlobalDecl CurGD; variable
|
D | CGObjC.cpp | 474 CurGD = OMD; in StartObjCMethod()
|