Lines Matching defs:UpperBound
155 ConstantInt *UpperBound, BasicBlock *OrigBlock,
173 } else if (Leaf.High == UpperBound) {
186 Constant *UpperBound = ConstantExpr::getAdd(NegLo, Leaf.High);
187 Comp = new ICmpInst(NewLeaf, ICmpInst::ICMP_ULE, Add, UpperBound,
222 /// The function recursively builds this tree. LowerBound and UpperBound are
227 ConstantInt *UpperBound, Value *Val,
231 assert(LowerBound && UpperBound && "Bounds must be initialized");
239 if (Begin->Low == LowerBound && Begin->High == UpperBound) {
240 APInt NumMergedCases = UpperBound->getValue() - LowerBound->getValue();
244 return NewLeafBlock(*Begin, Val, LowerBound, UpperBound, OrigBlock,
281 << UpperBound->getValue() << "]\n");
294 SwitchConvert(RHS.begin(), RHS.end(), NewLowerBound, UpperBound, Val,
388 ConstantInt *UpperBound = nullptr;
396 UpperBound = Cases.back().High;
426 UpperBound = ConstantInt::get(SI->getContext(), Max);
512 SwitchConvert(Cases.begin(), Cases.end(), LowerBound, UpperBound, Val,