Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:GlobalDecl

24 #include "clang/AST/GlobalDecl.h"
302 std::map<StringRef, GlobalDecl> DeferredDecls;
307 DeferredGlobal(llvm::GlobalValue *GV, GlobalDecl GD) : GV(GV), GD(GD) {}
309 GlobalDecl GD;
312 void addDeferredDeclToEmit(llvm::GlobalValue *GV, GlobalDecl GD) {
318 std::vector<GlobalDecl> Aliases;
332 llvm::DenseSet<GlobalDecl> DiagnosedConflictingDefinitions;
352 llvm::MapVector<GlobalDecl, StringRef> MangledDeclNames;
353 llvm::StringMap<GlobalDecl, llvm::BumpPtrAllocator> Manglings;
448 bool shouldEmitFunction(GlobalDecl GD);
472 GlobalDecl initializedGlobalDecl;
561 GlobalDecl &Result) const;
676 llvm::Constant *GetAddrOfGlobal(GlobalDecl GD, bool IsForDefinition = false);
707 llvm::Constant *GetAddrOfFunction(GlobalDecl GD, llvm::Type *Ty = nullptr,
719 llvm::Constant *GetAddrOfThunk(GlobalDecl GD, const ThunkInfo &Thunk);
984 StringRef getMangledName(GlobalDecl GD);
985 StringRef getBlockMangledName(GlobalDecl GD, const BlockDecl *BD);
1000 llvm::GlobalVariable::LinkageTypes getFunctionLinkage(GlobalDecl GD);
1002 void setFunctionLinkage(GlobalDecl GD, llvm::Function *F) {
1007 void setFunctionDLLStorageClass(GlobalDecl GD, llvm::Function *F);
1068 void EmitGlobal(GlobalDecl D);
1070 bool TryEmitDefinitionAsAlias(GlobalDecl Alias, GlobalDecl Target,
1130 GetOrCreateLLVMFunction(StringRef MangledName, llvm::Type *Ty, GlobalDecl D,
1143 void SetFunctionAttributes(GlobalDecl GD, llvm::Function *F,
1146 void EmitGlobalDefinition(GlobalDecl D, llvm::GlobalValue *GV = nullptr);
1148 void EmitGlobalFunctionDefinition(GlobalDecl GD, llvm::GlobalValue *GV);
1150 void EmitAliasDefinition(GlobalDecl GD);