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

Lines Matching refs:GD

77   bool isThisCompleteObject(GlobalDecl GD) const override {
80 if (isa<CXXDestructorDecl>(GD.getDecl())) {
81 switch (GD.getDtorType()) {
94 if (isa<CXXConstructorDecl>(GD.getDecl())) {
95 switch (GD.getCtorType()) {
207 buildStructorSignature(GlobalDecl GD,
271 CGCallee getVirtualFunctionPointer(CodeGenFunction &CGF, GlobalDecl GD,
285 void setThunkLinkage(llvm::Function *Thunk, bool ForVTable, GlobalDecl GD,
291 CGM.setGVProperties(Thunk, GD);
377 bool NeedsVTTParameter(GlobalDecl GD) override;
410 void emitCXXStructor(GlobalDecl GD) override;
469 bool HasThisReturn(GlobalDecl GD) const override {
470 return (isa<CXXConstructorDecl>(GD.getDecl()) || (
471 isa<CXXDestructorDecl>(GD.getDecl()) &&
472 GD.getDtorType() != Dtor_Deleting));
504 bool HasThisReturn(GlobalDecl GD) const override {
505 return isa<CXXConstructorDecl>(GD.getDecl()) ||
506 (isa<CXXDestructorDecl>(GD.getDecl()) &&
507 GD.getDtorType() != Dtor_Deleting);
519 bool HasThisReturn(GlobalDecl GD) const override {
520 return isa<CXXConstructorDecl>(GD.getDecl()) ||
521 (isa<CXXDestructorDecl>(GD.getDecl()) &&
522 GD.getDtorType() != Dtor_Deleting);
1608 ItaniumCXXABI::buildStructorSignature(GlobalDecl GD,
1616 if ((isa<CXXConstructorDecl>(GD.getDecl()) ? GD.getCtorType() == Ctor_Base
1617 : GD.getDtorType() == Dtor_Base) &&
1618 cast<CXXMethodDecl>(GD.getDecl())->getParent()->getNumVBases() != 0) {
1705 GlobalDecl GD(DD, Type);
1706 return CGF.GetVTTParameter(GD, ForVirtualBase, Delegating);
1714 GlobalDecl GD(DD, Type);
1724 Callee = CGCallee::forDirect(CGM.getAddrOfCXXStructor(GD), GD);
1726 CGF.EmitCXXDestructorCall(GD, Callee, This.getPointer(), ThisTy, VTT, VTTTy,
1878 GlobalDecl GD,
1882 auto *MethodDecl = cast<CXXMethodDecl>(GD.getDecl());
1886 uint64_t VTableIndex = CGM.getItaniumVTableContext().getMethodVTableIndex(GD);
1929 CGCallee Callee(GD, VFunc);
1942 GlobalDecl GD(Dtor, DtorType);
1944 &CGM.getTypes().arrangeCXXStructorDeclaration(GD);
1946 CGCallee Callee = CGCallee::forVirtual(CE, GD, This, Ty);
1955 CGF.EmitCXXDestructorCall(GD, Callee, This.getPointer(), ThisTy, nullptr,
2867 bool ItaniumCXXABI::NeedsVTTParameter(GlobalDecl GD) {
2868 const CXXMethodDecl *MD = cast<CXXMethodDecl>(GD.getDecl());
2875 if (isa<CXXConstructorDecl>(MD) && GD.getCtorType() == Ctor_Base)
2879 if (isa<CXXDestructorDecl>(MD) && GD.getDtorType() == Dtor_Base)
4106 void ItaniumCXXABI::emitCXXStructor(GlobalDecl GD) {
4107 auto *MD = cast<CXXMethodDecl>(GD.getDecl());
4113 if (CD ? GD.getCtorType() == Ctor_Complete
4114 : GD.getDtorType() == Dtor_Complete) {
4117 BaseDecl = GD.getWithCtorType(Ctor_Base);
4119 BaseDecl = GD.getWithDtorType(Dtor_Base);
4122 emitConstructorDestructorAlias(CGM, GD, BaseDecl);
4127 StringRef MangledName = CGM.getMangledName(GD);
4138 if (DD && GD.getDtorType() == Dtor_Base &&
4155 llvm::Function *Fn = CGM.codegenCXXStructor(GD);