Lines Matching defs:AllOnes
13885 // -> (select cond, x, (and x, c)) [AllOnes=1]
13887 // -> (select cond, x, (or x, c)) [AllOnes=0]
13889 // -> (select cond, x, (xor x, c)) [AllOnes=0]
13891 // -> (select cond, x, (add x, c)) [AllOnes=0]
13893 // -> (select cond, x, (sub x, c)) [AllOnes=0]
13895 SelectionDAG &DAG, bool AllOnes,
13924 auto isZeroOrAllOnes = [](SDValue N, bool AllOnes) {
13925 return AllOnes ? isAllOnesConstant(N) : isNullConstant(N);
13933 if (isZeroOrAllOnes(TrueVal, AllOnes)) {
13936 } else if (isZeroOrAllOnes(FalseVal, AllOnes)) {
13960 bool AllOnes,
13964 if (SDValue Result = combineSelectAndUse(N, N0, N1, DAG, AllOnes, Subtarget))
13966 if (SDValue Result = combineSelectAndUse(N, N1, N0, DAG, AllOnes, Subtarget))
14135 return combineSelectAndUseCommutative(N, DAG, /*AllOnes*/ false, Subtarget);
14263 return combineSelectAndUse(N, N1, N0, DAG, /*AllOnes*/ false, Subtarget);
14444 return combineSelectAndUseCommutative(N, DAG, /*AllOnes*/ true, Subtarget);
14507 return combineSelectAndUseCommutative(N, DAG, /*AllOnes*/ false, Subtarget);
14562 return combineSelectAndUseCommutative(N, DAG, /*AllOnes*/ false, Subtarget);