reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Transforms/InstCombine/InstCombineCompares.cpp
 2027   if (Cmp.isEquality() && match(Shl->getOperand(0), m_APInt(ShiftVal)))
 2028     return foldICmpShlConstConst(Cmp, Shl->getOperand(1), C, *ShiftVal);
 2031   if (!match(Shl->getOperand(1), m_APInt(ShiftAmt)))
 2032     return foldICmpShlOne(Cmp, Shl, C);
 2041   Value *X = Shl->getOperand(0);
 2042   Type *ShType = Shl->getType();
 2047   if (Shl->hasNoSignedWrap()) {
 2077   if (Shl->hasNoUnsignedWrap()) {
 2099   if (Cmp.isEquality() && Shl->hasOneUse()) {
 2104     Value *And = Builder.CreateAnd(X, Mask, Shl->getName() + ".mask");
 2111   if (Shl->hasOneUse() && isSignBitCheck(Pred, C, TrueIfSigned)) {
 2116     Value *And = Builder.CreateAnd(X, Mask, Shl->getName() + ".mask");
 2122   if (Cmp.isUnsigned() && Shl->hasOneUse()) {
 2149   if (Shl->hasOneUse() && Amt != 0 && C.countTrailingZeros() >= Amt &&