Home
last modified time | relevance | path

Searched refs:getNamedGlobal (Results 1 – 25 of 55) sorted by relevance

123

/external/llvm-project/llvm/tools/llvm-reduce/deltas/
DReduceSpecialGlobals.cpp35 if (auto *Used = Program->getNamedGlobal(Name)) { in extractSpecialGlobalsFromModule()
50 if (auto *Used = Program->getNamedGlobal(Name)) in countSpecialGlobals()
/external/llvm/lib/ExecutionEngine/Orc/
DExecutionUtils.cpp75 const GlobalVariable *CtorsList = M.getNamedGlobal("llvm.global_ctors"); in getConstructors()
81 const GlobalVariable *DtorsList = M.getNamedGlobal("llvm.global_dtors"); in getDestructors()
/external/llvm-project/flang/include/flang/Lower/
DFIRBuilder.h146 fir::GlobalOp getNamedGlobal(llvm::StringRef name) { in getNamedGlobal() function
147 return getNamedGlobal(getModule(), name); in getNamedGlobal()
150 static fir::GlobalOp getNamedGlobal(mlir::ModuleOp module,
/external/llvm/unittests/Linker/
DLinkModulesTest.cpp105 const GlobalVariable *LinkedGV = LinkedModule->getNamedGlobal("switch.bas"); in TEST_F()
201 EXPECT_EQ(M1->getNamedGlobal("t1")->getType(), in TEST_F()
202 M1->getNamedGlobal("t2")->getType()); in TEST_F()
/external/llvm-project/llvm/unittests/Linker/
DLinkModulesTest.cpp104 const GlobalVariable *LinkedGV = LinkedModule->getNamedGlobal("switch.bas"); in TEST_F()
200 EXPECT_EQ(M1->getNamedGlobal("t1")->getType(), in TEST_F()
201 M1->getNamedGlobal("t2")->getType()); in TEST_F()
/external/llvm/include/llvm/IR/
DModule.h372 GlobalVariable *getNamedGlobal(StringRef Name) {
375 const GlobalVariable *getNamedGlobal(StringRef Name) const {
376 return const_cast<Module *>(this)->getNamedGlobal(Name);
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DModule.h406 const GlobalVariable *getNamedGlobal(StringRef Name) const { in getNamedGlobal() function
409 GlobalVariable *getNamedGlobal(StringRef Name) { in getNamedGlobal() function
411 static_cast<const Module *>(this)->getNamedGlobal(Name)); in getNamedGlobal()
/external/llvm-project/llvm/include/llvm/IR/
DModule.h410 const GlobalVariable *getNamedGlobal(StringRef Name) const { in getNamedGlobal() function
413 GlobalVariable *getNamedGlobal(StringRef Name) { in getNamedGlobal() function
415 static_cast<const Module *>(this)->getNamedGlobal(Name)); in getNamedGlobal()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Orc/
DExecutionUtils.cpp105 const GlobalVariable *CtorsList = M.getNamedGlobal("llvm.global_ctors"); in getConstructors()
111 const GlobalVariable *DtorsList = M.getNamedGlobal("llvm.global_dtors"); in getDestructors()
/external/llvm-project/llvm/lib/ExecutionEngine/Orc/
DExecutionUtils.cpp81 const GlobalVariable *CtorsList = M.getNamedGlobal("llvm.global_ctors"); in getConstructors()
87 const GlobalVariable *DtorsList = M.getNamedGlobal("llvm.global_dtors"); in getDestructors()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DLowerEmuTLS.cpp90 GlobalVariable *EmuTlsVar = M.getNamedGlobal(EmuTlsVarName); in addEmuTlsVar()
/external/llvm-project/llvm/lib/CodeGen/
DLowerEmuTLS.cpp91 GlobalVariable *EmuTlsVar = M.getNamedGlobal(EmuTlsVarName); in addEmuTlsVar()
/external/llvm/lib/CodeGen/
DLowerEmuTLS.cpp88 GlobalVariable *EmuTlsVar = M.getNamedGlobal(EmuTlsVarName); in addEmuTlsVar()
/external/llvm/lib/Transforms/Utils/
DModuleUtils.cpp32 if (GlobalVariable *GVCtor = M.getNamedGlobal(Array)) { in appendToGlobalArray()
/external/llvm/tools/bugpoint/
DExtractFunction.cpp253 GlobalVariable *GV = M1->getNamedGlobal(GlobalName); in SplitStaticCtorDtor()
295 GV = M2->getNamedGlobal(GlobalName); in SplitStaticCtorDtor()
/external/llvm-project/llvm/tools/bugpoint/
DExtractFunction.cpp249 GlobalVariable *GV = M1->getNamedGlobal(GlobalName); in SplitStaticCtorDtor()
293 GV = M2->getNamedGlobal(GlobalName); in SplitStaticCtorDtor()
/external/llvm/tools/llvm-extract/
Dllvm-extract.cpp160 GlobalValue *GV = M->getNamedGlobal(ExtractGlobals[i]); in main()
/external/llvm-project/flang/lib/Lower/
DFIRBuilder.cpp31 Fortran::lower::FirOpBuilder::getNamedGlobal(mlir::ModuleOp modOp, in getNamedGlobal() function in Fortran::lower::FirOpBuilder
/external/llvm-project/clang/lib/CodeGen/
DMicrosoftCXXABI.cpp334 if (auto *VDispMap = CGM.getModule().getNamedGlobal(MangledName)) in getAddrOfVirtualDisplacementMap()
532 if (llvm::GlobalVariable *GV = CGM.getModule().getNamedGlobal(Name)) in getImageBase()
1833 CGM.getModule().getNamedGlobal(VFTableName)) { in getAddrOfVTable()
2106 assert(!CGM.getModule().getNamedGlobal(Name) && in getAddrOfVBTable()
2399 if (auto *GV = CGM.getModule().getNamedGlobal(VarName)) in getInitThreadEpochPtr()
3473 if (auto VTable = CGM.getModule().getNamedGlobal(MangledName)) in getTypeInfoVTable()
3630 if (auto CHD = Module.getNamedGlobal(MangledName)) in getClassHierarchyDescriptor()
3731 if (auto BCD = Module.getNamedGlobal(MangledName)) in getBaseClassDescriptor()
3767 if (auto COL = Module.getNamedGlobal(MangledName)) in getCompleteObjectLocator()
3877 if (llvm::GlobalVariable *GV = CGM.getModule().getNamedGlobal(MangledName)) in getAddrOfRTTIDescriptor()
[all …]
DCGObjCGNU.cpp1008 llvm::Constant *isa = TheModule.getNamedGlobal(Sym); in GenerateConstantString()
1212 auto *ClassSymbol = TheModule.getNamedGlobal(SymbolName); in GetClassVar()
1467 if (auto *GV = TheModule.getNamedGlobal(SelVarName)) in GetConstantSelector()
1687 llvm::GlobalVariable *IvarOffsetPointer = TheModule.getNamedGlobal(Name); in EmitIvarOffset()
1772 SuperClass = TheModule.getNamedGlobal(SuperClassName); in GenerateClass()
1969 TheModule.getNamedGlobal(SymbolForClass(className))) in GenerateClass()
2481 llvm::Constant *isa = TheModule.getNamedGlobal(Sym); in GenerateConstantString()
2981 llvm::GlobalVariable *ClassRef = TheModule.getNamedGlobal(ClassSym); in GenerateClassStructure()
3566 llvm::GlobalVariable *offset = TheModule.getNamedGlobal(Name); in GenerateClass()
4040 llvm::GlobalVariable *IvarOffsetPointer = TheModule.getNamedGlobal(Name); in ObjCIvarOffsetVariable()
/external/clang/lib/CodeGen/
DMicrosoftCXXABI.cpp319 if (auto *VDispMap = CGM.getModule().getNamedGlobal(MangledName)) in getAddrOfVirtualDisplacementMap()
515 if (llvm::GlobalVariable *GV = CGM.getModule().getNamedGlobal(Name)) in getImageBase()
1683 CGM.getModule().getNamedGlobal(VFTableName)) { in getAddrOfVTable()
1977 assert(!CGM.getModule().getNamedGlobal(Name) && in getAddrOfVBTable()
2256 if (auto *GV = CGM.getModule().getNamedGlobal(VarName)) in getInitThreadEpochPtr()
3311 if (auto VTable = CGM.getModule().getNamedGlobal(MangledName)) in getTypeInfoVTable()
3466 if (auto CHD = Module.getNamedGlobal(MangledName)) in getClassHierarchyDescriptor()
3567 if (auto BCD = Module.getNamedGlobal(MangledName)) in getBaseClassDescriptor()
3603 if (auto COL = Module.getNamedGlobal(MangledName)) in getCompleteObjectLocator()
3713 if (llvm::GlobalVariable *GV = CGM.getModule().getNamedGlobal(MangledName)) in getAddrOfRTTIDescriptor()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DModuleUtils.cpp33 if (GlobalVariable *GVCtor = M.getNamedGlobal(Array)) { in appendToGlobalArray()
/external/llvm-project/llvm/tools/llvm-extract/
Dllvm-extract.cpp194 GlobalValue *GV = M->getNamedGlobal(ExtractGlobals[i]); in main()
/external/llvm-project/llvm/lib/Transforms/Utils/
DModuleUtils.cpp35 if (GlobalVariable *GVCtor = M.getNamedGlobal(Array)) { in appendToGlobalArray()
/external/llvm/lib/Transforms/Instrumentation/
DInstrProfiling.cpp151 M.getNamedGlobal(getCoverageUnusedNamesVarName())) { in run()

123