Lines Matching full:high

54   APInt Low, High;  member
64 // Find the first range whose High field is >= R.High, in IsInRanges()
68 Ranges, R, [](IntRange A, IntRange B) { return A.High.slt(B.High); }); in IsInRanges()
74 ConstantInt *High; member
77 CaseRange(ConstantInt *low, ConstantInt *high, BasicBlock *bb) in CaseRange()
78 : Low(low), High(high), BB(bb) {} in CaseRange()
89 const ConstantInt *CI2 = cast<const ConstantInt>(C2.High); in operator ()()
100 O << "[" << B->Low->getValue() << ", " << B->High->getValue() << "]"; in operator <<()
165 if (Leaf.Low == Leaf.High) { in NewLeafBlock()
173 Comp = new ICmpInst(NewLeaf, ICmpInst::ICMP_SLE, Val, Leaf.High, in NewLeafBlock()
175 } else if (Leaf.High == UpperBound) { in NewLeafBlock()
181 Comp = new ICmpInst(NewLeaf, ICmpInst::ICMP_ULE, Val, Leaf.High, in NewLeafBlock()
188 Constant *UpperBound = ConstantExpr::getAdd(NegLo, Leaf.High); in NewLeafBlock()
210 APInt Range = Leaf.High->getValue() - Leaf.Low->getValue(); in NewLeafBlock()
241 if (Begin->Low == LowerBound && Begin->High == UpperBound) { in SwitchConvert()
258 << Pivot.High->getValue() << "]\n"); in SwitchConvert()
273 APInt GapLow = LHS.back().High->getValue() + 1; in SwitchConvert()
277 NewUpperBound = LHS.back().High; in SwitchConvert()
328 const APInt &currentValue = I->High->getValue(); in Clusterify()
337 I->High = J->High; in Clusterify()
398 UpperBound = Cases.back().High; in ProcessSwitchInst()
423 const APInt &High = Cases.back().High->getValue(); in ProcessSwitchInst() local
425 APInt Max = APIntOps::smax(ValRange.getSignedMax(), High); in ProcessSwitchInst()
445 const APInt &High = I.High->getValue(); in ProcessSwitchInst() local
454 LastRange.High = Low - 1; in ProcessSwitchInst()
456 if (High.ne(SignedMax)) { in ProcessSwitchInst()
457 IntRange R = {High + 1, SignedMax}; in ProcessSwitchInst()
462 assert(High.sge(Low) && "Popularity shouldn't be negative."); in ProcessSwitchInst()
463 APInt N = High.sext(BitWidth + 1) - Low.sext(BitWidth + 1) + 1; in ProcessSwitchInst()
475 assert(I->Low.sle(I->High)); in ProcessSwitchInst()
478 assert(Next->Low.sgt(I->High)); in ProcessSwitchInst()