• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/

Lines Matching refs:GD

52   bool HasThisReturn(GlobalDecl GD) const override;
53 bool hasMostDerivedReturn(GlobalDecl GD) const override;
61 bool isThisCompleteObject(GlobalDecl GD) const override {
64 if (isa<CXXDestructorDecl>(GD.getDecl())) {
65 switch (GD.getDtorType()) {
210 buildStructorSignature(GlobalDecl GD,
247 adjustThisArgumentForVirtualFunctionCall(CodeGenFunction &CGF, GlobalDecl GD,
303 CGCallee getVirtualFunctionPointer(CodeGenFunction &CGF, GlobalDecl GD,
312 void adjustCallArgsForDestructorThunk(CodeGenFunction &CGF, GlobalDecl GD,
314 assert(GD.getDtorType() == Dtor_Deleting &&
373 GlobalDecl GD, bool ReturnAdjustment) override {
375 getContext().GetGVALinkageForFunction(cast<FunctionDecl>(GD.getDecl()));
573 CharUnits getVirtualFunctionPrologueThisAdjustment(GlobalDecl GD) override;
690 void emitCXXStructor(GlobalDecl GD) override;
1054 bool MicrosoftCXXABI::HasThisReturn(GlobalDecl GD) const {
1055 return isa<CXXConstructorDecl>(GD.getDecl());
1058 static bool isDeletingDtor(GlobalDecl GD) {
1059 return isa<CXXDestructorDecl>(GD.getDecl()) &&
1060 GD.getDtorType() == Dtor_Deleting;
1063 bool MicrosoftCXXABI::hasMostDerivedReturn(GlobalDecl GD) const {
1064 return isDeletingDtor(GD);
1272 MicrosoftCXXABI::buildStructorSignature(GlobalDecl GD,
1276 if (isa<CXXDestructorDecl>(GD.getDecl()) &&
1277 GD.getDtorType() == Dtor_Deleting) {
1282 auto *CD = dyn_cast<CXXConstructorDecl>(GD.getDecl());
1364 MicrosoftCXXABI::getVirtualFunctionPrologueThisAdjustment(GlobalDecl GD) {
1365 const CXXMethodDecl *MD = cast<CXXMethodDecl>(GD.getDecl());
1370 if (GD.getDtorType() == Dtor_Complete)
1375 GD = GlobalDecl(DD, Dtor_Deleting);
1379 CGM.getMicrosoftVTableContext().getMethodVFTableLocation(GD);
1399 CodeGenFunction &CGF, GlobalDecl GD, Address This,
1404 CharUnits Adjustment = getVirtualFunctionPrologueThisAdjustment(GD);
1413 const CXXMethodDecl *MD = cast<CXXMethodDecl>(GD.getDecl());
1415 GlobalDecl LookupGD = GD;
1419 if (GD.getDtorType() == Dtor_Complete)
1434 if (isa<CXXDestructorDecl>(MD) && GD.getDtorType() == Dtor_Base)
1603 GlobalDecl GD(DD, Type);
1604 CGCallee Callee = CGCallee::forDirect(CGM.getAddrOfCXXStructor(GD), GD);
1621 CGF.EmitCXXDestructorCall(GD, Callee, This.getPointer(), ThisTy,
1892 GlobalDecl GD,
1900 adjustThisArgumentForVirtualFunctionCall(CGF, GD, This, true);
1902 auto *MethodDecl = cast<CXXMethodDecl>(GD.getDecl());
1906 MethodVFTableLocation ML = VFTContext.getMethodVFTableLocation(GD);
1934 CGCallee Callee(GD, VFunc);
1949 GlobalDecl GD(Dtor, Dtor_Deleting);
1951 &CGM.getTypes().arrangeCXXStructorDeclaration(GD);
1953 CGCallee Callee = CGCallee::forVirtual(CE, GD, This, Ty);
1967 This = adjustThisArgumentForVirtualFunctionCall(CGF, GD, This, true);
1968 RValue RV = CGF.EmitCXXDestructorCall(GD, Callee, This.getPointer(), ThisTy,
3901 void MicrosoftCXXABI::emitCXXStructor(GlobalDecl GD) {
3902 if (auto *ctor = dyn_cast<CXXConstructorDecl>(GD.getDecl())) {
3905 CGM.codegenCXXStructor(GD.getWithCtorType(Ctor_Complete));
3910 auto *dtor = cast<CXXDestructorDecl>(GD.getDecl());
3915 if (GD.getDtorType() == Dtor_Complete &&
3917 GD = GD.getWithDtorType(Dtor_Base);
3923 if (GD.getDtorType() == Dtor_Base && !CGM.TryEmitBaseDestructorAsAlias(dtor))
3926 llvm::Function *Fn = CGM.codegenCXXStructor(GD);