Lines Matching refs:LowerBound
156 BasicBlock *NewLeafBlock(CaseRange &Leaf, Value *Val, ConstantInt *LowerBound, in NewLeafBlock() argument
171 if (Leaf.Low == LowerBound) { in NewLeafBlock()
228 BasicBlock *SwitchConvert(CaseItr Begin, CaseItr End, ConstantInt *LowerBound, 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()
280 LLVM_DEBUG(dbgs() << "LHS Bounds ==> [" << LowerBound->getValue() << ", " in SwitchConvert()
293 SwitchConvert(LHS.begin(), LHS.end(), LowerBound, NewUpperBound, Val, in SwitchConvert()
389 ConstantInt *LowerBound = nullptr; in ProcessSwitchInst() local
397 LowerBound = Cases.front().Low; in ProcessSwitchInst()
427 LowerBound = ConstantInt::get(SI->getContext(), Min); in ProcessSwitchInst()
514 SwitchConvert(Cases.begin(), Cases.end(), LowerBound, UpperBound, Val, in ProcessSwitchInst()