| /src/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Module.h | 446 GlobalVariable *getGlobalVariable(StringRef Name) const { in getGlobalVariable() function 447 return getGlobalVariable(Name, false); in getGlobalVariable() 450 GlobalVariable *getGlobalVariable(StringRef Name, bool AllowInternal) const; 452 GlobalVariable *getGlobalVariable(StringRef Name, 454 return static_cast<const Module *>(this)->getGlobalVariable(Name, 462 return getGlobalVariable(Name, true); in getNamedGlobal()
|
| /src/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | EmbedBitcodePass.cpp | 27 if (M.getGlobalVariable("llvm.embedded.module", /*AllowInternal=*/true)) in run()
|
| H A D | ConstantMerge.cpp | 137 FindUsedValues(M.getGlobalVariable("llvm.used"), UsedGlobals); in mergeConstants() 138 FindUsedValues(M.getGlobalVariable("llvm.compiler.used"), UsedGlobals); in mergeConstants()
|
| H A D | Annotation2Metadata.cpp | 33 auto *Annotations = M.getGlobalVariable("llvm.global.annotations"); in convertAnnotation2Metadata()
|
| H A D | StripSymbols.cpp | 122 findUsedValues(M.getGlobalVariable("llvm.used"), llvmUsedValues); in StripSymbolNames() 123 findUsedValues(M.getGlobalVariable("llvm.compiler.used"), llvmUsedValues); in StripSymbolNames()
|
| /src/contrib/llvm-project/llvm/include/llvm/Frontend/HLSL/ |
| H A D | HLSLResource.h | 37 GlobalVariable *getGlobalVariable();
|
| /src/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86WinFixupBufferSecurityCheck.cpp | 141 GlobalVariable *GV = M.getGlobalVariable("__security_cookie"); in CreateFailCheckSequence() 195 GlobalVariable *GV = M.getGlobalVariable("__security_cookie"); in runOnMachineFunction()
|
| /src/contrib/llvm-project/llvm/lib/Frontend/HLSL/ |
| H A D | HLSLResource.cpp | 21 GlobalVariable *FrontendResource::getGlobalVariable() { in getGlobalVariable() function in FrontendResource
|
| /src/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/ |
| H A D | ObjCARCAPElim.cpp | 114 GlobalVariable *GV = M.getGlobalVariable("llvm.global_ctors"); in runImpl()
|
| /src/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | SampleProfileLoaderBaseUtil.cpp | 173 if (M->getGlobalVariable(FSDiscriminatorVar)) in createFSDiscriminatorVariable()
|
| H A D | CtorUtils.cpp | 78 GlobalVariable *GV = M.getGlobalVariable("llvm.global_ctors"); in findGlobalCtors()
|
| H A D | SymbolRewriter.cpp | 217 GlobalVariable, &Module::getGlobalVariable>; 238 GlobalVariable, &Module::getGlobalVariable,
|
| H A D | LowerGlobalDtors.cpp | 78 GlobalVariable *GV = M.getGlobalVariable("llvm.global_dtors"); in runImpl()
|
| /src/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGObjCGNU.cpp | 213 auto *ConstStr = TheModule.getGlobalVariable(name); in ExportUniqueString() 1318 auto *GV = TheModule.getGlobalVariable(Name); in GenerateEmptyProtocol() 1340 assert(!TheModule.getGlobalVariable(RefName)); in GenerateProtocolRef() 1381 auto *OldGV = TheModule.getGlobalVariable(SymName); in GenerateProtocolRef() 1468 auto *TypesGlobal = TheModule.getGlobalVariable(TypesVarName); in GetTypeString() 1668 auto *global = TheModule.getGlobalVariable(lateInit.first); in ModuleInitFunction() 1864 llvm::GlobalVariable *OffsetVar = TheModule.getGlobalVariable(OffsetName); in GenerateClass() 2204 llvm::GlobalVariable *ClassSymbol = TheModule.getGlobalVariable(SymbolName); in GetClassNamed() 2233 if (TheModule.getGlobalVariable(symbolRef)) in EmitClassRef() 2236 llvm::GlobalVariable *ClassSymbol = TheModule.getGlobalVariable(symbolName); in EmitClassRef() [all …]
|
| /src/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | IndirectCallPromotion.cpp | 561 GlobalVariable *VTableVar = Symtab->getGlobalVariable(VTableVal); in computeVTableInfos() 754 Remark << ore::NV("VTable", Symtab->getGlobalVariable(*Iter)); in tryToPromoteWithVTableCmp() 855 LLVM_DEBUG(dbgs() << " {" << Symtab->getGlobalVariable(GUID)->getName() in isProfitableToCompareVTables()
|
| H A D | InstrProfiling.cpp | 741 M.getGlobalVariable(INSTR_PROF_QUOTE(INSTR_PROF_PROFILE_SAMPLING_VAR)); in doSampling() 1081 GlobalVariable *Bias = M.getGlobalVariable(VarName); in getOrCreateBiasVar() 2048 if (M.getGlobalVariable(getInstrProfRuntimeHookVarName())) in emitRuntimeHook()
|
| /src/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUCtorDtorLowering.cpp | 147 GlobalVariable *GV = M.getGlobalVariable(GlobalName); in createInitOrFiniKernel()
|
| /src/contrib/llvm-project/llvm/lib/ExecutionEngine/MCJIT/ |
| H A D | MCJIT.cpp | 312 GlobalVariable *G = M->getGlobalVariable(DemangledName); in findModuleForSymbol() 481 GlobalVariable *GV = (*I)->getGlobalVariable(Name, AllowInternal); in FindGlobalVariableNamedInModulePtrSet()
|
| /src/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Module.cpp | 208 GlobalVariable *Module::getGlobalVariable(StringRef Name, in getGlobalVariable() function in Module 856 GlobalVariable *GV = M.getGlobalVariable(Name); in collectUsedGlobalVariables()
|
| /src/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXCtorDtorLowering.cpp | 248 GlobalVariable *GV = M.getGlobalVariable(GlobalName); in createInitOrFiniKernel()
|
| /src/contrib/llvm-project/llvm/lib/Target/DirectX/ |
| H A D | DXILResource.cpp | 59 : ID(I), GV(R.getGlobalVariable()), Name(""), Space(R.getSpace()), in ResourceBase()
|
| /src/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyLowerEmscriptenEHSjLj.cpp | 407 static GlobalVariable *getGlobalVariable(Module &M, Type *Ty, in getGlobalVariable() function 925 ThrewGV = getGlobalVariable(M, getAddrIntType(&M), TM, "__THREW__"); in runOnModule() 926 ThrewValueGV = getGlobalVariable(M, IRB.getInt32Ty(), TM, "__threwValue"); in runOnModule()
|
| /src/contrib/llvm-project/llvm/include/llvm/ProfileData/ |
| H A D | InstrProf.h | 647 inline GlobalVariable *getGlobalVariable(uint64_t MD5Hash); 727 GlobalVariable *InstrProfSymtab::getGlobalVariable(uint64_t MD5Hash) { in getGlobalVariable() function
|
| /src/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | ShadowStackGCLowering.cpp | 254 Head = M.getGlobalVariable("llvm_gc_root_chain"); in doInitialization()
|
| H A D | GlobalMerge.cpp | 599 const GlobalVariable *GV = M.getGlobalVariable(Name); in collectUsedGlobalVariables()
|