Home
last modified time | relevance | path

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

12

/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DModule.h411 GlobalVariable *getGlobalVariable(StringRef Name) const { in getGlobalVariable() function
412 return getGlobalVariable(Name, false); in getGlobalVariable()
415 GlobalVariable *getGlobalVariable(StringRef Name, bool AllowInternal) const;
417 GlobalVariable *getGlobalVariable(StringRef Name,
419 return static_cast<const Module *>(this)->getGlobalVariable(Name,
427 return getGlobalVariable(Name, true); in getNamedGlobal()
/freebsd-13.1/contrib/llvm-project/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.cpp213 findUsedValues(M.getGlobalVariable("llvm.used"), llvmUsedValues); in StripSymbolNames()
214 findUsedValues(M.getGlobalVariable("llvm.compiler.used"), llvmUsedValues); in StripSymbolNames()
H A DOpenMPOpt.cpp3000 GlobalVariable *ExecMode = Kernel->getParent()->getGlobalVariable( in changeToSPMDMode()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/
H A DObjCARCAPElim.cpp114 GlobalVariable *GV = M.getGlobalVariable("llvm.global_ctors"); in runImpl()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSampleProfileLoaderBaseUtil.cpp165 if (M->getGlobalVariable(FSDiscriminatorVar)) in createFSDiscriminatorVariable()
H A DCtorUtils.cpp81 GlobalVariable *GV = M.getGlobalVariable("llvm.global_ctors"); in findGlobalCtors()
H A DSymbolRewriter.cpp220 GlobalVariable, &Module::getGlobalVariable>;
241 GlobalVariable, &Module::getGlobalVariable,
H A DModuleUtils.cpp75 GlobalVariable *GV = M.getGlobalVariable(Name); in appendToUsedList()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGObjCGNU.cpp210 auto *ConstStr = TheModule.getGlobalVariable(name); in ExportUniqueString()
1302 auto *GV = TheModule.getGlobalVariable(Name); in GenerateEmptyProtocol()
1324 assert(!TheModule.getGlobalVariable(RefName)); in GenerateProtocolRef()
1365 auto *OldGV = TheModule.getGlobalVariable(SymName); in GenerateProtocolRef()
1448 auto *TypesGlobal = TheModule.getGlobalVariable(TypesVarName); in GetTypeString()
1656 auto *global = TheModule.getGlobalVariable(lateInit.first); in ModuleInitFunction()
2123 if (TheModule.getGlobalVariable(symbolRef)) in EmitClassRef()
2413 CGM.getModule().getGlobalVariable("__objc_id_type_info"); in GetEHType()
2444 auto *Vtable = TheModule.getGlobalVariable(vtableName); in GetEHType()
3424 if (auto *symbol = TheModule.getGlobalVariable(classSymbolName)) { in GenerateClass()
[all …]
H A DCGObjCMac.cpp3653 llvm::GlobalVariable *GV = CGM.getModule().getGlobalVariable(Name, true); in GenerateClass()
3716 llvm::GlobalVariable *GV = CGM.getModule().getGlobalVariable(Name, true); in EmitMetaClass()
3743 llvm::GlobalVariable *GV = CGM.getModule().getGlobalVariable(Name, true); in EmitMetaClassRef()
3756 llvm::GlobalVariable *GV = CGM.getModule().getGlobalVariable(Name, true); in EmitSuperClassRef()
6687 llvm::GlobalVariable *PTGV = CGM.getModule().getGlobalVariable(ProtocolName); in GenerateProtocolRef()
6898 llvm::GlobalVariable *IvarOffsetGV = CGM.getModule().getGlobalVariable(Name); in ObjCIvarOffsetVariable()
7199 CGM.getModule().getGlobalVariable(TmpName.str(), true); in EmitProtocolList()
7359 = CGM.getModule().getGlobalVariable(messageRefName); in EmitVTableMessageSend()
7445 llvm::GlobalVariable *GV = CGM.getModule().getGlobalVariable(Name); in GetClassGlobal()
7808 auto *IDEHType = CGM.getModule().getGlobalVariable("OBJC_EHTYPE_id"); in GetEHType()
[all …]
H A DCGOpenMPRuntimeGPU.cpp2091 M.getGlobalVariable(TransferMediumName); in emitInterWarpCopyFunction()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyLowerGlobalDtors.cpp63 GlobalVariable *GV = M.getGlobalVariable("llvm.global_dtors"); in runOnModule()
H A DWebAssemblyLowerEmscriptenEHSjLj.cpp307 static GlobalVariable *getGlobalVariable(Module &M, Type *Ty, in getGlobalVariable() function
716 ThrewGV = getGlobalVariable(M, getAddrIntType(&M), TM, "__THREW__"); in runOnModule()
717 ThrewValueGV = getGlobalVariable(M, IRB.getInt32Ty(), TM, "__threwValue"); in runOnModule()
/freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/MCJIT/
H A DMCJIT.cpp312 GlobalVariable *G = M->getGlobalVariable(DemangledName); in findModuleForSymbol()
481 GlobalVariable *GV = (*I)->getGlobalVariable(Name, AllowInternal); in FindGlobalVariableNamedInModulePtrSet()
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DModule.cpp193 GlobalVariable *Module::getGlobalVariable(StringRef Name, in getGlobalVariable() function in Module
781 GlobalVariable *GV = M.getGlobalVariable(Name); in collectUsedGlobalVariables()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DShadowStackGCLowering.cpp212 Head = M.getGlobalVariable("llvm_gc_root_chain"); in doInitialization()
H A DGlobalMerge.cpp570 const GlobalVariable *GV = M.getGlobalVariable(Name); in collectUsedGlobalVariables()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DInstrProfiling.cpp696 GlobalVariable *Bias = M->getGlobalVariable(getInstrProfCounterBiasVarName()); in lowerIncrement()
1111 if (M->getGlobalVariable(getInstrProfRuntimeHookVarName())) in emitRuntimeHook()
H A DAddressSanitizer.cpp1837 GlobalVariable *GV = M.getGlobalVariable("llvm.global_ctors"); in createInitializerPoisonCalls()
/freebsd-13.1/contrib/llvm-project/llvm/tools/bugpoint/
H A DCrashDebugger.cpp217 auto *UsedVar = M->getGlobalVariable(Name, true); in RemoveFunctionReferences()
/freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp164 GlobalVariable *GV = Modules[i]->getGlobalVariable(Name,AllowInternal); in FindGlobalVariableNamed()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp4938 M.getGlobalVariable("llvm.embedded.module", true)) { in EmbedBitcodeInModule()
4961 if (llvm::GlobalVariable *Old = M.getGlobalVariable("llvm.cmdline", true)) { in EmbedBitcodeInModule()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp16534 return M.getGlobalVariable(AIXSSPCanaryWordName); in getSDagStackGuard()

12