| /freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/ |
| H A D | Module.h | 54 LLVM_ABI GlobalVariable *getGlobalVariable(StringRef Name, 56 GlobalVariable *getGlobalVariable(StringRef Name) const { in getGlobalVariable() function 57 return getGlobalVariable(Name, /*AllowInternal=*/false); in getGlobalVariable() 63 return getGlobalVariable(Name, true); in getNamedGlobal()
|
| /freebsd/contrib/llvm-project/llvm/lib/SandboxIR/ |
| H A D | Module.cpp | 22 GlobalVariable *Module::getGlobalVariable(StringRef Name, in getGlobalVariable() function in Module 25 Ctx.getValue(LLVMM.getGlobalVariable(Name, AllowInternal))); in getGlobalVariable()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Module.h | 430 GlobalVariable *getGlobalVariable(StringRef Name) const { in getGlobalVariable() function 431 return getGlobalVariable(Name, false); in getGlobalVariable() 434 GlobalVariable *getGlobalVariable(StringRef Name, bool AllowInternal) const; 436 GlobalVariable *getGlobalVariable(StringRef Name, 438 return static_cast<const Module *>(this)->getGlobalVariable(Name, 446 return getGlobalVariable(Name, true); in getNamedGlobal()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| 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 | EmbedBitcodePass.cpp | 26 if (M.getGlobalVariable("llvm.embedded.module", /*AllowInternal=*/true)) in run()
|
| H A D | Annotation2Metadata.cpp | 32 auto *Annotations = M.getGlobalVariable("llvm.global.annotations"); in convertAnnotation2Metadata()
|
| H A D | StripSymbols.cpp | 123 findUsedValues(M.getGlobalVariable("llvm.used"), llvmUsedValues); in StripSymbolNames() 124 findUsedValues(M.getGlobalVariable("llvm.compiler.used"), llvmUsedValues); in StripSymbolNames()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/ |
| H A D | ObjCARCAPElim.cpp | 114 GlobalVariable *GV = M.getGlobalVariable("llvm.global_ctors"); in runImpl()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | IndirectCallPromotion.cpp | 573 GlobalVariable *VTableVar = Symtab->getGlobalVariable(VTableVal); in computeVTableInfos() 766 Remark << ore::NV("VTable", Symtab->getGlobalVariable(*Iter)); in tryToPromoteWithVTableCmp() 865 dbgs() << " {" << Symtab->getGlobalVariable(GUID)->getName() << ", " in isProfitableToCompareVTables() 912 auto *VTableVar = Symtab->getGlobalVariable(VTableGUID); in shouldSkipVTable()
|
| H A D | InstrProfiling.cpp | 752 M.getGlobalVariable(INSTR_PROF_QUOTE(INSTR_PROF_PROFILE_SAMPLING_VAR)); in doSampling() 1096 GlobalVariable *Bias = M.getGlobalVariable(VarName); in getOrCreateBiasVar() 2054 if (M.getGlobalVariable(getInstrProfRuntimeHookVarName())) in emitRuntimeHook()
|
| /freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/ |
| H A D | ReOptimizeLayer.cpp | 212 M.getGlobalVariable("__orc_rt_jit_dispatch_ctx"); in createReoptimizeCall() 218 M.getGlobalVariable("__orc_rt_reoptimize_tag"); in createReoptimizeCall()
|
| /freebsd/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()
|
| H A D | ModuleUtils.cpp | 137 GlobalVariable *GV = M.getGlobalVariable(Name); in appendToUsedList()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGObjCGNU.cpp | 212 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() 1873 llvm::GlobalVariable *OffsetVar = TheModule.getGlobalVariable(OffsetName); in GenerateClass() 2219 llvm::GlobalVariable *ClassSymbol = TheModule.getGlobalVariable(SymbolName); in GetClassNamed() 2338 if (TheModule.getGlobalVariable(symbolRef)) in EmitClassRef() 2341 llvm::GlobalVariable *ClassSymbol = TheModule.getGlobalVariable(symbolName); in EmitClassRef() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUCtorDtorLowering.cpp | 149 GlobalVariable *GV = M.getGlobalVariable(GlobalName); in createInitOrFiniKernel()
|
| /freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/MCJIT/ |
| H A D | MCJIT.cpp | 309 GlobalVariable *G = M->getGlobalVariable(DemangledName); in findModuleForSymbol() 478 GlobalVariable *GV = (*I)->getGlobalVariable(Name, AllowInternal); in FindGlobalVariableNamedInModulePtrSet()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXCtorDtorLowering.cpp | 216 GlobalVariable *GV = M.getGlobalVariable(GlobalName); in createInitOrFiniKernel()
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Module.cpp | 244 GlobalVariable *Module::getGlobalVariable(StringRef Name, in getGlobalVariable() function in Module 866 GlobalVariable *GV = M.getGlobalVariable(Name); in collectUsedGlobalVariables()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyLowerEmscriptenEHSjLj.cpp | 406 static GlobalVariable *getGlobalVariable(Module &M, Type *Ty, in getGlobalVariable() function 930 ThrewGV = getGlobalVariable(M, getAddrIntType(&M), TM, "__THREW__"); in runOnModule() 931 ThrewValueGV = getGlobalVariable(M, IRB.getInt32Ty(), TM, "__threwValue"); in runOnModule()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | ShadowStackGCLowering.cpp | 252 Head = M.getGlobalVariable("llvm_gc_root_chain"); in doInitialization()
|
| H A D | GlobalMerge.cpp | 619 const GlobalVariable *GV = M.getGlobalVariable(Name); in collectUsedGlobalVariables()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/ |
| H A D | InstrProf.h | 708 inline GlobalVariable *getGlobalVariable(uint64_t MD5Hash); 788 GlobalVariable *InstrProfSymtab::getGlobalVariable(uint64_t MD5Hash) { in getGlobalVariable() function
|