Lines Matching defs:UpperBound
157 ConstantInt *UpperBound, BasicBlock *OrigBlock,
175 } else if (Leaf.High == UpperBound) {
188 Constant *UpperBound = ConstantExpr::getAdd(NegLo, Leaf.High);
189 Comp = new ICmpInst(NewLeaf, ICmpInst::ICMP_ULE, Add, UpperBound,
224 /// The function recursively builds this tree. LowerBound and UpperBound are
229 ConstantInt *UpperBound, Value *Val,
233 assert(LowerBound && UpperBound && "Bounds must be initialized");
241 if (Begin->Low == LowerBound && Begin->High == UpperBound) {
242 APInt NumMergedCases = UpperBound->getValue() - LowerBound->getValue();
246 return NewLeafBlock(*Begin, Val, LowerBound, UpperBound, OrigBlock,
283 << UpperBound->getValue() << "]\n");
296 SwitchConvert(RHS.begin(), RHS.end(), NewLowerBound, UpperBound, Val,
390 ConstantInt *UpperBound = nullptr;
398 UpperBound = Cases.back().High;
428 UpperBound = ConstantInt::get(SI->getContext(), Max);
514 SwitchConvert(Cases.begin(), Cases.end(), LowerBound, UpperBound, Val,