Lines Matching refs:Low

54   APInt Low, High;  member
69 return I != Ranges.end() && I->Low.sle(R.Low); in IsInRanges()
73 ConstantInt *Low; member
78 : Low(low), High(high), BB(bb) {} in CaseRange()
88 const ConstantInt *CI1 = cast<const ConstantInt>(C1.Low); in operator ()()
100 O << "[" << B->Low->getValue() << ", " << B->High->getValue() << "]"; in operator <<()
165 if (Leaf.Low == Leaf.High) { in NewLeafBlock()
168 new ICmpInst(NewLeaf, ICmpInst::ICMP_EQ, Val, Leaf.Low, "SwitchLeaf"); in NewLeafBlock()
171 if (Leaf.Low == LowerBound) { in NewLeafBlock()
177 Comp = new ICmpInst(NewLeaf, ICmpInst::ICMP_SGE, Val, Leaf.Low, in NewLeafBlock()
179 } else if (Leaf.Low->isZero()) { in NewLeafBlock()
185 Constant *NegLo = ConstantExpr::getNeg(Leaf.Low); in NewLeafBlock()
210 APInt Range = Leaf.High->getValue() - Leaf.Low->getValue(); in NewLeafBlock()
241 if (Begin->Low == LowerBound && Begin->High == UpperBound) { in SwitchConvert()
257 LLVM_DEBUG(dbgs() << "Pivot ==> [" << Pivot.Low->getValue() << ", " in SwitchConvert()
264 ConstantInt *NewLowerBound = Pivot.Low; in SwitchConvert()
290 ICmpInst *Comp = new ICmpInst(ICmpInst::ICMP_SLT, Val, Pivot.Low, "Pivot"); in SwitchConvert()
327 const APInt &nextValue = J->Low->getValue(); in Clusterify()
397 LowerBound = Cases.front().Low; in ProcessSwitchInst()
422 const APInt &Low = Cases.front().Low->getValue(); in ProcessSwitchInst() local
424 APInt Min = APIntOps::smin(ValRange.getSignedMin(), Low); in ProcessSwitchInst()
444 const APInt &Low = I.Low->getValue(); in ProcessSwitchInst() local
448 if (LastRange.Low.eq(Low)) { in ProcessSwitchInst()
453 assert(Low.sgt(LastRange.Low)); in ProcessSwitchInst()
454 LastRange.High = Low - 1; 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()