Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:GlobalDecl

23 #include "clang/AST/GlobalDecl.h"
314 std::map<StringRef, GlobalDecl> DeferredDecls;
319 DeferredGlobal(llvm::GlobalValue *GV, GlobalDecl GD) : GV(GV), GD(GD) {}
321 GlobalDecl GD;
324 void addDeferredDeclToEmit(llvm::GlobalValue *GV, GlobalDecl GD) {
330 std::vector<GlobalDecl> Aliases;
353 llvm::MapVector<GlobalDecl, StringRef> MangledDeclNames;
354 llvm::StringMap<GlobalDecl, llvm::BumpPtrAllocator> Manglings;
450 bool shouldEmitFunction(GlobalDecl GD);
474 GlobalDecl initializedGlobalDecl;
548 GlobalDecl &Result) const;
650 llvm::Constant *GetAddrOfGlobal(GlobalDecl GD) {
686 llvm::Constant *GetAddrOfFunction(GlobalDecl GD, llvm::Type *Ty = 0,
697 llvm::Constant *GetAddrOfThunk(GlobalDecl GD, const ThunkInfo &Thunk);
943 StringRef getMangledName(GlobalDecl GD);
944 StringRef getBlockMangledName(GlobalDecl GD, const BlockDecl *BD);
962 llvm::GlobalVariable::LinkageTypes getFunctionLinkage(GlobalDecl GD);
964 void setFunctionLinkage(GlobalDecl GD, llvm::Function *F) {
1024 void EmitGlobal(GlobalDecl D);
1030 GetOrCreateLLVMFunction(StringRef MangledName, llvm::Type *Ty, GlobalDecl D,
1054 void SetFunctionAttributes(GlobalDecl GD,
1058 void EmitGlobalDefinition(GlobalDecl D, llvm::GlobalValue *GV = nullptr);
1060 void EmitGlobalFunctionDefinition(GlobalDecl GD, llvm::GlobalValue *GV);
1062 void EmitAliasDefinition(GlobalDecl GD);
1068 bool TryEmitDefinitionAsAlias(GlobalDecl Alias, GlobalDecl Target,