Home
last modified time | relevance | path

Searched refs:getGlobalVariable (Results 1 – 25 of 37) sorted by relevance

12

/openbsd/gnu/llvm/llvm/include/llvm/IR/
H A DModule.h414 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()
/openbsd/gnu/llvm/llvm/lib/Transforms/IPO/
H A DConstantMerge.cpp138 FindUsedValues(M.getGlobalVariable("llvm.used"), UsedGlobals); in mergeConstants()
139 FindUsedValues(M.getGlobalVariable("llvm.compiler.used"), UsedGlobals); in mergeConstants()
H A DAnnotation2Metadata.cpp35 auto *Annotations = M.getGlobalVariable("llvm.global.annotations"); in convertAnnotation2Metadata()
H A DStripSymbols.cpp214 findUsedValues(M.getGlobalVariable("llvm.used"), llvmUsedValues); in StripSymbolNames()
215 findUsedValues(M.getGlobalVariable("llvm.compiler.used"), llvmUsedValues); in StripSymbolNames()
/openbsd/gnu/llvm/llvm/include/llvm/Frontend/HLSL/
H A DHLSLResource.h68 GlobalVariable *getGlobalVariable();
/openbsd/gnu/llvm/llvm/lib/Frontend/HLSL/
H A DHLSLResource.cpp21 GlobalVariable *FrontendResource::getGlobalVariable() { in getGlobalVariable() function in FrontendResource
/openbsd/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DAMDGPUCtorDtorLowering.cpp52 GlobalVariable *GV = M.getGlobalVariable(GlobalName); in createInitOrFiniKernel()
/openbsd/gnu/llvm/llvm/lib/Transforms/ObjCARC/
H A DObjCARCAPElim.cpp114 GlobalVariable *GV = M.getGlobalVariable("llvm.global_ctors"); in runImpl()
/openbsd/gnu/llvm/llvm/lib/Transforms/Utils/
H A DSampleProfileLoaderBaseUtil.cpp173 if (M->getGlobalVariable(FSDiscriminatorVar)) in createFSDiscriminatorVariable()
H A DCtorUtils.cpp81 GlobalVariable *GV = M.getGlobalVariable("llvm.global_ctors"); in findGlobalCtors()
H A DSymbolRewriter.cpp219 GlobalVariable, &Module::getGlobalVariable>;
240 GlobalVariable, &Module::getGlobalVariable,
H A DLowerGlobalDtors.cpp77 GlobalVariable *GV = M.getGlobalVariable("llvm.global_dtors"); in runImpl()
H A DModuleUtils.cpp88 GlobalVariable *GV = M.getGlobalVariable(Name); in appendToUsedList()
/openbsd/gnu/llvm/clang/lib/CodeGen/
H A DCGObjCGNU.cpp214 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 DCGObjCMac.cpp3593 llvm::GlobalVariable *GV = CGM.getModule().getGlobalVariable(Name, true); in GenerateClass()
3656 llvm::GlobalVariable *GV = CGM.getModule().getGlobalVariable(Name, true); in EmitMetaClass()
3683 llvm::GlobalVariable *GV = CGM.getModule().getGlobalVariable(Name, true); in EmitMetaClassRef()
3696 llvm::GlobalVariable *GV = CGM.getModule().getGlobalVariable(Name, true); in EmitSuperClassRef()
6642 llvm::GlobalVariable *PTGV = CGM.getModule().getGlobalVariable(ProtocolName); in GenerateProtocolRef()
6873 llvm::GlobalVariable *IvarOffsetGV = CGM.getModule().getGlobalVariable(Name); in ObjCIvarOffsetVariable()
7174 CGM.getModule().getGlobalVariable(TmpName.str(), true); in EmitProtocolList()
7334 = CGM.getModule().getGlobalVariable(messageRefName); in EmitVTableMessageSend()
7420 llvm::GlobalVariable *GV = CGM.getModule().getGlobalVariable(Name); in GetClassGlobal()
7788 auto *IDEHType = CGM.getModule().getGlobalVariable("OBJC_EHTYPE_id"); in GetEHType()
[all …]
/openbsd/gnu/llvm/llvm/lib/CodeGen/
H A DReturnProtectorLowering.cpp307 dyn_cast_or_null<GlobalVariable>(M->getGlobalVariable( in insertReturnProtectors()
H A DShadowStackGCLowering.cpp212 Head = M.getGlobalVariable("llvm_gc_root_chain"); in doInitialization()
H A DGlobalMerge.cpp569 const GlobalVariable *GV = M.getGlobalVariable(Name); in collectUsedGlobalVariables()
/openbsd/gnu/llvm/llvm/lib/ExecutionEngine/MCJIT/
H A DMCJIT.cpp312 GlobalVariable *G = M->getGlobalVariable(DemangledName); in findModuleForSymbol()
481 GlobalVariable *GV = (*I)->getGlobalVariable(Name, AllowInternal); in FindGlobalVariableNamedInModulePtrSet()
/openbsd/gnu/llvm/llvm/lib/IR/
H A DModule.cpp190 GlobalVariable *Module::getGlobalVariable(StringRef Name, in getGlobalVariable() function in Module
803 GlobalVariable *GV = M.getGlobalVariable(Name); in collectUsedGlobalVariables()
/openbsd/gnu/llvm/llvm/lib/Target/WebAssembly/
H A DWebAssemblyLowerEmscriptenEHSjLj.cpp412 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()
/openbsd/gnu/llvm/llvm/lib/Target/DirectX/
H A DDXILResource.cpp60 : ID(I), GV(R.getGlobalVariable()), Name(""), Space(R.getSpace()), in ResourceBase()
/openbsd/gnu/llvm/llvm/lib/Transforms/Instrumentation/
H A DInstrProfiling.cpp683 auto *Bias = M->getGlobalVariable(getInstrProfCounterBiasVarName()); in getCounterAddress()
1206 if (M->getGlobalVariable(getInstrProfRuntimeHookVarName())) in emitRuntimeHook()
/openbsd/gnu/llvm/llvm/examples/ExceptionDemo/
H A DExceptionDemo.cpp1227 caughtResult->addClause(module.getGlobalVariable( in createCatchWrappedInvokeFunction()
/openbsd/gnu/llvm/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp164 GlobalVariable *GV = Modules[i]->getGlobalVariable(Name,AllowInternal); in FindGlobalVariableNamed()

12