Lines Matching refs:High
1790 const APInt& High = cast<ConstantInt>(CB.CmpRHS)->getValue(); in visitSwitchCase() local
1796 Cond = DAG.getSetCC(dl, MVT::i1, CmpOp, DAG.getConstant(High, dl, VT), in visitSwitchCase()
1802 DAG.getConstant(High-Low, dl, VT), ISD::SETULE); in visitSwitchCase()
2217 assert(CC.Low == CC.High && "Input clusters must be single-case"); in sortAndRangeify()
2234 (CaseVal->getValue() - Clusters[DstIndex - 1].High->getValue()) == 1) { in sortAndRangeify()
2237 Clusters[DstIndex - 1].High = CaseVal; in sortAndRangeify()
7669 APInt HighCase = Clusters[Last].High->getValue(); in isDense()
7713 APInt High = Clusters[I].High->getValue(); in buildJumpTable() local
7714 NumCmps += (Low == High) ? 1 : 2; in buildJumpTable()
7717 APInt PreviousHigh = Clusters[I - 1].High->getValue(); in buildJumpTable()
7723 uint64_t ClusterSize = (High - Low).getLimitedValue() + 1; in buildJumpTable()
7732 Clusters[Last].High->getValue())) { in buildJumpTable()
7760 Clusters[Last].High->getValue(), SI->getCondition(), in buildJumpTable()
7764 JTCluster = CaseCluster::jumpTable(Clusters[First].Low, Clusters[Last].High, in buildJumpTable()
7778 assert(Clusters[i - 1].High->getValue().slt(Clusters[i].Low->getValue())); in findJumpTables()
7792 APInt Hi = Clusters[i].High->getValue(); in findJumpTables()
7881 bool SelectionDAGBuilder::rangeFitsInWord(const APInt &Low, const APInt &High) { in rangeFitsInWord() argument
7884 uint64_t Range = (High - Low).getLimitedValue(UINT64_MAX - 1) + 1; in rangeFitsInWord()
7891 const APInt &High) { in isSuitableForBitTests() argument
7899 if (!rangeFitsInWord(Low, High)) in isSuitableForBitTests()
7924 NumCmps += (Clusters[I].Low == Clusters[I].High) ? 1 : 2; in buildBitTests()
7929 APInt High = Clusters[Last].High->getValue(); in buildBitTests() local
7930 assert(Low.slt(High)); in buildBitTests()
7932 if (!isSuitableForBitTests(NumDests, NumCmps, Low, High)) in buildBitTests()
7941 assert(rangeFitsInWord(Low, High) && "Case range must fit in bit mask!"); in buildBitTests()
7947 if (Clusters[I].Low->getValue() != Clusters[I - 1].High->getValue() + 1) { in buildBitTests()
7953 if (Low.isStrictlyPositive() && High.slt(BitWidth)) { in buildBitTests()
7957 CmpRange = High; in buildBitTests()
7961 CmpRange = High - Low; in buildBitTests()
7979 uint64_t Hi = (Clusters[i].High->getValue() - LowBound).getZExtValue(); in buildBitTests()
8005 BTCluster = CaseCluster::bitTests(Clusters[First].Low, Clusters[Last].High, in buildBitTests()
8022 assert(Clusters[i-1].High->getValue().slt(Clusters[i].Low->getValue())); in findBitTestClusters()
8063 Clusters[j].High->getValue())) in findBitTestClusters()
8134 if (Small.Low == Small.High && Big.Low == Big.High && in lowerWorkItem()
8293 if (I->Low == I->High) { in lowerWorkItem()
8304 RHS = I->High; in lowerWorkItem()
8431 (FirstLeft->High->getValue() + 1LL) == Pivot->getValue()) { in splitWorkItem()
8447 W.LT && (FirstRight->High->getValue() + 1ULL) == W.LT->getValue()) { in splitWorkItem()
8542 if (C.Low != C.High) { in visitSwitch()
8544 C.High->getValue().print(dbgs(), true); in visitSwitch()