Lines Matching defs:GD
2876 llvm::Constant *CodeGenModule::getRawFunctionPointer(GlobalDecl GD,
2878 const FunctionDecl *FD = cast<FunctionDecl>(GD.getDecl());
2884 llvm::Constant *V = GetAddrOfFunction(GD, Ty);
2889 GlobalDecl GD) {
2890 const FunctionDecl *FD = cast<FunctionDecl>(GD.getDecl());
2891 llvm::Constant *V = CGF.CGM.getFunctionPointer(GD);
3171 if (const auto *GD = dyn_cast<MSGuidDecl>(ND))
3172 return MakeAddrLValue(CGM.GetAddrOfMSGuidDecl(GD), T,
5494 static CGCallee EmitDirectCallee(CodeGenFunction &CGF, GlobalDecl GD) {
5495 const FunctionDecl *FD = cast<FunctionDecl>(GD.getDecl());
5501 StringRef Ident = CGF.CGM.getMangledName(GD);
5514 llvm::Constant *CalleePtr = CGF.CGM.getRawFunctionPointer(GD);
5524 return CGCallee::forDirect(Clone, GD);
5537 llvm::Constant *CalleePtr = CGF.CGM.getRawFunctionPointer(GD);
5543 return CGCallee::forDirect(CalleePtr, GD);
5588 GlobalDecl GD;
5591 GD = GlobalDecl(VD);
5593 CGCalleeInfo calleeInfo(functionType->getAs<FunctionProtoType>(), GD);