Lines Matching refs:isOneConstant
1751 if (NumSignBits == DestBits && isOneConstant(N1->getOperand(1))) { in visitADD()
2477 if (isOneConstant(N1)) { in visitMULHS()
2518 if (isOneConstant(N1)) in visitMULHU()
4190 if (isOneConstant(N1) && N0.getOpcode() == ISD::ZERO_EXTEND && in visitXOR()
4202 if (isOneConstant(N1) && VT == MVT::i1 && in visitXOR()
4271 && isAllOnesConstant(N1) && isOneConstant(N0.getOperand(0))) { in visitXOR()
5086 if (VT == MVT::i1 && isOneConstant(N1)) in visitSELECT()
5103 isNullConstant(N1) && isOneConstant(N2)) { in visitSELECT()
5125 if (VT == VT0 && VT == MVT::i1 && isOneConstant(N2)) { in visitSELECT()
5135 if (VT == MVT::i1 && (N0 == N1 || isOneConstant(N1))) in visitSELECT()
9556 if (isOneConstant(Op0) && Op0.hasOneUse() && in visitBRCOND()
14258 (isOneConstant(N1) && N0 == N2))) { // (a < 1) ? a : 0 in SimplifySelectCC()