Lines Matching defs:GD

51   bool HasThisReturn(GlobalDecl GD) const override;
52 bool hasMostDerivedReturn(GlobalDecl GD) const override;
60 bool isThisCompleteObject(GlobalDecl GD) const override {
63 if (isa<CXXDestructorDecl>(GD.getDecl())) {
64 switch (GD.getDtorType()) {
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,
299 assert(GD.getDtorType() == Dtor_Deleting &&
358 GlobalDecl GD, bool ReturnAdjustment) override {
363 getContext().GetGVALinkageForFunction(cast<FunctionDecl>(GD.getDecl()));
554 CharUnits getVirtualFunctionPrologueThisAdjustment(GlobalDecl GD);
1066 bool MicrosoftCXXABI::HasThisReturn(GlobalDecl GD) const {
1067 return isa<CXXConstructorDecl>(GD.getDecl());
1070 static bool isDeletingDtor(GlobalDecl GD) {
1071 return isa<CXXDestructorDecl>(GD.getDecl()) &&
1072 GD.getDtorType() == Dtor_Deleting;
1075 bool MicrosoftCXXABI::hasMostDerivedReturn(GlobalDecl GD) const {
1076 return isDeletingDtor(GD);
1263 MicrosoftCXXABI::getVirtualFunctionPrologueThisAdjustment(GlobalDecl GD) {
1264 GD = GD.getCanonicalDecl();
1265 const CXXMethodDecl *MD = cast<CXXMethodDecl>(GD.getDecl());
1267 GlobalDecl LookupGD = GD;
1271 if (GD.getDtorType() == Dtor_Complete)
1300 CodeGenFunction &CGF, GlobalDecl GD, Address This,
1305 CharUnits Adjustment = getVirtualFunctionPrologueThisAdjustment(GD);
1314 GD = GD.getCanonicalDecl();
1315 const CXXMethodDecl *MD = cast<CXXMethodDecl>(GD.getDecl());
1317 GlobalDecl LookupGD = GD;
1321 if (GD.getDtorType() == Dtor_Complete)
1336 if (isa<CXXDestructorDecl>(MD) && GD.getDtorType() == Dtor_Base)
1401 CodeGenFunction &CGF, GlobalDecl GD, llvm::Value *This) {
1407 CharUnits Adjustment = getVirtualFunctionPrologueThisAdjustment(GD);
1790 getClassAtVTableLocation(ASTContext &Ctx, GlobalDecl GD,
1794 RD = cast<CXXMethodDecl>(GD.getDecl())->getParent();
1800 GlobalDecl GD,
1804 GD = GD.getCanonicalDecl();
1809 adjustThisArgumentForVirtualFunctionCall(CGF, GD, This, true);
1811 auto *MethodDecl = cast<CXXMethodDecl>(GD.getDecl());
1815 CGM.getMicrosoftVTableContext().getMethodVFTableLocation(GD);
1817 CGF.EmitVTablePtrCheck(getClassAtVTableLocation(getContext(), GD, ML),
1833 GlobalDecl GD(Dtor, Dtor_Deleting);
1838 CGF, GD, This, Ty, CE ? CE->getLocStart() : SourceLocation());
1845 This = adjustThisArgumentForVirtualFunctionCall(CGF, GD, This, true);