Lines Matching refs:GD
51 bool HasThisReturn(GlobalDecl GD) const override;
52 bool hasMostDerivedReturn(GlobalDecl GD) const override;
60 bool isThisCompleteObject(GlobalDecl GD) const override { in isThisCompleteObject()
63 if (isa<CXXDestructorDecl>(GD.getDecl())) { in isThisCompleteObject()
64 switch (GD.getDtorType()) { in isThisCompleteObject()
235 adjustThisArgumentForVirtualFunctionCall(CodeGenFunction &CGF, GlobalDecl GD,
243 CodeGenFunction &CGF, GlobalDecl GD, llvm::Value *This) override;
287 llvm::Value *getVirtualFunctionPointer(CodeGenFunction &CGF, GlobalDecl GD,
297 void adjustCallArgsForDestructorThunk(CodeGenFunction &CGF, GlobalDecl GD, in adjustCallArgsForDestructorThunk() argument
299 assert(GD.getDtorType() == Dtor_Deleting && in adjustCallArgsForDestructorThunk()
358 GlobalDecl GD, bool ReturnAdjustment) override { in setThunkLinkage() argument
363 getContext().GetGVALinkageForFunction(cast<FunctionDecl>(GD.getDecl())); in setThunkLinkage()
554 CharUnits getVirtualFunctionPrologueThisAdjustment(GlobalDecl GD) override;
1065 bool MicrosoftCXXABI::HasThisReturn(GlobalDecl GD) const { in HasThisReturn()
1066 return isa<CXXConstructorDecl>(GD.getDecl()); in HasThisReturn()
1069 static bool isDeletingDtor(GlobalDecl GD) { in isDeletingDtor() argument
1070 return isa<CXXDestructorDecl>(GD.getDecl()) && in isDeletingDtor()
1071 GD.getDtorType() == Dtor_Deleting; in isDeletingDtor()
1074 bool MicrosoftCXXABI::hasMostDerivedReturn(GlobalDecl GD) const { in hasMostDerivedReturn()
1075 return isDeletingDtor(GD); in hasMostDerivedReturn()
1260 MicrosoftCXXABI::getVirtualFunctionPrologueThisAdjustment(GlobalDecl GD) { in getVirtualFunctionPrologueThisAdjustment() argument
1261 GD = GD.getCanonicalDecl(); in getVirtualFunctionPrologueThisAdjustment()
1262 const CXXMethodDecl *MD = cast<CXXMethodDecl>(GD.getDecl()); in getVirtualFunctionPrologueThisAdjustment()
1264 GlobalDecl LookupGD = GD; in getVirtualFunctionPrologueThisAdjustment()
1268 if (GD.getDtorType() == Dtor_Complete) in getVirtualFunctionPrologueThisAdjustment()
1297 CodeGenFunction &CGF, GlobalDecl GD, Address This, in adjustThisArgumentForVirtualFunctionCall() argument
1302 CharUnits Adjustment = getVirtualFunctionPrologueThisAdjustment(GD); in adjustThisArgumentForVirtualFunctionCall()
1311 GD = GD.getCanonicalDecl(); in adjustThisArgumentForVirtualFunctionCall()
1312 const CXXMethodDecl *MD = cast<CXXMethodDecl>(GD.getDecl()); in adjustThisArgumentForVirtualFunctionCall()
1314 GlobalDecl LookupGD = GD; in adjustThisArgumentForVirtualFunctionCall()
1318 if (GD.getDtorType() == Dtor_Complete) in adjustThisArgumentForVirtualFunctionCall()
1333 if (isa<CXXDestructorDecl>(MD) && GD.getDtorType() == Dtor_Base) in adjustThisArgumentForVirtualFunctionCall()
1398 CodeGenFunction &CGF, GlobalDecl GD, llvm::Value *This) { in adjustThisParameterInVirtualFunctionPrologue() argument
1404 CharUnits Adjustment = getVirtualFunctionPrologueThisAdjustment(GD); in adjustThisParameterInVirtualFunctionPrologue()
1789 getClassAtVTableLocation(ASTContext &Ctx, GlobalDecl GD, in getClassAtVTableLocation() argument
1793 RD = cast<CXXMethodDecl>(GD.getDecl())->getParent(); in getClassAtVTableLocation()
1799 GlobalDecl GD, in getVirtualFunctionPointer() argument
1803 GD = GD.getCanonicalDecl(); in getVirtualFunctionPointer()
1808 adjustThisArgumentForVirtualFunctionCall(CGF, GD, This, true); in getVirtualFunctionPointer()
1810 auto *MethodDecl = cast<CXXMethodDecl>(GD.getDecl()); in getVirtualFunctionPointer()
1814 CGM.getMicrosoftVTableContext().getMethodVFTableLocation(GD); in getVirtualFunctionPointer()
1818 getClassAtVTableLocation(getContext(), GD, ML), VTable, in getVirtualFunctionPointer()
1823 getClassAtVTableLocation(getContext(), GD, ML), VTable, Loc); in getVirtualFunctionPointer()
1839 GlobalDecl GD(Dtor, Dtor_Deleting); in EmitVirtualDestructorCall() local
1844 CGF, GD, This, Ty, CE ? CE->getLocStart() : SourceLocation()); in EmitVirtualDestructorCall()
1851 This = adjustThisArgumentForVirtualFunctionCall(CGF, GD, This, true); in EmitVirtualDestructorCall()