Lines Matching refs: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
369 if (llvm::isa<FunctionDecl>(GD.getDecl())) in addEmittedDeferredDecl()
370 L = getFunctionLinkage(GD); in addEmittedDeferredDecl()
371 else if (auto *VD = llvm::dyn_cast<VarDecl>(GD.getDecl())) in addEmittedDeferredDecl()
377 EmittedDeferredDecls[getMangledName(GD)] = GD; in addEmittedDeferredDecl()
555 bool shouldEmitFunction(GlobalDecl GD);
860 void setGVProperties(llvm::GlobalValue *GV, GlobalDecl GD) const;
881 llvm::Constant *GetAddrOfGlobal(GlobalDecl GD,
930 llvm::Constant *GetAddrOfFunction(GlobalDecl GD, llvm::Type *Ty = nullptr,
950 ConstantAddress GetAddrOfMSGuidDecl(const MSGuidDecl *GD);
962 GlobalDecl GD);
1079 llvm::Function *codegenCXXStructor(GlobalDecl GD);
1083 getAddrOfCXXStructor(GlobalDecl GD, const CGFunctionInfo *FnInfo = nullptr,
1087 return cast<llvm::Constant>(getAddrAndTypeOfCXXStructor(GD, FnInfo, FnType,
1094 GlobalDecl GD, const CGFunctionInfo *FnInfo = nullptr,
1224 void SetInternalFunctionAttributes(GlobalDecl GD, llvm::Function *F,
1228 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()
1397 void SetCommonAttributes(GlobalDecl GD, llvm::GlobalValue *GV);
1599 llvm::Constant *GetOrCreateMultiVersionResolver(GlobalDecl GD);
1606 void UpdateMultiVersionNames(GlobalDecl GD, const FunctionDecl *FD,
1609 bool GetCPUAndFeaturesAttributes(GlobalDecl GD,
1612 void setNonAliasAttributes(GlobalDecl GD, llvm::GlobalObject *GO);
1615 void SetFunctionAttributes(GlobalDecl GD, llvm::Function *F,
1620 void EmitGlobalFunctionDefinition(GlobalDecl GD, llvm::GlobalValue *GV);
1621 void EmitMultiVersionFunctionDefinition(GlobalDecl GD, llvm::GlobalValue *GV);
1625 void EmitAliasDefinition(GlobalDecl GD);
1626 void emitIFuncDefinition(GlobalDecl GD);
1627 void emitCPUDispatchDefinition(GlobalDecl GD);