Lines Matching refs:LowerBound
158 BasicBlock *NewLeafBlock(CaseRange &Leaf, Value *Val, ConstantInt *LowerBound, in NewLeafBlock() argument
173 if (Leaf.Low == LowerBound) { in NewLeafBlock()
230 BasicBlock *SwitchConvert(CaseItr Begin, CaseItr End, ConstantInt *LowerBound, 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()
283 LLVM_DEBUG(dbgs() << "LHS Bounds ==> [" << LowerBound->getSExtValue() << ", " in SwitchConvert()
297 SwitchConvert(LHS.begin(), LHS.end(), LowerBound, NewUpperBound, Val, in SwitchConvert()
386 ConstantInt *LowerBound = nullptr; in ProcessSwitchInst() local
394 LowerBound = Cases.front().Low; in ProcessSwitchInst()
423 LowerBound = ConstantInt::get(SI->getContext(), Min); in ProcessSwitchInst()
507 SwitchConvert(Cases.begin(), Cases.end(), LowerBound, UpperBound, Val, in ProcessSwitchInst()