Lines Matching defs:GD
335 CodeGenTypes::arrangeCXXStructorDeclaration(GlobalDecl GD) {
336 auto *MD = cast<CXXMethodDecl>(GD.getDecl());
341 const CXXRecordDecl *ThisType = getCXXABI().getThisArgumentTypeForMethod(GD);
350 PassParams = inheritingCtorHasParams(Inherited, GD.getCtorType());
360 getCXXABI().buildStructorSignature(GD, argTypes);
376 CanQualType resultType = getCXXABI().HasThisReturn(GD) ? argTypes.front()
377 : getCXXABI().hasMostDerivedReturn(GD)
439 GlobalDecl GD(D, CtorKind);
440 CanQualType ResultType = getCXXABI().HasThisReturn(GD) ? ArgTypes.front()
441 : getCXXABI().hasMostDerivedReturn(GD)
542 CodeGenTypes::arrangeGlobalDeclaration(GlobalDecl GD) {
544 const FunctionDecl *FD = cast<FunctionDecl>(GD.getDecl());
546 if (isa<CXXConstructorDecl>(GD.getDecl()) ||
547 isa<CXXDestructorDecl>(GD.getDecl()))
548 return arrangeCXXStructorDeclaration(GD);
1600 llvm::FunctionType *CodeGenTypes::GetFunctionType(GlobalDecl GD) {
1601 const CGFunctionInfo &FI = arrangeGlobalDeclaration(GD);
1733 llvm::Type *CodeGenTypes::GetFunctionTypeForVTable(GlobalDecl GD) {
1734 const CXXMethodDecl *MD = cast<CXXMethodDecl>(GD.getDecl());
1740 return GetFunctionType(GD);