Lines Matching refs:isOneConstant
1762 if (NumSignBits == DestBits && isOneConstant(N1->getOperand(1))) { in visitADD()
2484 if (isOneConstant(N1)) { in visitMULHS()
2525 if (isOneConstant(N1)) in visitMULHU()
4142 if (isOneConstant(N1) && N0.getOpcode() == ISD::ZERO_EXTEND && in visitXOR()
4154 if (isOneConstant(N1) && VT == MVT::i1 && in visitXOR()
4223 && isAllOnesConstant(N1) && isOneConstant(N0.getOperand(0))) { in visitXOR()
5031 if (VT == MVT::i1 && isOneConstant(N1)) in visitSELECT()
5048 isNullConstant(N1) && isOneConstant(N2)) { in visitSELECT()
5070 if (VT == VT0 && VT == MVT::i1 && isOneConstant(N2)) { in visitSELECT()
5080 if (VT == MVT::i1 && (N0 == N1 || isOneConstant(N1))) in visitSELECT()
9439 if (isOneConstant(Op0) && Op0.hasOneUse() && in visitBRCOND()
14074 (isOneConstant(N1) && N0 == N2))) { // (a < 1) ? a : 0 in SimplifySelectCC()