Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DModule.h387 GlobalVariable *getGlobalVariable(StringRef Name) const { in getGlobalVariable() function
388 return getGlobalVariable(Name, false); in getGlobalVariable()
391 GlobalVariable *getGlobalVariable(StringRef Name, bool AllowInternal) const;
393 GlobalVariable *getGlobalVariable(StringRef Name,
395 return static_cast<const Module *>(this)->getGlobalVariable(Name,
403 return getGlobalVariable(Name, true); in getNamedGlobal()
/freebsd-12.1/contrib/llvm/lib/Transforms/IPO/
H A DConstantMerge.cpp128 FindUsedValues(M.getGlobalVariable("llvm.used"), UsedGlobals); in mergeConstants()
129 FindUsedValues(M.getGlobalVariable("llvm.compiler.used"), UsedGlobals); in mergeConstants()
H A DStripSymbols.cpp208 findUsedValues(M.getGlobalVariable("llvm.used"), llvmUsedValues); in StripSymbolNames()
209 findUsedValues(M.getGlobalVariable("llvm.compiler.used"), llvmUsedValues); in StripSymbolNames()
/freebsd-12.1/contrib/llvm/lib/Transforms/ObjCARC/
H A DObjCARCAPElim.cpp146 GlobalVariable *GV = M.getGlobalVariable("llvm.global_ctors"); in runOnModule()
/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DCtorUtils.cpp82 GlobalVariable *GV = M.getGlobalVariable("llvm.global_ctors"); in findGlobalCtors()
H A DSymbolRewriter.cpp218 GlobalVariable, &Module::getGlobalVariable>;
239 GlobalVariable, &Module::getGlobalVariable,
H A DModuleUtils.cpp93 GlobalVariable *GV = M.getGlobalVariable(Name); in appendToUsedList()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGObjCGNU.cpp219 auto *ConstStr = TheModule.getGlobalVariable(name); in ExportUniqueString()
1248 auto *GV = TheModule.getGlobalVariable(Name); in GenerateEmptyProtocol()
1270 assert(!TheModule.getGlobalVariable(RefName)); in GenerateProtocolRef()
1310 auto *OldGV = TheModule.getGlobalVariable(SymName); in GenerateProtocolRef()
1391 auto *TypesGlobal = TheModule.getGlobalVariable(TypesVarName); in GetTypeString()
2005 if (TheModule.getGlobalVariable(symbolRef)) in EmitClassRef()
2296 CGM.getModule().getGlobalVariable("__objc_id_type_info"); in GetEHType()
2316 llvm::Constant *typeinfo = TheModule.getGlobalVariable(typeinfoName); in GetEHType()
2326 auto *Vtable = TheModule.getGlobalVariable(vtableName); in GetEHType()
3293 if (auto *symbol = TheModule.getGlobalVariable(classSymbolName)) { in GenerateClass()
[all …]
H A DCGObjCMac.cpp3543 llvm::GlobalVariable *GV = CGM.getModule().getGlobalVariable(Name, true); in GenerateClass()
3606 llvm::GlobalVariable *GV = CGM.getModule().getGlobalVariable(Name, true); in EmitMetaClass()
3633 llvm::GlobalVariable *GV = CGM.getModule().getGlobalVariable(Name, true); in EmitMetaClassRef()
3646 llvm::GlobalVariable *GV = CGM.getModule().getGlobalVariable(Name, true); in EmitSuperClassRef()
6445 llvm::GlobalVariable *PTGV = CGM.getModule().getGlobalVariable(ProtocolName); in GenerateProtocolRef()
6660 llvm::GlobalVariable *IvarOffsetGV = CGM.getModule().getGlobalVariable(Name); in ObjCIvarOffsetVariable()
6947 CGM.getModule().getGlobalVariable(TmpName.str(), true); in EmitProtocolList()
7103 = CGM.getModule().getGlobalVariable(messageRefName); in EmitVTableMessageSend()
7191 llvm::GlobalVariable *GV = CGM.getModule().getGlobalVariable(Name); in GetClassGlobal()
7521 auto *IDEHType = CGM.getModule().getGlobalVariable("OBJC_EHTYPE_id"); in GetEHType()
[all …]
H A DBackendUtil.cpp1410 M->getGlobalVariable("llvm.embedded.module", true)) { in EmbedBitcode()
1433 M->getGlobalVariable("llvm.cmdline", true)) { in EmbedBitcode()
H A DCGOpenMPRuntimeNVPTX.cpp3170 M.getGlobalVariable(TransferMediumName); in emitInterWarpCopyFunction()
/freebsd-12.1/contrib/llvm/lib/Target/WebAssembly/
H A DWebAssemblyLowerGlobalDtors.cpp64 GlobalVariable *GV = M.getGlobalVariable("llvm.global_dtors"); in runOnModule()
/freebsd-12.1/contrib/llvm/lib/IR/
H A DModule.cpp191 GlobalVariable *Module::getGlobalVariable(StringRef Name, in getGlobalVariable() function in Module
599 GlobalVariable *GV = M.getGlobalVariable(Name); in collectUsedGlobalVariables()
/freebsd-12.1/contrib/llvm/lib/ExecutionEngine/MCJIT/
H A DMCJIT.cpp307 GlobalVariable *G = M->getGlobalVariable(DemangledName); in findModuleForSymbol()
476 GlobalVariable *GV = (*I)->getGlobalVariable(Name, AllowInternal); in FindGlobalVariableNamedInModulePtrSet()
/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DShadowStackGCLowering.cpp207 Head = M.getGlobalVariable("llvm_gc_root_chain"); in doInitialization()
H A DGlobalMerge.cpp566 const GlobalVariable *GV = M.getGlobalVariable(Name); in collectUsedGlobalVariables()
/freebsd-12.1/contrib/llvm/lib/Transforms/Instrumentation/
H A DInstrProfiling.cpp936 if (M->getGlobalVariable(getInstrProfRuntimeHookVarName())) in emitRuntimeHook()
H A DAddressSanitizer.cpp1633 GlobalVariable *GV = M.getGlobalVariable("llvm.global_ctors"); in createInitializerPoisonCalls()
/freebsd-12.1/contrib/llvm/tools/bugpoint/
H A DCrashDebugger.cpp213 auto *UsedVar = M->getGlobalVariable(Name, true); in RemoveFunctionReferences()
/freebsd-12.1/contrib/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp168 GlobalVariable *GV = Modules[i]->getGlobalVariable(Name,AllowInternal); in FindGlobalVariableNamed()
/freebsd-12.1/contrib/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp11757 return M.getGlobalVariable("__security_cookie"); in getSDagStackGuard()
/freebsd-12.1/contrib/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp2302 return M.getGlobalVariable("__security_cookie"); in getSDagStackGuard()