| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Module.h | 435 GlobalVariable *getGlobalVariable(StringRef Name) const { in getGlobalVariable() function 436 return getGlobalVariable(Name, false); in getGlobalVariable() 439 GlobalVariable *getGlobalVariable(StringRef Name, bool AllowInternal) const; 441 GlobalVariable *getGlobalVariable(StringRef Name, 443 return static_cast<const Module *>(this)->getGlobalVariable(Name, 451 return getGlobalVariable(Name, true); in getNamedGlobal()
|
| /freebsd-14.2/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 | 136 FindUsedValues(M.getGlobalVariable("llvm.used"), UsedGlobals); in mergeConstants() 137 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()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Frontend/HLSL/ |
| H A D | HLSLResource.h | 92 GlobalVariable *getGlobalVariable();
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Frontend/HLSL/ |
| H A D | HLSLResource.cpp | 21 GlobalVariable *FrontendResource::getGlobalVariable() { in getGlobalVariable() function in FrontendResource
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/ |
| H A D | ObjCARCAPElim.cpp | 114 GlobalVariable *GV = M.getGlobalVariable("llvm.global_ctors"); in runImpl()
|
| /freebsd-14.2/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 | 77 GlobalVariable *GV = M.getGlobalVariable("llvm.global_dtors"); in runImpl()
|
| H A D | ModuleUtils.cpp | 92 GlobalVariable *GV = M.getGlobalVariable(Name); in appendToUsedList()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGObjCGNU.cpp | 214 auto *ConstStr = TheModule.getGlobalVariable(name); in ExportUniqueString() 1319 auto *GV = TheModule.getGlobalVariable(Name); in GenerateEmptyProtocol() 1341 assert(!TheModule.getGlobalVariable(RefName)); in GenerateProtocolRef() 1382 auto *OldGV = TheModule.getGlobalVariable(SymName); in GenerateProtocolRef() 1469 auto *TypesGlobal = TheModule.getGlobalVariable(TypesVarName); in GetTypeString() 1670 auto *global = TheModule.getGlobalVariable(lateInit.first); in ModuleInitFunction() 2234 if (TheModule.getGlobalVariable(symbolRef)) in EmitClassRef() 2536 CGM.getModule().getGlobalVariable("__objc_id_type_info"); in GetEHType() 2566 auto *Vtable = TheModule.getGlobalVariable(vtableName); in GetEHType() 3621 if (auto *symbol = TheModule.getGlobalVariable(classSymbolName)) { in GenerateClass() [all …]
|
| H A D | CGObjCMac.cpp | 3583 llvm::GlobalVariable *GV = CGM.getModule().getGlobalVariable(Name, true); in GenerateClass() 3644 llvm::GlobalVariable *GV = CGM.getModule().getGlobalVariable(Name, true); in EmitMetaClass() 3671 llvm::GlobalVariable *GV = CGM.getModule().getGlobalVariable(Name, true); in EmitMetaClassRef() 3684 llvm::GlobalVariable *GV = CGM.getModule().getGlobalVariable(Name, true); in EmitSuperClassRef() 6599 llvm::GlobalVariable *PTGV = CGM.getModule().getGlobalVariable(ProtocolName); in GenerateProtocolRef() 6829 llvm::GlobalVariable *IvarOffsetGV = CGM.getModule().getGlobalVariable(Name); in ObjCIvarOffsetVariable() 7130 CGM.getModule().getGlobalVariable(TmpName.str(), true); in EmitProtocolList() 7289 = CGM.getModule().getGlobalVariable(messageRefName); in EmitVTableMessageSend() 7375 llvm::GlobalVariable *GV = CGM.getModule().getGlobalVariable(Name); in GetClassGlobal() 7735 auto *IDEHType = CGM.getModule().getGlobalVariable("OBJC_EHTYPE_id"); in GetEHType() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUCtorDtorLowering.cpp | 147 GlobalVariable *GV = M.getGlobalVariable(GlobalName); in createInitOrFiniKernel()
|
| /freebsd-14.2/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()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Module.cpp | 185 GlobalVariable *Module::getGlobalVariable(StringRef Name, in getGlobalVariable() function in Module 825 GlobalVariable *GV = M.getGlobalVariable(Name); in collectUsedGlobalVariables()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXCtorDtorLowering.cpp | 247 GlobalVariable *GV = M.getGlobalVariable(GlobalName); in createInitOrFiniKernel()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/DirectX/ |
| H A D | DXILResource.cpp | 60 : ID(I), GV(R.getGlobalVariable()), Name(""), Space(R.getSpace()), in ResourceBase()
|
| /freebsd-14.2/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 | 580 const GlobalVariable *GV = M.getGlobalVariable(Name); in collectUsedGlobalVariables()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyLowerEmscriptenEHSjLj.cpp | 413 static GlobalVariable *getGlobalVariable(Module &M, Type *Ty, in getGlobalVariable() function 932 ThrewGV = getGlobalVariable(M, getAddrIntType(&M), TM, "__THREW__"); in runOnModule() 933 ThrewValueGV = getGlobalVariable(M, IRB.getInt32Ty(), TM, "__threwValue"); in runOnModule()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | InstrProfiling.cpp | 868 auto *Bias = M.getGlobalVariable(getInstrProfCounterBiasVarName()); in getCounterAddress() 1684 if (M.getGlobalVariable(getInstrProfRuntimeHookVarName())) in emitRuntimeHook()
|
| /freebsd-14.2/contrib/llvm-project/llvm/tools/bugpoint/ |
| H A D | CrashDebugger.cpp | 229 auto *UsedVar = M->getGlobalVariable(Name, true); in RemoveFunctionReferences()
|