Lines Matching refs:F32

58 defm I32_TRUNC_S_SAT_F32 : I<(outs I32:$dst), (ins F32:$src), (outs), (ins),
59 [(set I32:$dst, (fp_to_sint F32:$src))],
63 defm I32_TRUNC_U_SAT_F32 : I<(outs I32:$dst), (ins F32:$src), (outs), (ins),
64 [(set I32:$dst, (fp_to_uint F32:$src))],
68 defm I64_TRUNC_S_SAT_F32 : I<(outs I64:$dst), (ins F32:$src), (outs), (ins),
69 [(set I64:$dst, (fp_to_sint F32:$src))],
73 defm I64_TRUNC_U_SAT_F32 : I<(outs I64:$dst), (ins F32:$src), (outs), (ins),
74 [(set I64:$dst, (fp_to_uint F32:$src))],
100 def : Pat<(fp_to_sint_sat F32:$src, i32), (I32_TRUNC_S_SAT_F32 F32:$src)>;
101 def : Pat<(fp_to_uint_sat F32:$src, i32), (I32_TRUNC_U_SAT_F32 F32:$src)>;
104 def : Pat<(fp_to_sint_sat F32:$src, i64), (I64_TRUNC_S_SAT_F32 F32:$src)>;
105 def : Pat<(fp_to_uint_sat F32:$src, i64), (I64_TRUNC_U_SAT_F32 F32:$src)>;
112 defm FP_TO_SINT_I32_F32 : I<(outs I32:$dst), (ins F32:$src), (outs), (ins),
113 [(set I32:$dst, (fp_to_sint F32:$src))], "", "", 0>,
115 defm FP_TO_UINT_I32_F32 : I<(outs I32:$dst), (ins F32:$src), (outs), (ins),
116 [(set I32:$dst, (fp_to_uint F32:$src))], "", "", 0>,
118 defm FP_TO_SINT_I64_F32 : I<(outs I64:$dst), (ins F32:$src), (outs), (ins),
119 [(set I64:$dst, (fp_to_sint F32:$src))], "", "", 0>,
121 defm FP_TO_UINT_I64_F32 : I<(outs I64:$dst), (ins F32:$src), (outs), (ins),
122 [(set I64:$dst, (fp_to_uint F32:$src))], "", "", 0>,
140 defm I32_TRUNC_S_F32 : I<(outs I32:$dst), (ins F32:$src), (outs), (ins),
143 defm I32_TRUNC_U_F32 : I<(outs I32:$dst), (ins F32:$src), (outs), (ins),
146 defm I64_TRUNC_S_F32 : I<(outs I64:$dst), (ins F32:$src), (outs), (ins),
149 defm I64_TRUNC_U_F32 : I<(outs I64:$dst), (ins F32:$src), (outs), (ins),
166 def : Pat<(int_wasm_trunc_signed F32:$src),
167 (I32_TRUNC_S_F32 F32:$src)>;
168 def : Pat<(int_wasm_trunc_unsigned F32:$src),
169 (I32_TRUNC_U_F32 F32:$src)>;
174 def : Pat<(int_wasm_trunc_signed F32:$src),
175 (I64_TRUNC_S_F32 F32:$src)>;
176 def : Pat<(int_wasm_trunc_unsigned F32:$src),
177 (I64_TRUNC_U_F32 F32:$src)>;
183 defm F32_CONVERT_S_I32 : I<(outs F32:$dst), (ins I32:$src), (outs), (ins),
184 [(set F32:$dst, (sint_to_fp I32:$src))],
187 defm F32_CONVERT_U_I32 : I<(outs F32:$dst), (ins I32:$src), (outs), (ins),
188 [(set F32:$dst, (uint_to_fp I32:$src))],
199 defm F32_CONVERT_S_I64 : I<(outs F32:$dst), (ins I64:$src), (outs), (ins),
200 [(set F32:$dst, (sint_to_fp I64:$src))],
203 defm F32_CONVERT_U_I64 : I<(outs F32:$dst), (ins I64:$src), (outs), (ins),
204 [(set F32:$dst, (uint_to_fp I64:$src))],
216 defm F64_PROMOTE_F32 : I<(outs F64:$dst), (ins F32:$src), (outs), (ins),
217 [(set F64:$dst, (fpextend F32:$src))],
220 defm F32_DEMOTE_F64 : I<(outs F32:$dst), (ins F64:$src), (outs), (ins),
221 [(set F32:$dst, (fpround F64:$src))],
225 defm I32_REINTERPRET_F32 : I<(outs I32:$dst), (ins F32:$src), (outs), (ins),
226 [(set I32:$dst, (bitconvert F32:$src))],
229 defm F32_REINTERPRET_I32 : I<(outs F32:$dst), (ins I32:$src), (outs), (ins),
230 [(set F32:$dst, (bitconvert I32:$src))],