Lines Matching full:gd

354   void addDeferredDeclToEmit(GlobalDecl GD) {  in addDeferredDeclToEmit()  argument
355 DeferredDeclsToEmit.emplace_back(GD); in addDeferredDeclToEmit()
356 addEmittedDeferredDecl(GD); in addDeferredDeclToEmit()
362 void addEmittedDeferredDecl(GlobalDecl GD) { in addEmittedDeferredDecl() argument
363 if (!llvm::isa<FunctionDecl>(GD.getDecl())) in addEmittedDeferredDecl()
365 llvm::GlobalVariable::LinkageTypes L = getFunctionLinkage(GD); in addEmittedDeferredDecl()
368 EmittedDeferredDecls[getMangledName(GD)] = GD; in addEmittedDeferredDecl()
543 bool shouldEmitFunction(GlobalDecl GD);
852 void setGVProperties(llvm::GlobalValue *GV, GlobalDecl GD) const;
873 llvm::Constant *GetAddrOfGlobal(GlobalDecl GD,
922 llvm::Constant *GetAddrOfFunction(GlobalDecl GD, llvm::Type *Ty = nullptr,
935 ConstantAddress GetAddrOfMSGuidDecl(const MSGuidDecl *GD);
947 GlobalDecl GD);
1069 llvm::Function *codegenCXXStructor(GlobalDecl GD);
1073 getAddrOfCXXStructor(GlobalDecl GD, const CGFunctionInfo *FnInfo = nullptr,
1077 return cast<llvm::Constant>(getAddrAndTypeOfCXXStructor(GD, FnInfo, FnType,
1084 GlobalDecl GD, const CGFunctionInfo *FnInfo = nullptr,
1214 void SetInternalFunctionAttributes(GlobalDecl GD, llvm::Function *F,
1218 void SetLLVMFunctionAttributes(GlobalDecl GD, const CGFunctionInfo &Info,
1280 StringRef getMangledName(GlobalDecl GD);
1281 StringRef getBlockMangledName(GlobalDecl GD, const BlockDecl *BD);
1302 llvm::GlobalVariable::LinkageTypes getFunctionLinkage(GlobalDecl GD);
1304 void setFunctionLinkage(GlobalDecl GD, llvm::Function *F) { in setFunctionLinkage() argument
1305 F->setLinkage(getFunctionLinkage(GD)); in setFunctionLinkage()
1398 void SetCommonAttributes(GlobalDecl GD, llvm::GlobalValue *GV);
1568 llvm::Constant *GetOrCreateMultiVersionResolver(GlobalDecl GD);
1575 void UpdateMultiVersionNames(GlobalDecl GD, const FunctionDecl *FD,
1583 bool GetCPUAndFeaturesAttributes(GlobalDecl GD,
1585 void setNonAliasAttributes(GlobalDecl GD, llvm::GlobalObject *GO);
1588 void SetFunctionAttributes(GlobalDecl GD, llvm::Function *F,
1593 void EmitGlobalFunctionDefinition(GlobalDecl GD, llvm::GlobalValue *GV);
1594 void EmitMultiVersionFunctionDefinition(GlobalDecl GD, llvm::GlobalValue *GV);
1598 void EmitAliasDefinition(GlobalDecl GD);
1599 void emitIFuncDefinition(GlobalDecl GD);
1600 void emitCPUDispatchDefinition(GlobalDecl GD);