/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/ |
D | MipsInstructionSelector.cpp | 173 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/ |
D | LinkModules.cpp | 133 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/ |
D | LinkModules.cpp | 149 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/ |
D | CFLGraph.h | 181 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());
|
D | ConstantFolding.cpp | 444 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/ |
D | CFLGraph.h | 209 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());
|
D | ConstantFolding.cpp | 522 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/ |
D | LLParser.cpp | 761 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/ |
D | ConstantFolding.cpp | 392 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/ |
D | LLParser.cpp | 918 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/ |
D | LLParser.cpp | 683 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()
|