Home
last modified time | relevance | path

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

12

/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DModule.h408 GlobalVariable *getGlobalVariable(StringRef Name) const { in getGlobalVariable() function
409 return getGlobalVariable(Name, false); in getGlobalVariable()
412 GlobalVariable *getGlobalVariable(StringRef Name, bool AllowInternal) const;
414 GlobalVariable *getGlobalVariable(StringRef Name,
416 return static_cast<const Module *>(this)->getGlobalVariable(Name,
424 return getGlobalVariable(Name, true); in getNamedGlobal()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/ObjCARC/
H A DObjCARCAPElim.cpp114 GlobalVariable *GV = M.getGlobalVariable("llvm.global_ctors"); in runImpl()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGObjCGNU.cpp210 auto *ConstStr = TheModule.getGlobalVariable(name); in ExportUniqueString()
1300 auto *GV = TheModule.getGlobalVariable(Name); in GenerateEmptyProtocol()
1322 assert(!TheModule.getGlobalVariable(RefName)); in GenerateProtocolRef()
1363 auto *OldGV = TheModule.getGlobalVariable(SymName); in GenerateProtocolRef()
1446 auto *TypesGlobal = TheModule.getGlobalVariable(TypesVarName); in GetTypeString()
1654 auto *global = TheModule.getGlobalVariable(lateInit.first); in ModuleInitFunction()
1852 llvm::GlobalVariable *OffsetVar = TheModule.getGlobalVariable(OffsetName); in GenerateClass()
2091 llvm::GlobalVariable *ClassSymbol = TheModule.getGlobalVariable(SymbolName); in GetClassNamed()
2120 if (TheModule.getGlobalVariable(symbolRef)) in EmitClassRef()
2123 llvm::GlobalVariable *ClassSymbol = TheModule.getGlobalVariable(symbolName); in EmitClassRef()
[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.cpp2679 M.getGlobalVariable(TransferMediumName); in emitInterWarpCopyFunction()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DMIRFSDiscriminator.cpp132 if (!M->getGlobalVariable(FSDiscriminatorVar)) { in runOnMachineFunction()
H A DShadowStackGCLowering.cpp211 Head = M.getGlobalVariable("llvm_gc_root_chain"); in doInitialization()
H A DGlobalMerge.cpp570 const GlobalVariable *GV = M.getGlobalVariable(Name); in collectUsedGlobalVariables()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/
H A DWebAssemblyLowerGlobalDtors.cpp63 GlobalVariable *GV = M.getGlobalVariable("llvm.global_dtors"); in runOnModule()
H A DWebAssemblyLowerEmscriptenEHSjLj.cpp297 static GlobalVariable *getGlobalVariable(Module &M, Type *Ty, in getGlobalVariable() function
705 ThrewGV = getGlobalVariable(M, getAddrIntType(&M), TM, "__THREW__"); in runOnModule()
706 ThrewValueGV = getGlobalVariable(M, IRB.getInt32Ty(), TM, "__threwValue"); in runOnModule()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/MCJIT/
H A DMCJIT.cpp312 GlobalVariable *G = M->getGlobalVariable(DemangledName); in findModuleForSymbol()
481 GlobalVariable *GV = (*I)->getGlobalVariable(Name, AllowInternal); in FindGlobalVariableNamedInModulePtrSet()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DModule.cpp189 GlobalVariable *Module::getGlobalVariable(StringRef Name, in getGlobalVariable() function in Module
766 GlobalVariable *GV = M.getGlobalVariable(Name); in collectUsedGlobalVariables()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/
H A DInstrProfiling.cpp691 GlobalVariable *Bias = M->getGlobalVariable(getInstrProfCounterBiasVarName()); in lowerIncrement()
1086 if (M->getGlobalVariable(getInstrProfRuntimeHookVarName())) in emitRuntimeHook()
H A DAddressSanitizer.cpp1847 GlobalVariable *GV = M.getGlobalVariable("llvm.global_ctors"); in createInitializerPoisonCalls()
/netbsd-src/external/apache2/llvm/dist/llvm/examples/ExceptionDemo/
H A DExceptionDemo.cpp1227 caughtResult->addClause(module.getGlobalVariable( in createCatchWrappedInvokeFunction()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/bugpoint/
H A DCrashDebugger.cpp217 auto *UsedVar = M->getGlobalVariable(Name, true); in RemoveFunctionReferences()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp164 GlobalVariable *GV = Modules[i]->getGlobalVariable(Name,AllowInternal); in FindGlobalVariableNamed()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp4934 M.getGlobalVariable("llvm.embedded.module", true)) { in EmbedBitcodeInModule()
4957 if (llvm::GlobalVariable *Old = M.getGlobalVariable("llvm.cmdline", true)) { in EmbedBitcodeInModule()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp17047 return M.getGlobalVariable("__security_cookie"); in getSDagStackGuard()

12