Home
last modified time | relevance | path

Searched refs:CurGD (Results 1 – 11 of 11) sorted by relevance

/external/clang/lib/CodeGen/
DCGVTables.cpp191 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()
DCGClass.cpp321 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 …]
DCGCXXABI.cpp154 const CXXMethodDecl *MD = cast<CXXMethodDecl>(CGF.CurGD.getDecl()); in buildThisParam()
DMicrosoftCXXABI.cpp1272 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()
DItaniumCXXABI.cpp1237 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()
DCGBlocks.cpp707 = CodeGenFunction(CGM, true).GenerateBlockFunction(CurGD, blockInfo, in EmitBlockLiteral()
1113 CurGD = GD; in GenerateBlockFunction()
DCodeGenFunction.cpp833 CurGD = GD; in GenerateCode()
DCGCall.cpp1915 adjustThisParameterInVirtualFunctionPrologue(*this, CurGD, V); in EmitFunctionProlog()
2371 if (auto RetNNAttr = CurGD.getDecl()->getAttr<ReturnsNonNullAttr>()) { in EmitFunctionEpilog()
DCGExprCXX.cpp442 Type = CurGD.getCtorType(); in EmitCXXConstructExpr()
DCodeGenFunction.h153 GlobalDecl CurGD; variable
DCGObjC.cpp474 CurGD = OMD; in StartObjCMethod()