Lines Matching refs:GD
78 bool isThisCompleteObject(GlobalDecl GD) const override { in isThisCompleteObject()
81 if (isa<CXXDestructorDecl>(GD.getDecl())) { in isThisCompleteObject()
82 switch (GD.getDtorType()) { in isThisCompleteObject()
95 if (isa<CXXConstructorDecl>(GD.getDecl())) { in isThisCompleteObject()
96 switch (GD.getCtorType()) { in isThisCompleteObject()
277 CGCallee getVirtualFunctionPointer(CodeGenFunction &CGF, GlobalDecl GD,
292 void setThunkLinkage(llvm::Function *Thunk, bool ForVTable, GlobalDecl GD, in setThunkLinkage() argument
298 CGM.setGVProperties(Thunk, GD); in setThunkLinkage()
347 bool NeedsVTTParameter(GlobalDecl GD) override;
439 bool HasThisReturn(GlobalDecl GD) const override { in HasThisReturn()
440 return (isa<CXXConstructorDecl>(GD.getDecl()) || ( in HasThisReturn()
441 isa<CXXDestructorDecl>(GD.getDecl()) && in HasThisReturn()
442 GD.getDtorType() != Dtor_Deleting)); in HasThisReturn()
476 bool HasThisReturn(GlobalDecl GD) const override { in HasThisReturn()
477 return isa<CXXConstructorDecl>(GD.getDecl()) || in HasThisReturn()
478 (isa<CXXDestructorDecl>(GD.getDecl()) && in HasThisReturn()
479 GD.getDtorType() != Dtor_Deleting); in HasThisReturn()
1557 GlobalDecl GD(DD, Type); in EmitDestructorCall() local
1558 llvm::Value *VTT = CGF.GetVTTParameter(GD, ForVirtualBase, Delegating); in EmitDestructorCall()
1567 CGM.getAddrOfCXXStructor(DD, getFromDtorType(Type)), GD); in EmitDestructorCall()
1716 GlobalDecl GD, in getVirtualFunctionPointer() argument
1721 auto *MethodDecl = cast<CXXMethodDecl>(GD.getDecl()); in getVirtualFunctionPointer()
1724 uint64_t VTableIndex = CGM.getItaniumVTableContext().getMethodVTableIndex(GD); in getVirtualFunctionPointer()
1753 CGCallee Callee(GD, VFunc); in getVirtualFunctionPointer()
2640 bool ItaniumCXXABI::NeedsVTTParameter(GlobalDecl GD) { in NeedsVTTParameter() argument
2641 const CXXMethodDecl *MD = cast<CXXMethodDecl>(GD.getDecl()); in NeedsVTTParameter()
2648 if (isa<CXXConstructorDecl>(MD) && GD.getCtorType() == Ctor_Base) in NeedsVTTParameter()
2652 if (isa<CXXDestructorDecl>(MD) && GD.getDtorType() == Dtor_Base) in NeedsVTTParameter()