Searched refs:GlobalNumbers (Results 1 – 3 of 3) sorted by relevance
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/ |
D | FunctionComparator.h | 63 ValueNumberMap GlobalNumbers; variable 74 std::tie(MapIter, Inserted) = GlobalNumbers.insert({Global, NextNumber}); in getNumber() 81 GlobalNumbers.erase(Global); in erase() 85 GlobalNumbers.clear(); in clear() 97 : FnL(F1), FnR(F2), GlobalNumbers(GN) {} in FunctionComparator() 387 GlobalNumberState* GlobalNumbers; variable
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/ |
D | MergeFunctions.cpp | 202 MergeFunctions() : FnTree(FunctionNodeCmp(&GlobalNumbers)) { in MergeFunctions() 211 GlobalNumberState* GlobalNumbers; member in __anond458ceb70111::MergeFunctions::FunctionNodeCmp 214 FunctionNodeCmp(GlobalNumberState* GN) : GlobalNumbers(GN) {} in FunctionNodeCmp() 220 FunctionComparator FCmp(LHS.getFunc(), RHS.getFunc(), GlobalNumbers); in operator ()() 226 GlobalNumberState GlobalNumbers; member in __anond458ceb70111::MergeFunctions 350 int Res1 = FunctionComparator(F1, F2, &GlobalNumbers).compare(); in doSanityCheck() 351 int Res2 = FunctionComparator(F2, F1, &GlobalNumbers).compare(); in doSanityCheck() 371 int Res3 = FunctionComparator(F1, F3, &GlobalNumbers).compare(); in doSanityCheck() 372 int Res4 = FunctionComparator(F2, F3, &GlobalNumbers).compare(); in doSanityCheck() 459 GlobalNumbers.clear(); in runOnModule() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | FunctionComparator.cpp | 398 uint64_t LNumber = GlobalNumbers->getNumber(L); in cmpGlobalValues() 399 uint64_t RNumber = GlobalNumbers->getNumber(R); in cmpGlobalValues()
|