Home | History | Annotate | Download | only in gcc

Lines Matching refs:BSWAP

1050       /* (not (bswap x)) -> (bswap (not x)).  */
1051 if (GET_CODE (op) == BSWAP)
1054 return simplify_gen_unary (BSWAP, mode, x, mode);
1401 case BSWAP:
1424 case BSWAP:
1447 case BSWAP:
1448 /* (bswap (bswap x)) -> x. */
1449 if (GET_CODE (op) == BSWAP)
2052 case BSWAP:
2053 result = wide_int (op0).bswap ();
2244 /* (op (bswap x) C1)) -> (bswap (op x C2)) with C2 swapped. */
2245 if (GET_CODE (op0) == BSWAP && CONST_SCALAR_INT_P (op1))
2248 simplify_gen_unary (BSWAP, mode, op1, mode));
2249 return simplify_gen_unary (BSWAP, mode, tem, mode);
2252 /* (op (bswap x) (bswap y)) -> (bswap (op x y)). */
2253 if (GET_CODE (op0) == BSWAP && GET_CODE (op1) == BSWAP)
2256 return simplify_gen_unary (BSWAP, mode, tem, mode);
5906 /* (eq/ne (bswap x) C1) simplifies to (eq/ne x C2) with C2 swapped. */
5908 && GET_CODE (op0) == BSWAP
5911 simplify_gen_unary (BSWAP, cmp_mode,
5914 /* (eq/ne (bswap x) (bswap y)) simplifies to (eq/ne x y). */
5916 && GET_CODE (op0) == BSWAP
5917 && GET_CODE (op1) == BSWAP)
7812 rtx bswap_op0 = simplify_gen_unary (BSWAP, mode, op0, mode);
7843 ASSERT_RTX_EQ (op0, simplify_gen_unary (BSWAP, mode, bswap_op0, mode));