• Home
  • Raw
  • Download

Lines Matching refs:ConstantInt

425 static bool tryMergeRange(SmallVectorImpl<Value *> &EndPoints, ConstantInt *Low,  in tryMergeRange()
426 ConstantInt *High) { in tryMergeRange()
429 APInt LB = cast<ConstantInt>(EndPoints[Size - 2])->getValue(); in tryMergeRange()
430 APInt LE = cast<ConstantInt>(EndPoints[Size - 1])->getValue(); in tryMergeRange()
435 EndPoints[Size - 2] = ConstantInt::get(Ty, Union.getLower()); in tryMergeRange()
436 EndPoints[Size - 1] = ConstantInt::get(Ty, Union.getUpper()); in tryMergeRange()
442 static void addRange(SmallVectorImpl<Value *> &EndPoints, ConstantInt *Low, in addRange()
443 ConstantInt *High) { in addRange()
471 ConstantInt *ALow = cast<ConstantInt>(A->getOperand(2 * AI)); in getMostGenericRange()
472 ConstantInt *BLow = cast<ConstantInt>(B->getOperand(2 * BI)); in getMostGenericRange()
475 addRange(EndPoints, ALow, cast<ConstantInt>(A->getOperand(2 * AI + 1))); in getMostGenericRange()
478 addRange(EndPoints, BLow, cast<ConstantInt>(B->getOperand(2 * BI + 1))); in getMostGenericRange()
483 addRange(EndPoints, cast<ConstantInt>(A->getOperand(2 * AI)), in getMostGenericRange()
484 cast<ConstantInt>(A->getOperand(2 * AI + 1))); in getMostGenericRange()
488 addRange(EndPoints, cast<ConstantInt>(B->getOperand(2 * BI)), in getMostGenericRange()
489 cast<ConstantInt>(B->getOperand(2 * BI + 1))); in getMostGenericRange()
497 ConstantInt *FB = cast<ConstantInt>(EndPoints[0]); in getMostGenericRange()
498 ConstantInt *FE = cast<ConstantInt>(EndPoints[1]); in getMostGenericRange()
510 ConstantRange Range(cast<ConstantInt>(EndPoints[0])->getValue(), in getMostGenericRange()
511 cast<ConstantInt>(EndPoints[1])->getValue()); in getMostGenericRange()