| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUCtorDtorLowering.cpp | 89 createInitOrFiniKernel(M, M.getGlobalVariable("llvm.global_ctors"), in runOnModule() 92 createInitOrFiniKernel(M, M.getGlobalVariable("llvm.global_dtors"), in runOnModule()
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | Module.h | 414 GlobalVariable *getGlobalVariable(StringRef Name) const { in getGlobalVariable() function 415 return getGlobalVariable(Name, false); in getGlobalVariable() 418 GlobalVariable *getGlobalVariable(StringRef Name, bool AllowInternal) const; 420 GlobalVariable *getGlobalVariable(StringRef Name, 422 return static_cast<const Module *>(this)->getGlobalVariable(Name, 430 return getGlobalVariable(Name, true); in getNamedGlobal()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/IPO/ |
| H A D | ConstantMerge.cpp | 138 FindUsedValues(M.getGlobalVariable("llvm.used"), UsedGlobals); in mergeConstants() 139 FindUsedValues(M.getGlobalVariable("llvm.compiler.used"), UsedGlobals); in mergeConstants()
|
| H A D | Annotation2Metadata.cpp | 35 auto *Annotations = M.getGlobalVariable("llvm.global.annotations"); in convertAnnotation2Metadata()
|
| H A D | StripSymbols.cpp | 213 findUsedValues(M.getGlobalVariable("llvm.used"), llvmUsedValues); in StripSymbolNames() 214 findUsedValues(M.getGlobalVariable("llvm.compiler.used"), llvmUsedValues); in StripSymbolNames()
|
| /llvm-project-15.0.7/llvm/unittests/Transforms/Utils/ |
| H A D | ModuleUtilsTest.cpp | 28 auto *UsedList = M.getGlobalVariable(Name); in getUsedListSize()
|
| H A D | CloningTest.cpp | 1021 GlobalVariable *NewGV = NewM->getGlobalVariable("gv"); in TEST_F() 1026 GlobalVariable *NewGV = NewM->getGlobalVariable("gv"); in TEST_F() 1081 GlobalVariable *NewGV = NewM->getGlobalVariable("gv"); in TEST_F()
|
| /llvm-project-15.0.7/llvm/unittests/IR/ |
| H A D | ValueTest.cpp | 141 GlobalVariable *G0 = M->getGlobalVariable("g0"); in TEST() 143 GlobalVariable *G1 = M->getGlobalVariable("g1"); in TEST()
|
| /llvm-project-15.0.7/polly/lib/CodeGen/ |
| H A D | PerfMonitor.cpp | 37 GlobalVariable *GV = M->getGlobalVariable(Name); in addToGlobalConstructors() 74 *Location = M->getGlobalVariable(Name); in TryRegisterGlobal()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/ObjCARC/ |
| H A D | ObjCARCAPElim.cpp | 116 GlobalVariable *GV = M.getGlobalVariable("llvm.global_ctors"); in runImpl()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | SampleProfileLoaderBaseUtil.cpp | 177 if (M->getGlobalVariable(FSDiscriminatorVar)) in createFSDiscriminatorVariable()
|
| H A D | CtorUtils.cpp | 81 GlobalVariable *GV = M.getGlobalVariable("llvm.global_ctors"); in findGlobalCtors()
|
| H A D | SymbolRewriter.cpp | 219 GlobalVariable, &Module::getGlobalVariable>; 240 GlobalVariable, &Module::getGlobalVariable,
|
| H A D | LowerGlobalDtors.cpp | 77 GlobalVariable *GV = M.getGlobalVariable("llvm.global_dtors"); in runImpl()
|
| H A D | ModuleUtils.cpp | 74 GlobalVariable *GV = M.getGlobalVariable(Name); in appendToUsedList()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGObjCGNU.cpp | 214 auto *ConstStr = TheModule.getGlobalVariable(name); in ExportUniqueString() 1305 auto *GV = TheModule.getGlobalVariable(Name); in GenerateEmptyProtocol() 1327 assert(!TheModule.getGlobalVariable(RefName)); in GenerateProtocolRef() 1368 auto *OldGV = TheModule.getGlobalVariable(SymName); in GenerateProtocolRef() 1451 auto *TypesGlobal = TheModule.getGlobalVariable(TypesVarName); in GetTypeString() 1659 auto *global = TheModule.getGlobalVariable(lateInit.first); in ModuleInitFunction() 2126 if (TheModule.getGlobalVariable(symbolRef)) in EmitClassRef() 2422 CGM.getModule().getGlobalVariable("__objc_id_type_info"); in GetEHType() 2453 auto *Vtable = TheModule.getGlobalVariable(vtableName); in GetEHType() 3506 if (auto *symbol = TheModule.getGlobalVariable(classSymbolName)) { in GenerateClass() [all …]
|
| H A D | CGObjCMac.cpp | 3588 llvm::GlobalVariable *GV = CGM.getModule().getGlobalVariable(Name, true); in GenerateClass() 3651 llvm::GlobalVariable *GV = CGM.getModule().getGlobalVariable(Name, true); in EmitMetaClass() 3678 llvm::GlobalVariable *GV = CGM.getModule().getGlobalVariable(Name, true); in EmitMetaClassRef() 3691 llvm::GlobalVariable *GV = CGM.getModule().getGlobalVariable(Name, true); in EmitSuperClassRef() 6634 llvm::GlobalVariable *PTGV = CGM.getModule().getGlobalVariable(ProtocolName); in GenerateProtocolRef() 6865 llvm::GlobalVariable *IvarOffsetGV = CGM.getModule().getGlobalVariable(Name); in ObjCIvarOffsetVariable() 7166 CGM.getModule().getGlobalVariable(TmpName.str(), true); in EmitProtocolList() 7326 = CGM.getModule().getGlobalVariable(messageRefName); in EmitVTableMessageSend() 7412 llvm::GlobalVariable *GV = CGM.getModule().getGlobalVariable(Name); in GetClassGlobal() 7780 auto *IDEHType = CGM.getModule().getGlobalVariable("OBJC_EHTYPE_id"); in GetEHType() [all …]
|
| /llvm-project-15.0.7/mlir/lib/Target/SPIRV/Deserialization/ |
| H A D | DeserializeOps.cpp | 46 if (auto varOp = getGlobalVariable(id)) { in getValue() 362 auto arg = getGlobalVariable(words[wordIndex]); in processOp()
|
| H A D | Deserializer.h | 231 spirv::GlobalVariableOp getGlobalVariable(uint32_t id) { in getGlobalVariable() function
|
| /llvm-project-15.0.7/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()
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | Module.cpp | 190 GlobalVariable *Module::getGlobalVariable(StringRef Name, in getGlobalVariable() function in Module 801 GlobalVariable *GV = M.getGlobalVariable(Name); in collectUsedGlobalVariables()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | ShadowStackGCLowering.cpp | 211 Head = M.getGlobalVariable("llvm_gc_root_chain"); in doInitialization()
|
| H A D | GlobalMerge.cpp | 568 const GlobalVariable *GV = M.getGlobalVariable(Name); in collectUsedGlobalVariables()
|
| /llvm-project-15.0.7/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyLowerEmscriptenEHSjLj.cpp | 412 static GlobalVariable *getGlobalVariable(Module &M, Type *Ty, in getGlobalVariable() function 934 ThrewGV = getGlobalVariable(M, getAddrIntType(&M), TM, "__THREW__"); in runOnModule() 935 ThrewValueGV = getGlobalVariable(M, IRB.getInt32Ty(), TM, "__threwValue"); in runOnModule()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/ |
| H A D | InstrProfiling.cpp | 676 auto *Bias = M->getGlobalVariable(getInstrProfCounterBiasVarName()); in getCounterAddress() 1195 if (M->getGlobalVariable(getInstrProfRuntimeHookVarName())) in emitRuntimeHook()
|