Lines Matching refs:LowerBound
156 BasicBlock *NewLeafBlock(CaseRange &Leaf, Value *Val, ConstantInt *LowerBound, in NewLeafBlock() argument
171 if (Leaf.Low == LowerBound) { in NewLeafBlock()
221 BasicBlock *SwitchConvert(CaseItr Begin, CaseItr End, ConstantInt *LowerBound, 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()
274 LLVM_DEBUG(dbgs() << "LHS Bounds ==> [" << LowerBound->getSExtValue() << ", " in SwitchConvert()
288 SwitchConvert(LHS.begin(), LHS.end(), LowerBound, NewUpperBound, Val, in SwitchConvert()
377 ConstantInt *LowerBound = nullptr; in ProcessSwitchInst() local
385 LowerBound = Cases.front().Low; in ProcessSwitchInst()
414 LowerBound = ConstantInt::get(SI->getContext(), Min); in ProcessSwitchInst()
504 SwitchConvert(Cases.begin(), Cases.end(), LowerBound, UpperBound, Val, in ProcessSwitchInst()