Lines Matching refs:isOneConstant
3070 if (V.getOpcode() == ISD::AND && isOneConstant(V.getOperand(1))) { in getAsCarry()
3482 isOneConstant(Carry0.getOperand(1))) { in combineUADDO_CARRYDiamond()
5086 if (isOneConstant(N1)) in visitMULHS()
5145 if (isOneConstant(N1)) in visitMULHU()
5424 if (isOneConstant(N1)) { in visitUMUL_LOHI()
6352 if (!isOneConstant(T.getOperand(1))) in combineSelectAsExtAnd()
6768 if (!isOneConstant(And1) || !And0.hasOneUse()) in combineShiftAnd1ToBitTest()
9489 if (isOneConstant(N1) && N0Opcode == ISD::ZERO_EXTEND && N0.hasOneUse() && in visitXOR()
9500 if (isOneConstant(N1) && VT == MVT::i1 && N0.hasOneUse() && in visitXOR()
9584 isAllOnesConstant(N1) && isOneConstant(N0.getOperand(0))) { in visitXOR()
27459 if (!(isNullConstant(N1) || (isOneConstant(N1) && N0 == N2))) in foldSelectCCToShiftAnd()
27993 Op->getFlags().hasNoSignedWrap() || isOneConstant(Op.getOperand(0))) in takeInexpensiveLog2()