40 .widenScalarToNextPow2(0)
44 G_UREM, G_SREM, G_AND, G_OR, G_XOR})
46 .widenScalarToNextPow2(0)
50 .legalFor({{i32, i32}, {i64, i64}})
51 .widenScalarToNextPow2(0)
56 .legalFor({{i32, i32}, {i64, i64}})
57 .widenScalarToNextPow2(1)
64 .legalFor({{i32, i32}, {i64, i64}})
65 .scalarSameSizeAs(1, 0)
72 .widenScalarToNextPow2(1)
81 .legalFor({{i64, i32}})
82 .clampScalar(0, s64, s64)
87 .clampScalar(0, s32, s32)
99 Builder.clampScalar(0, s32, s64).lower();
103 G_INTRINSIC_TRUNC, G_FNEARBYINT, G_FRINT,
104 G_INTRINSIC_ROUNDEVEN, G_FSQRT, G_FADD, G_FSUB,
106 .legalFor({f32, f64})
116 .clampScalar(0, s64, s64)
121 .clampScalar(0, s32, s32)
125 .
legalFor({{i32, f32}, {f32, i32}, {i64, f64}, {f64, i64}})
126 .clampScalar(0, s32, s64)
130 .legalForCartesianProduct({i32, i64}, {f32, f64})
131 .clampScalar(0, s32, s64)
148 .legalForCartesianProduct({f32, f64}, {i32, i64})
154 .widenScalarToNextPow2(0)