Home
last modified time | relevance | path

Searched refs:GVal (Results 1 – 11 of 11) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/
DMipsInstructionSelector.cpp173 const llvm::GlobalValue *GVal = I.getOperand(1).getGlobal(); in select() local
179 .addGlobalAddress(GVal); in select()
185 .addGlobalAddress(GVal); in select()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Linker/
DLinkModules.cpp133 const GlobalValue *GVal = M.getNamedValue(ComdatName); in getComdatLeader() local
134 if (const auto *GA = dyn_cast_or_null<GlobalAlias>(GVal)) { in getComdatLeader()
135 GVal = GA->getBaseObject(); in getComdatLeader()
136 if (!GVal) in getComdatLeader()
142 GVar = dyn_cast_or_null<GlobalVariable>(GVal); in getComdatLeader()
/external/llvm/lib/Linker/
DLinkModules.cpp149 const GlobalValue *GVal = M.getNamedValue(ComdatName); in getComdatLeader() local
150 if (const auto *GA = dyn_cast_or_null<GlobalAlias>(GVal)) { in getComdatLeader()
151 GVal = GA->getBaseObject(); in getComdatLeader()
152 if (!GVal) in getComdatLeader()
158 GVar = dyn_cast_or_null<GlobalVariable>(GVal); in getComdatLeader()
/external/llvm/lib/Analysis/
DCFLGraph.h181 if (auto GVal = dyn_cast<GlobalValue>(Val)) { variable
182 if (Graph.addNode(InstantiatedValue{GVal, 0},
183 getGlobalOrArgAttrFromValue(*GVal)))
184 Graph.addNode(InstantiatedValue{GVal, 1}, getAttrUnknown());
DConstantFolding.cpp444 GlobalValue *GVal; in FoldReinterpretLoadFromConstPtr() local
446 if (!IsConstantOffsetFromGlobal(C, GVal, OffsetAI, DL)) in FoldReinterpretLoadFromConstPtr()
449 auto *GV = dyn_cast<GlobalVariable>(GVal); in FoldReinterpretLoadFromConstPtr()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DCFLGraph.h209 if (auto GVal = dyn_cast<GlobalValue>(Val)) { variable
210 if (Graph.addNode(InstantiatedValue{GVal, 0},
211 getGlobalOrArgAttrFromValue(*GVal)))
212 Graph.addNode(InstantiatedValue{GVal, 1}, getAttrUnknown());
DConstantFolding.cpp522 GlobalValue *GVal; in FoldReinterpretLoadFromConstPtr() local
524 if (!IsConstantOffsetFromGlobal(C, GVal, OffsetAI, DL)) in FoldReinterpretLoadFromConstPtr()
527 auto *GV = dyn_cast<GlobalVariable>(GVal); in FoldReinterpretLoadFromConstPtr()
/external/llvm/lib/AsmParser/
DLLParser.cpp761 GlobalValue *GVal = nullptr; in parseIndirectSymbol() local
766 GVal = M->getNamedValue(Name); in parseIndirectSymbol()
767 if (GVal) { in parseIndirectSymbol()
774 GVal = I->second.first; in parseIndirectSymbol()
797 if (GVal) { in parseIndirectSymbol()
799 if (GVal->getType() != GA->getType()) in parseIndirectSymbol()
806 GVal->replaceAllUsesWith(GA.get()); in parseIndirectSymbol()
807 GVal->eraseFromParent(); in parseIndirectSymbol()
870 GlobalValue *GVal = nullptr; in ParseGlobal() local
874 GVal = M->getNamedValue(Name); in ParseGlobal()
[all …]
/external/swiftshader/third_party/LLVM/lib/Analysis/
DConstantFolding.cpp392 GlobalValue *GVal; in FoldReinterpretLoadFromConstPtr() local
394 if (!IsConstantOffsetFromGlobal(C, GVal, Offset, TD)) in FoldReinterpretLoadFromConstPtr()
397 GlobalVariable *GV = dyn_cast<GlobalVariable>(GVal); in FoldReinterpretLoadFromConstPtr()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/AsmParser/
DLLParser.cpp918 GlobalValue *GVal = nullptr; in parseIndirectSymbol() local
923 GVal = M->getNamedValue(Name); in parseIndirectSymbol()
924 if (GVal) { in parseIndirectSymbol()
931 GVal = I->second.first; in parseIndirectSymbol()
955 if (GVal) { in parseIndirectSymbol()
957 if (GVal->getType() != GA->getType()) in parseIndirectSymbol()
964 GVal->replaceAllUsesWith(GA.get()); in parseIndirectSymbol()
965 GVal->eraseFromParent(); in parseIndirectSymbol()
1030 GlobalValue *GVal = nullptr; in ParseGlobal() local
1034 GVal = M->getNamedValue(Name); in ParseGlobal()
[all …]
/external/swiftshader/third_party/LLVM/lib/AsmParser/
DLLParser.cpp683 if (GlobalValue *GVal = M->getNamedValue(Name)) { in ParseGlobal() local
684 if (!ForwardRefVals.erase(Name) || !isa<GlobalValue>(GVal)) in ParseGlobal()
686 GV = cast<GlobalVariable>(GVal); in ParseGlobal()