Lines Matching refs:isOneValue
1608 if (DemandedBits.isOneValue()) in SimplifyDemandedBits()
1784 if (DemandedBits.isOneValue() && !TLO.LegalOps && !VT.isVector()) in SimplifyDemandedBits()
3114 return CVal.isOneValue(); in isConstTrueVal()
3551 if (N0.getOpcode() == ISD::SRL && (C1.isNullValue() || C1.isOneValue()) && in SimplifySetCC()
5163 if (Divisor.isOneValue() || Divisor.isAllOnesValue()) { in BuildSDIV()
5320 if (magics.a == 0 || Divisor.isOneValue()) { in BuildUDIV()
5532 bool TautologicalLane = D.isOneValue() || TautologicalInvertedLane; in prepareUREMEqFold()
5544 assert((!D.isOneValue() || (K == 0)) && "For divisor '1' we won't rotate."); in prepareUREMEqFold()
5551 AllDivisorsArePowerOfTwo &= D0.isOneValue(); in prepareUREMEqFold()
5560 assert((D0 * P).isOneValue() && "Multiplicative inverse sanity check."); in prepareUREMEqFold()
5781 HadOneDivisor |= D.isOneValue(); in prepareSREMEqFold()
5782 AllDivisorsAreOnes &= D.isOneValue(); in prepareSREMEqFold()
5786 assert((!D.isOneValue() || (K == 0)) && "For divisor '1' we won't rotate."); in prepareSREMEqFold()
5797 AllDivisorsArePowerOfTwo &= D0.isOneValue(); in prepareSREMEqFold()
5806 assert((D0 * P).isOneValue() && "Multiplicative inverse sanity check."); in prepareSREMEqFold()
5828 if (D.isOneValue()) { in prepareSREMEqFold()