Home
last modified time | relevance | path

Searched refs:GlobalNumbers (Results 1 – 6 of 6) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Utils/
DFunctionComparator.h64 ValueNumberMap GlobalNumbers; variable
75 std::tie(MapIter, Inserted) = GlobalNumbers.insert({Global, NextNumber}); in getNumber()
82 GlobalNumbers.erase(Global); in erase()
86 GlobalNumbers.clear(); in clear()
98 : FnL(F1), FnR(F2), GlobalNumbers(GN) {} in FunctionComparator()
388 GlobalNumberState* GlobalNumbers; variable
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
DMergeFunctions.cpp200 : ModulePass(ID), FnTree(FunctionNodeCmp(&GlobalNumbers)) { in MergeFunctions()
210 GlobalNumberState* GlobalNumbers; member in __anonfe2526880111::MergeFunctions::FunctionNodeCmp
213 FunctionNodeCmp(GlobalNumberState* GN) : GlobalNumbers(GN) {} in FunctionNodeCmp()
219 FunctionComparator FCmp(LHS.getFunc(), RHS.getFunc(), GlobalNumbers); in operator ()()
225 GlobalNumberState GlobalNumbers; member in __anonfe2526880111::MergeFunctions
317 int Res1 = FunctionComparator(F1, F2, &GlobalNumbers).compare(); in doSanityCheck()
318 int Res2 = FunctionComparator(F2, F1, &GlobalNumbers).compare(); in doSanityCheck()
338 int Res3 = FunctionComparator(F1, F3, &GlobalNumbers).compare(); in doSanityCheck()
339 int Res4 = FunctionComparator(F2, F3, &GlobalNumbers).compare(); in doSanityCheck()
428 GlobalNumbers.clear(); in runOnModule()
[all …]
/external/llvm/lib/Transforms/IPO/
DMergeFunctions.cpp153 ValueNumberMap GlobalNumbers; member in __anon7fe985500111::GlobalNumberState
157 GlobalNumberState() : GlobalNumbers(), NextNumber(0) {} in GlobalNumberState()
161 std::tie(MapIter, Inserted) = GlobalNumbers.insert({Global, NextNumber}); in getNumber()
167 GlobalNumbers.clear(); in clear()
179 : FnL(F1), FnR(F2), GlobalNumbers(GN) {} in FunctionComparator()
452 GlobalNumberState* GlobalNumbers; member in __anon7fe985500111::FunctionComparator
805 return cmpNumbers(GlobalNumbers->getNumber(L), GlobalNumbers->getNumber(R)); in cmpGlobalValues()
1375 : ModulePass(ID), FnTree(FunctionNodeCmp(&GlobalNumbers)), FNodesInTree(), in MergeFunctions()
1386 GlobalNumberState* GlobalNumbers; member in __anon7fe985500411::MergeFunctions::FunctionNodeCmp
1388 FunctionNodeCmp(GlobalNumberState* GN) : GlobalNumbers(GN) {} in FunctionNodeCmp()
[all …]
/external/llvm/test/Transforms/MergeFunc/
Dcrash2.ll4 ; MergeFunctions clears its GlobalNumbers value map. If this map still contains
7 ; RAUW on @G which still exists as an entry in the GlobalNumbers ValueMap which
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/MergeFunc/
Dcrash2.ll4 ; MergeFunctions clears its GlobalNumbers value map. If this map still contains
7 ; RAUW on @G which still exists as an entry in the GlobalNumbers ValueMap which
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DFunctionComparator.cpp386 uint64_t LNumber = GlobalNumbers->getNumber(L); in cmpGlobalValues()
387 uint64_t RNumber = GlobalNumbers->getNumber(R); in cmpGlobalValues()