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