• Home
  • Raw
  • Download

Lines Matching refs:half

3 define <4 x half> @add_h(<4 x half> %a, <4 x half> %b) {
10 %0 = fadd <4 x half> %a, %b
11 ret <4 x half> %0
15 define <4 x half> @build_h4(<4 x half> %a) {
20 ret <4 x half> <half 0xH3CCD, half 0xH3CCD, half 0xH3CCD, half 0xH3CCD>
24 define <4 x half> @sub_h(<4 x half> %a, <4 x half> %b) {
31 %0 = fsub <4 x half> %a, %b
32 ret <4 x half> %0
36 define <4 x half> @mul_h(<4 x half> %a, <4 x half> %b) {
43 %0 = fmul <4 x half> %a, %b
44 ret <4 x half> %0
48 define <4 x half> @div_h(<4 x half> %a, <4 x half> %b) {
55 %0 = fdiv <4 x half> %a, %b
56 ret <4 x half> %0
60 define <4 x half> @load_h(<4 x half>* %a) {
64 %0 = load <4 x half>, <4 x half>* %a, align 4
65 ret <4 x half> %0
69 define void @store_h(<4 x half>* %a, <4 x half> %b) {
73 store <4 x half> %b, <4 x half>* %a, align 4
77 define <4 x half> @s_to_h(<4 x float> %a) {
80 %1 = fptrunc <4 x float> %a to <4 x half>
81 ret <4 x half> %1
84 define <4 x half> @d_to_h(<4 x double> %a) {
94 %1 = fptrunc <4 x double> %a to <4 x half>
95 ret <4 x half> %1
98 define <4 x float> @h_to_s(<4 x half> %a) {
101 %1 = fpext <4 x half> %a to <4 x float>
105 define <4 x double> @h_to_d(<4 x half> %a) {
115 %1 = fpext <4 x half> %a to <4 x double>
119 define <4 x half> @bitcast_i_to_h(float, <4 x i16> %a) {
122 %2 = bitcast <4 x i16> %a to <4 x half>
123 ret <4 x half> %2
126 define <4 x i16> @bitcast_h_to_i(float, <4 x half> %a) {
129 %2 = bitcast <4 x half> %a to <4 x i16>
133 define <4 x half> @sitofp_i8(<4 x i8> %a) #0 {
141 %1 = sitofp <4 x i8> %a to <4 x half>
142 ret <4 x half> %1
146 define <4 x half> @sitofp_i16(<4 x i16> %a) #0 {
152 %1 = sitofp <4 x i16> %a to <4 x half>
153 ret <4 x half> %1
157 define <4 x half> @sitofp_i32(<4 x i32> %a) #0 {
161 %1 = sitofp <4 x i32> %a to <4 x half>
162 ret <4 x half> %1
166 define <4 x half> @sitofp_i64(<4 x i64> %a) #0 {
173 %1 = sitofp <4 x i64> %a to <4 x half>
174 ret <4 x half> %1
177 define <4 x half> @uitofp_i8(<4 x i8> %a) #0 {
184 %1 = uitofp <4 x i8> %a to <4 x half>
185 ret <4 x half> %1
189 define <4 x half> @uitofp_i16(<4 x i16> %a) #0 {
195 %1 = uitofp <4 x i16> %a to <4 x half>
196 ret <4 x half> %1
200 define <4 x half> @uitofp_i32(<4 x i32> %a) #0 {
204 %1 = uitofp <4 x i32> %a to <4 x half>
205 ret <4 x half> %1
209 define <4 x half> @uitofp_i64(<4 x i64> %a) #0 {
216 %1 = uitofp <4 x i64> %a to <4 x half>
217 ret <4 x half> %1
220 define void @test_insert_at_zero(half %a, <4 x half>* %b) #0 {
224 %1 = insertelement <4 x half> undef, half %a, i64 0
225 store <4 x half> %1, <4 x half>* %b, align 4
229 define <4 x i8> @fptosi_i8(<4 x half> %a) #0 {
235 %1 = fptosi<4 x half> %a to <4 x i8>
239 define <4 x i16> @fptosi_i16(<4 x half> %a) #0 {
245 %1 = fptosi<4 x half> %a to <4 x i16>
249 define <4 x i8> @fptoui_i8(<4 x half> %a) #0 {
256 %1 = fptoui<4 x half> %a to <4 x i8>
260 define <4 x i16> @fptoui_i16(<4 x half> %a) #0 {
266 %1 = fptoui<4 x half> %a to <4 x i16>
284 define <4 x i1> @test_fcmp_une(<4 x half> %a, <4 x half> %b) #0 {
285 %1 = fcmp une <4 x half> %a, %b
307 define <4 x i1> @test_fcmp_ueq(<4 x half> %a, <4 x half> %b) #0 {
308 %1 = fcmp ueq <4 x half> %a, %b
326 define <4 x i1> @test_fcmp_ugt(<4 x half> %a, <4 x half> %b) #0 {
327 %1 = fcmp ugt <4 x half> %a, %b
345 define <4 x i1> @test_fcmp_uge(<4 x half> %a, <4 x half> %b) #0 {
346 %1 = fcmp uge <4 x half> %a, %b
364 define <4 x i1> @test_fcmp_ult(<4 x half> %a, <4 x half> %b) #0 {
365 %1 = fcmp ult <4 x half> %a, %b
383 define <4 x i1> @test_fcmp_ule(<4 x half> %a, <4 x half> %b) #0 {
384 %1 = fcmp ule <4 x half> %a, %b
402 define <4 x i1> @test_fcmp_uno(<4 x half> %a, <4 x half> %b) #0 {
403 %1 = fcmp uno <4 x half> %a, %b
426 define <4 x i1> @test_fcmp_one(<4 x half> %a, <4 x half> %b) #0 {
427 %1 = fcmp one <4 x half> %a, %b
445 define <4 x i1> @test_fcmp_oeq(<4 x half> %a, <4 x half> %b) #0 {
446 %1 = fcmp oeq <4 x half> %a, %b
464 define <4 x i1> @test_fcmp_ogt(<4 x half> %a, <4 x half> %b) #0 {
465 %1 = fcmp ogt <4 x half> %a, %b
483 define <4 x i1> @test_fcmp_oge(<4 x half> %a, <4 x half> %b) #0 {
484 %1 = fcmp oge <4 x half> %a, %b
502 define <4 x i1> @test_fcmp_olt(<4 x half> %a, <4 x half> %b) #0 {
503 %1 = fcmp olt <4 x half> %a, %b
521 define <4 x i1> @test_fcmp_ole(<4 x half> %a, <4 x half> %b) #0 {
522 %1 = fcmp ole <4 x half> %a, %b
540 define <4 x i1> @test_fcmp_ord(<4 x half> %a, <4 x half> %b) #0 {
541 %1 = fcmp ord <4 x half> %a, %b