Lines Matching refs:Last

24                                      unsigned First, unsigned Last) {  in getJumpTableRange()  argument
25 assert(Last >= First); in getJumpTableRange()
27 const APInt &HighCase = Clusters[Last].High->getValue(); in getJumpTableRange()
38 unsigned First, unsigned Last) { in getJumpTableNumCases() argument
39 assert(Last >= First); in getJumpTableNumCases()
40 assert(TotalCases[Last] >= TotalCases[First]); in getJumpTableNumCases()
42 TotalCases[Last] - (First == 0 ? 0 : TotalCases[First - 1]); in getJumpTableNumCases()
174 for (unsigned First = 0, Last; First < N; First = Last + 1) { in findJumpTables() local
175 Last = LastElement[First]; in findJumpTables()
176 assert(Last >= First); in findJumpTables()
178 unsigned NumClusters = Last - First + 1; in findJumpTables()
182 buildJumpTable(Clusters, First, Last, SI, SL, DefaultMBB, JTCluster)) { in findJumpTables()
185 for (unsigned I = First; I <= Last; ++I) in findJumpTables()
193 unsigned First, unsigned Last, in buildJumpTable() argument
198 assert(First <= Last); in buildJumpTable()
206 for (unsigned I = First; I <= Last; ++I) in buildJumpTable()
209 for (unsigned I = First; I <= Last; ++I) { in buildJumpTable()
232 Clusters[Last].High->getValue(), *DL)) { in buildJumpTable()
259 Clusters[Last].High->getValue(), SI->getCondition(), in buildJumpTable()
263 JTCluster = CaseCluster::jumpTable(Clusters[First].Low, Clusters[Last].High, in buildJumpTable()
349 for (unsigned First = 0, Last; First < N; First = Last + 1) { in findBitTestClusters() local
350 Last = LastElement[First]; in findBitTestClusters()
351 assert(First <= Last); in findBitTestClusters()
355 if (buildBitTests(Clusters, First, Last, SI, BitTestCluster)) { in findBitTestClusters()
358 size_t NumClusters = Last - First + 1; in findBitTestClusters()
368 unsigned First, unsigned Last, in buildBitTests() argument
371 assert(First <= Last); in buildBitTests()
372 if (First == Last) in buildBitTests()
377 for (int64_t I = First; I <= Last; ++I) { in buildBitTests()
385 APInt High = Clusters[Last].High->getValue(); in buildBitTests()
401 for (int64_t I = First + 1; I <= Last; ++I) { in buildBitTests()
421 for (unsigned i = First; i <= Last; ++i) { in buildBitTests()
462 BTCluster = CaseCluster::bitTests(Clusters[First].Low, Clusters[Last].High, in buildBitTests()
501 CaseClusterIt Last) { in caseClusterRank() argument
502 return std::count_if(First, Last + 1, [&](const CaseCluster &X) { in caseClusterRank()