Lines Matching refs:UpperBound
159 ConstantInt *UpperBound, BasicBlock *OrigBlock, in NewLeafBlock() argument
177 } else if (Leaf.High == UpperBound) { in NewLeafBlock()
190 Constant *UpperBound = ConstantExpr::getAdd(NegLo, Leaf.High); in NewLeafBlock() local
191 Comp = new ICmpInst(*NewLeaf, ICmpInst::ICMP_ULE, Add, UpperBound, in NewLeafBlock()
231 ConstantInt *UpperBound, Value *Val, in SwitchConvert() argument
235 assert(LowerBound && UpperBound && "Bounds must be initialized"); in SwitchConvert()
243 if (Begin->Low == LowerBound && Begin->High == UpperBound) { in SwitchConvert()
245 NumMergedCases = UpperBound->getSExtValue() - LowerBound->getSExtValue(); in SwitchConvert()
249 return NewLeafBlock(*Begin, Val, LowerBound, UpperBound, OrigBlock, in SwitchConvert()
286 << ", " << UpperBound->getSExtValue() << "]\n"); in SwitchConvert()
300 SwitchConvert(RHS.begin(), RHS.end(), NewLowerBound, UpperBound, Val, in SwitchConvert()
387 ConstantInt *UpperBound = nullptr; in ProcessSwitchInst() local
395 UpperBound = Cases.back().High; in ProcessSwitchInst()
424 UpperBound = ConstantInt::get(SI->getContext(), Max); in ProcessSwitchInst()
507 SwitchConvert(Cases.begin(), Cases.end(), LowerBound, UpperBound, Val, in ProcessSwitchInst()