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()
222 ConstantInt *UpperBound, Value *Val, in SwitchConvert() argument
226 assert(LowerBound && UpperBound && "Bounds must be initialized"); in SwitchConvert()
234 if (Begin->Low == LowerBound && Begin->High == UpperBound) { in SwitchConvert()
236 NumMergedCases = UpperBound->getSExtValue() - LowerBound->getSExtValue(); in SwitchConvert()
240 return NewLeafBlock(*Begin, Val, LowerBound, UpperBound, OrigBlock, in SwitchConvert()
277 << ", " << UpperBound->getSExtValue() << "]\n"); in SwitchConvert()
291 SwitchConvert(RHS.begin(), RHS.end(), NewLowerBound, UpperBound, Val, in SwitchConvert()
378 ConstantInt *UpperBound = nullptr; in ProcessSwitchInst() local
386 UpperBound = Cases.back().High; in ProcessSwitchInst()
415 UpperBound = ConstantInt::get(SI->getContext(), Max); in ProcessSwitchInst()
504 SwitchConvert(Cases.begin(), Cases.end(), LowerBound, UpperBound, Val, in ProcessSwitchInst()