Lines Matching refs:GD
356 void addDeferredDeclToEmit(GlobalDecl GD) { in addDeferredDeclToEmit() argument
357 DeferredDeclsToEmit.emplace_back(GD); in addDeferredDeclToEmit()
358 addEmittedDeferredDecl(GD); in addDeferredDeclToEmit()
364 void addEmittedDeferredDecl(GlobalDecl GD) { in addEmittedDeferredDecl() argument
371 if (llvm::isa<FunctionDecl>(GD.getDecl())) in addEmittedDeferredDecl()
372 L = getFunctionLinkage(GD); in addEmittedDeferredDecl()
373 else if (auto *VD = llvm::dyn_cast<VarDecl>(GD.getDecl())) in addEmittedDeferredDecl()
379 EmittedDeferredDecls[getMangledName(GD)] = GD; in addEmittedDeferredDecl()
565 bool shouldEmitFunction(GlobalDecl GD);
881 void setGVProperties(llvm::GlobalValue *GV, GlobalDecl GD) const;
902 llvm::Constant *GetAddrOfGlobal(GlobalDecl GD,
951 llvm::Constant *GetAddrOfFunction(GlobalDecl GD, llvm::Type *Ty = nullptr,
963 llvm::Constant *getRawFunctionPointer(GlobalDecl GD,
969 llvm::Constant *getFunctionPointer(GlobalDecl GD, llvm::Type *Ty = nullptr);
1007 uint16_t getPointerAuthDeclDiscriminator(GlobalDecl GD);
1029 ConstantAddress GetAddrOfMSGuidDecl(const MSGuidDecl *GD);
1041 GlobalDecl GD);
1158 llvm::Function *codegenCXXStructor(GlobalDecl GD);
1162 getAddrOfCXXStructor(GlobalDecl GD, const CGFunctionInfo *FnInfo = nullptr,
1166 return cast<llvm::Constant>(getAddrAndTypeOfCXXStructor(GD, FnInfo, FnType,
1173 GlobalDecl GD, const CGFunctionInfo *FnInfo = nullptr,
1303 void SetInternalFunctionAttributes(GlobalDecl GD, llvm::Function *F,
1307 void SetLLVMFunctionAttributes(GlobalDecl GD, const CGFunctionInfo &Info,
1359 StringRef getMangledName(GlobalDecl GD);
1360 StringRef getBlockMangledName(GlobalDecl GD, const BlockDecl *BD);
1381 llvm::GlobalVariable::LinkageTypes getFunctionLinkage(GlobalDecl GD);
1383 void setFunctionLinkage(GlobalDecl GD, llvm::Function *F) { in setFunctionLinkage() argument
1384 F->setLinkage(getFunctionLinkage(GD)); in setFunctionLinkage()
1476 void SetCommonAttributes(GlobalDecl GD, llvm::GlobalValue *GV);
1689 void AddDeferredMultiVersionResolverToEmit(GlobalDecl GD);
1696 llvm::Constant *GetOrCreateMultiVersionResolver(GlobalDecl GD);
1703 void UpdateMultiVersionNames(GlobalDecl GD, const FunctionDecl *FD,
1706 bool GetCPUAndFeaturesAttributes(GlobalDecl GD,
1709 void setNonAliasAttributes(GlobalDecl GD, llvm::GlobalObject *GO);
1712 void SetFunctionAttributes(GlobalDecl GD, llvm::Function *F,
1717 void EmitGlobalFunctionDefinition(GlobalDecl GD, llvm::GlobalValue *GV);
1718 void EmitMultiVersionFunctionDefinition(GlobalDecl GD, llvm::GlobalValue *GV);
1723 void EmitAliasDefinition(GlobalDecl GD);
1724 void emitIFuncDefinition(GlobalDecl GD);
1725 void emitCPUDispatchDefinition(GlobalDecl GD);