Home | History | Annotate | Download | only in Analysis

Lines Matching defs:Denominator

1128     // be less than the denominator.
2166 const APInt *Denominator;
2168 if (match(U->getOperand(1), m_APInt(Denominator))) {
2170 // Ignore non-positive denominator.
2171 if (!Denominator->isStrictlyPositive())
2178 return std::min(TyBits, NumBits + Denominator->logBase2());
2184 const APInt *Denominator;
2188 if (match(U->getOperand(1), m_APInt(Denominator))) {
2190 // Ignore non-positive denominator.
2191 if (!Denominator->isStrictlyPositive())
2200 // denominator. Given that the denominator is positive, there are two
2212 unsigned ResBits = TyBits - Denominator->ceilLogBase2();
3351 const APInt *Numerator, *Denominator;
3352 if (!match(Inst->getOperand(1), m_APInt(Denominator)))
3354 // We cannot hoist this division if the denominator is 0.
3355 if (*Denominator == 0)
3357 // It's safe to hoist if the denominator is not 0 or -1.
3358 if (*Denominator != -1)
3360 // At this point we know that the denominator is -1. It is safe to hoist as