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

References

lib/Transforms/InstCombine/InstCombineCompares.cpp
 1647   if (match(Shift->getOperand(1), m_APInt(C3))) {
 1666       if (!IsAshr || (C2.shl(*C3).lshr(*C3) == C2)) {
 1666       if (!IsAshr || (C2.shl(*C3).lshr(*C3) == C2)) {
 1668             (!C2.shl(*C3).isNegative() && !C1.shl(*C3).isNegative()))
 1668             (!C2.shl(*C3).isNegative() && !C1.shl(*C3).isNegative()))
 1674       APInt NewCst = IsShl ? C1.lshr(*C3) : C1.shl(*C3);
 1674       APInt NewCst = IsShl ? C1.lshr(*C3) : C1.shl(*C3);
 1675       APInt SameAsC1 = IsShl ? NewCst.shl(*C3) : NewCst.lshr(*C3);
 1675       APInt SameAsC1 = IsShl ? NewCst.shl(*C3) : NewCst.lshr(*C3);
 1687         APInt NewAndCst = IsShl ? C2.lshr(*C3) : C2.shl(*C3);
 1687         APInt NewAndCst = IsShl ? C2.lshr(*C3) : C2.shl(*C3);