Lines Matching defs:GD

402   void addDeferredDeclToEmit(GlobalDecl GD) {
403 DeferredDeclsToEmit.emplace_back(GD);
404 addEmittedDeferredDecl(GD);
410 void addEmittedDeferredDecl(GlobalDecl GD) {
417 if (llvm::isa<FunctionDecl>(GD.getDecl()))
418 L = getFunctionLinkage(GD);
419 else if (auto *VD = llvm::dyn_cast<VarDecl>(GD.getDecl()))
425 EmittedDeferredDecls[getMangledName(GD)] = GD;
611 bool shouldEmitFunction(GlobalDecl GD);
929 void setGVProperties(llvm::GlobalValue *GV, GlobalDecl GD) const;
950 llvm::Constant *GetAddrOfGlobal(GlobalDecl GD,
999 llvm::Constant *GetAddrOfFunction(GlobalDecl GD, llvm::Type *Ty = nullptr,
1011 llvm::Constant *getRawFunctionPointer(GlobalDecl GD,
1017 llvm::Constant *getFunctionPointer(GlobalDecl GD, llvm::Type *Ty = nullptr);
1055 uint16_t getPointerAuthDeclDiscriminator(GlobalDecl GD);
1077 ConstantAddress GetAddrOfMSGuidDecl(const MSGuidDecl *GD);
1089 GlobalDecl GD);
1206 llvm::Function *codegenCXXStructor(GlobalDecl GD);
1210 getAddrOfCXXStructor(GlobalDecl GD, const CGFunctionInfo *FnInfo = nullptr,
1214 return cast<llvm::Constant>(getAddrAndTypeOfCXXStructor(GD, FnInfo, FnType,
1221 GlobalDecl GD, const CGFunctionInfo *FnInfo = nullptr,
1372 void SetInternalFunctionAttributes(GlobalDecl GD, llvm::Function *F,
1376 void SetLLVMFunctionAttributes(GlobalDecl GD, const CGFunctionInfo &Info,
1428 StringRef getMangledName(GlobalDecl GD);
1429 StringRef getBlockMangledName(GlobalDecl GD, const BlockDecl *BD);
1450 llvm::GlobalVariable::LinkageTypes getFunctionLinkage(GlobalDecl GD);
1452 void setFunctionLinkage(GlobalDecl GD, llvm::Function *F) {
1453 F->setLinkage(getFunctionLinkage(GD));
1545 void SetCommonAttributes(GlobalDecl GD, llvm::GlobalValue *GV);
1809 void AddDeferredMultiVersionResolverToEmit(GlobalDecl GD);
1816 llvm::Constant *GetOrCreateMultiVersionResolver(GlobalDecl GD);
1823 void UpdateMultiVersionNames(GlobalDecl GD, const FunctionDecl *FD,
1826 bool GetCPUAndFeaturesAttributes(GlobalDecl GD,
1829 void setNonAliasAttributes(GlobalDecl GD, llvm::GlobalObject *GO);
1832 void SetFunctionAttributes(GlobalDecl GD, llvm::Function *F,
1837 void EmitGlobalFunctionDefinition(GlobalDecl GD, llvm::GlobalValue *GV);
1838 void EmitMultiVersionFunctionDefinition(GlobalDecl GD, llvm::GlobalValue *GV);
1843 void EmitAliasDefinition(GlobalDecl GD);
1844 void emitIFuncDefinition(GlobalDecl GD);
1845 void emitCPUDispatchDefinition(GlobalDecl GD);