Lines Matching refs:ConstantRange

120   ConstantRange Range =  in intersect()
424 Optional<ConstantRange> getRangeForOperand(unsigned Op, Instruction *I,
868 const ConstantRange &TrueCR = TrueVal.getConstantRange(); in solveBlockValueSelect()
869 const ConstantRange &FalseCR = FalseVal.getConstantRange(); in solveBlockValueSelect()
877 ConstantRange ResultCR = [&]() { in solveBlockValueSelect()
956 Optional<ConstantRange> LazyValueInfoImpl::getRangeForOperand(unsigned Op, in getRangeForOperand()
965 ConstantRange Range = ConstantRange(OperandBitWidth); in getRangeForOperand()
1005 Optional<ConstantRange> LHSRes = getRangeForOperand(0, CI, BB); in solveBlockValueCast()
1009 ConstantRange LHSRange = LHSRes.getValue(); in solveBlockValueCast()
1055 Optional<ConstantRange> LHSRes = getRangeForOperand(0, BO, BB); in solveBlockValueBinaryOp()
1056 Optional<ConstantRange> RHSRes = getRangeForOperand(1, BO, BB); in solveBlockValueBinaryOp()
1062 ConstantRange LHSRange = LHSRes.getValue(); in solveBlockValueBinaryOp()
1063 ConstantRange RHSRange = RHSRes.getValue(); in solveBlockValueBinaryOp()
1113 ConstantRange RHSRange(RHS->getType()->getIntegerBitWidth(), in getValueFromICmpCondition()
1116 RHSRange = ConstantRange(CI->getValue()); in getValueFromICmpCondition()
1124 ConstantRange TrueValues = in getValueFromICmpCondition()
1125 ConstantRange::makeAllowedICmpRegion(Pred, RHSRange); in getValueFromICmpCondition()
1215 return ValueLatticeElement::getRange(ConstantRange(C->getValue())); in constantFoldUser()
1226 return ValueLatticeElement::getRange(ConstantRange(C->getValue())); in constantFoldUser()
1325 ConstantRange EdgesVals(BitWidth, DefaultCase/*isFullSet*/); in getEdgeValueLocal()
1329 ConstantRange EdgeVal(CaseValue); in getEdgeValueLocal()
1563 const ConstantRange &CR = Result.getConstantRange(); in getConstant()
1570 ConstantRange LazyValueInfo::getConstantRange(Value *V, BasicBlock *BB, in getConstantRange()
1578 return ConstantRange(Width, /*isFullSet=*/false); in getConstantRange()
1585 return ConstantRange(Width, /*isFullSet=*/true); in getConstantRange()
1600 const ConstantRange &CR = Result.getConstantRange(); in getConstantOnEdge()
1607 ConstantRange LazyValueInfo::getConstantRangeOnEdge(Value *V, in getConstantRangeOnEdge()
1617 return ConstantRange(Width, /*isFullSet=*/false); in getConstantRangeOnEdge()
1624 return ConstantRange(Width, /*isFullSet=*/true); in getConstantRangeOnEdge()
1643 const ConstantRange &CR = Val.getConstantRange(); in getPredicateResult()
1658 ConstantRange TrueValues = ConstantRange::makeExactICmpRegion( in getPredicateResult()