Lines Matching refs:isOneValue
1612 if (DemandedBits.isOneValue()) in SimplifyDemandedBits()
1762 if (DemandedBits.isOneValue() && !TLO.LegalOps && !VT.isVector()) in SimplifyDemandedBits()
3059 return CVal.isOneValue(); in isConstTrueVal()
3498 if (N0.getOpcode() == ISD::SRL && (C1.isNullValue() || C1.isOneValue()) && in SimplifySetCC()
5032 if (Divisor.isOneValue() || Divisor.isAllOnesValue()) { in BuildSDIV()
5150 if (magics.a == 0 || Divisor.isOneValue()) { in BuildUDIV()
5342 bool TautologicalLane = D.isOneValue() || TautologicalInvertedLane; in prepareUREMEqFold()
5354 assert((!D.isOneValue() || (K == 0)) && "For divisor '1' we won't rotate."); in prepareUREMEqFold()
5361 AllDivisorsArePowerOfTwo &= D0.isOneValue(); in prepareUREMEqFold()
5370 assert((D0 * P).isOneValue() && "Multiplicative inverse sanity check."); in prepareUREMEqFold()
5581 HadOneDivisor |= D.isOneValue(); in prepareSREMEqFold()
5582 AllDivisorsAreOnes &= D.isOneValue(); in prepareSREMEqFold()
5586 assert((!D.isOneValue() || (K == 0)) && "For divisor '1' we won't rotate."); in prepareSREMEqFold()
5597 AllDivisorsArePowerOfTwo &= D0.isOneValue(); in prepareSREMEqFold()
5606 assert((D0 * P).isOneValue() && "Multiplicative inverse sanity check."); in prepareSREMEqFold()
5628 if (D.isOneValue()) { in prepareSREMEqFold()