Lines Matching full:sqrt

30 ; CHECK-NEXT:    [[SQRT:%.*]] = tail call float @llvm.sqrt.f32(float [[ARG]]), !fpmath [[META0:![0-…
31 ; CHECK-NEXT: ret float [[SQRT]]
33 %sqrt = tail call float @_Z4sqrtf(float %arg), !fpmath !0
34 ret float %sqrt
40 ; CHECK-NEXT: [[SQRT:%.*]] = tail call <2 x float> @llvm.sqrt.v2f32(<2 x float> [[ARG]]), !fpmat…
41 ; CHECK-NEXT: ret <2 x float> [[SQRT]]
43 %sqrt = tail call <2 x float> @_Z4sqrtDv2_f(<2 x float> %arg), !fpmath !0
44 ret <2 x float> %sqrt
50 ; CHECK-NEXT: [[SQRT:%.*]] = tail call <3 x float> @llvm.sqrt.v3f32(<3 x float> [[ARG]]), !fpmat…
51 ; CHECK-NEXT: ret <3 x float> [[SQRT]]
53 %sqrt = tail call <3 x float> @_Z4sqrtDv3_f(<3 x float> %arg), !fpmath !0
54 ret <3 x float> %sqrt
60 ; CHECK-NEXT: [[SQRT:%.*]] = tail call <4 x float> @llvm.sqrt.v4f32(<4 x float> [[ARG]]), !fpmat…
61 ; CHECK-NEXT: ret <4 x float> [[SQRT]]
63 %sqrt = tail call <4 x float> @_Z4sqrtDv4_f(<4 x float> %arg), !fpmath !0
64 ret <4 x float> %sqrt
70 ; CHECK-NEXT: [[SQRT:%.*]] = tail call <8 x float> @llvm.sqrt.v8f32(<8 x float> [[ARG]]), !fpmat…
71 ; CHECK-NEXT: ret <8 x float> [[SQRT]]
73 %sqrt = tail call <8 x float> @_Z4sqrtDv8_f(<8 x float> %arg), !fpmath !0
74 ret <8 x float> %sqrt
80 ; CHECK-NEXT: [[SQRT:%.*]] = tail call <16 x float> @llvm.sqrt.v16f32(<16 x float> [[ARG]]), !fp…
81 ; CHECK-NEXT: ret <16 x float> [[SQRT]]
83 %sqrt = tail call <16 x float> @_Z4sqrtDv16_f(<16 x float> %arg), !fpmath !0
84 ret <16 x float> %sqrt
90 ; CHECK-NEXT: [[SQRT:%.*]] = tail call float @llvm.sqrt.f32(float [[ARG]])
91 ; CHECK-NEXT: ret float [[SQRT]]
93 %sqrt = tail call float @_Z4sqrtf(float %arg)
94 ret float %sqrt
100 ; CHECK-NEXT: [[SQRT:%.*]] = tail call <2 x float> @llvm.sqrt.v2f32(<2 x float> [[ARG]])
101 ; CHECK-NEXT: ret <2 x float> [[SQRT]]
103 %sqrt = tail call <2 x float> @_Z4sqrtDv2_f(<2 x float> %arg)
104 ret <2 x float> %sqrt
110 ; CHECK-NEXT: [[SQRT:%.*]] = tail call <3 x float> @llvm.sqrt.v3f32(<3 x float> [[ARG]])
111 ; CHECK-NEXT: ret <3 x float> [[SQRT]]
113 %sqrt = tail call <3 x float> @_Z4sqrtDv3_f(<3 x float> %arg)
114 ret <3 x float> %sqrt
120 ; CHECK-NEXT: [[SQRT:%.*]] = tail call <4 x float> @llvm.sqrt.v4f32(<4 x float> [[ARG]])
121 ; CHECK-NEXT: ret <4 x float> [[SQRT]]
123 %sqrt = tail call <4 x float> @_Z4sqrtDv4_f(<4 x float> %arg)
124 ret <4 x float> %sqrt
130 ; CHECK-NEXT: [[SQRT:%.*]] = tail call <8 x float> @llvm.sqrt.v8f32(<8 x float> [[ARG]])
131 ; CHECK-NEXT: ret <8 x float> [[SQRT]]
133 %sqrt = tail call <8 x float> @_Z4sqrtDv8_f(<8 x float> %arg)
134 ret <8 x float> %sqrt
140 ; CHECK-NEXT: [[SQRT:%.*]] = tail call <16 x float> @llvm.sqrt.v16f32(<16 x float> [[ARG]])
141 ; CHECK-NEXT: ret <16 x float> [[SQRT]]
143 %sqrt = tail call <16 x float> @_Z4sqrtDv16_f(<16 x float> %arg)
144 ret <16 x float> %sqrt
150 ; CHECK-NEXT: [[SQRT:%.*]] = tail call double @llvm.sqrt.f64(double [[ARG]])
151 ; CHECK-NEXT: ret double [[SQRT]]
153 %sqrt = tail call double @_Z4sqrtd(double %arg)
154 ret double %sqrt
160 ; CHECK-NEXT: [[SQRT:%.*]] = tail call <2 x double> @llvm.sqrt.v2f64(<2 x double> [[ARG]])
161 ; CHECK-NEXT: ret <2 x double> [[SQRT]]
163 %sqrt = tail call <2 x double> @_Z4sqrtDv2_d(<2 x double> %arg)
164 ret <2 x double> %sqrt
170 ; CHECK-NEXT: [[SQRT:%.*]] = tail call <3 x double> @llvm.sqrt.v3f64(<3 x double> [[ARG]])
171 ; CHECK-NEXT: ret <3 x double> [[SQRT]]
173 %sqrt = tail call <3 x double> @_Z4sqrtDv3_d(<3 x double> %arg)
174 ret <3 x double> %sqrt
180 ; CHECK-NEXT: [[SQRT:%.*]] = tail call <4 x double> @llvm.sqrt.v4f64(<4 x double> [[ARG]])
181 ; CHECK-NEXT: ret <4 x double> [[SQRT]]
183 %sqrt = tail call <4 x double> @_Z4sqrtDv4_d(<4 x double> %arg)
184 ret <4 x double> %sqrt
190 ; CHECK-NEXT: [[SQRT:%.*]] = tail call <8 x double> @llvm.sqrt.v8f64(<8 x double> [[ARG]])
191 ; CHECK-NEXT: ret <8 x double> [[SQRT]]
193 %sqrt = tail call <8 x double> @_Z4sqrtDv8_d(<8 x double> %arg)
194 ret <8 x double> %sqrt
200 ; CHECK-NEXT: [[SQRT:%.*]] = tail call <16 x double> @llvm.sqrt.v16f64(<16 x double> [[ARG]])
201 ; CHECK-NEXT: ret <16 x double> [[SQRT]]
203 %sqrt = tail call <16 x double> @_Z4sqrtDv16_d(<16 x double> %arg)
204 ret <16 x double> %sqrt
210 ; CHECK-NEXT: [[SQRT:%.*]] = tail call half @llvm.sqrt.f16(half [[ARG]])
211 ; CHECK-NEXT: ret half [[SQRT]]
213 %sqrt = tail call half @_Z4sqrtDh(half %arg)
214 ret half %sqrt
220 ; CHECK-NEXT: [[SQRT:%.*]] = tail call <2 x half> @llvm.sqrt.v2f16(<2 x half> [[ARG]])
221 ; CHECK-NEXT: ret <2 x half> [[SQRT]]
223 %sqrt = tail call <2 x half> @_Z4sqrtDv2_Dh(<2 x half> %arg)
224 ret <2 x half> %sqrt
230 ; CHECK-NEXT: [[SQRT:%.*]] = tail call <3 x half> @llvm.sqrt.v3f16(<3 x half> [[ARG]])
231 ; CHECK-NEXT: ret <3 x half> [[SQRT]]
233 %sqrt = tail call <3 x half> @_Z4sqrtDv3_Dh(<3 x half> %arg)
234 ret <3 x half> %sqrt
240 ; CHECK-NEXT: [[SQRT:%.*]] = tail call <4 x half> @llvm.sqrt.v4f16(<4 x half> [[ARG]])
241 ; CHECK-NEXT: ret <4 x half> [[SQRT]]
243 %sqrt = tail call <4 x half> @_Z4sqrtDv4_Dh(<4 x half> %arg)
244 ret <4 x half> %sqrt
250 ; CHECK-NEXT: [[SQRT:%.*]] = tail call <8 x half> @llvm.sqrt.v8f16(<8 x half> [[ARG]])
251 ; CHECK-NEXT: ret <8 x half> [[SQRT]]
253 %sqrt = tail call <8 x half> @_Z4sqrtDv8_Dh(<8 x half> %arg)
254 ret <8 x half> %sqrt
260 ; CHECK-NEXT: [[SQRT:%.*]] = tail call <16 x half> @llvm.sqrt.v16f16(<16 x half> [[ARG]])
261 ; CHECK-NEXT: ret <16 x half> [[SQRT]]
263 %sqrt = tail call <16 x half> @_Z4sqrtDv16_Dh(<16 x half> %arg)
264 ret <16 x half> %sqrt
270 ; CHECK-NEXT: [[SQRT:%.*]] = tail call float @_Z4sqrtf(float [[ARG]]) #[[ATTR3:[0-9]+]], !fpmath…
271 ; CHECK-NEXT: ret float [[SQRT]]
273 %sqrt = tail call float @_Z4sqrtf(float %arg) #0, !fpmath !0
274 ret float %sqrt
280 ; CHECK-NEXT: [[SQRT:%.*]] = tail call <2 x float> @_Z4sqrtDv2_f(<2 x float> [[ARG]]) #[[ATTR3]]…
281 ; CHECK-NEXT: ret <2 x float> [[SQRT]]
283 %sqrt = tail call <2 x float> @_Z4sqrtDv2_f(<2 x float> %arg) #0, !fpmath !0
284 ret <2 x float> %sqrt
290 ; CHECK-NEXT: [[SQRT:%.*]] = tail call float @_Z4sqrtf(float [[ARG]]) #[[ATTR3]]
291 ; CHECK-NEXT: ret float [[SQRT]]
293 %sqrt = tail call float @_Z4sqrtf(float %arg) #0
294 ret float %sqrt
300 ; CHECK-NEXT: [[SQRT:%.*]] = tail call <2 x float> @_Z4sqrtDv2_f(<2 x float> [[ARG]]) #[[ATTR3]]
301 ; CHECK-NEXT: ret <2 x float> [[SQRT]]
303 %sqrt = tail call <2 x float> @_Z4sqrtDv2_f(<2 x float> %arg) #0
304 ret <2 x float> %sqrt
311 ; CHECK-NEXT: [[SQRT:%.*]] = tail call float @_Z4sqrtf(float [[ARG]]) #[[ATTR3]], !fpmath [[META…
312 ; CHECK-NEXT: ret float [[SQRT]]
314 %sqrt = tail call float @_Z4sqrtf(float %arg) #0, !fpmath !0
315 ret float %sqrt
321 ; CHECK-NEXT: [[SQRT:%.*]] = tail call <2 x float> @_Z4sqrtDv2_f(<2 x float> [[ARG]]) #[[ATTR3]]…
322 ; CHECK-NEXT: ret <2 x float> [[SQRT]]
324 %sqrt = tail call <2 x float> @_Z4sqrtDv2_f(<2 x float> %arg) #0, !fpmath !0
325 ret <2 x float> %sqrt
331 ; CHECK-NEXT: [[SQRT:%.*]] = tail call float @_Z4sqrtf(float [[ARG]]) #[[ATTR3]]
332 ; CHECK-NEXT: ret float [[SQRT]]
334 %sqrt = tail call float @_Z4sqrtf(float %arg) #0
335 ret float %sqrt
341 ; CHECK-NEXT: [[SQRT:%.*]] = tail call <2 x float> @_Z4sqrtDv2_f(<2 x float> [[ARG]]) #[[ATTR3]]
342 ; CHECK-NEXT: ret <2 x float> [[SQRT]]
344 %sqrt = tail call <2 x float> @_Z4sqrtDv2_f(<2 x float> %arg) #0
345 ret <2 x float> %sqrt
351 ; CHECK-NEXT: [[SQRT:%.*]] = tail call nnan ninf float @llvm.sqrt.f32(float [[ARG]]), !fpmath [[…
352 ; CHECK-NEXT: ret float [[SQRT]]
354 %sqrt = tail call nnan ninf float @_Z4sqrtf(float %arg), !fpmath !0
355 ret float %sqrt
361 ; CHECK-NEXT: [[SQRT:%.*]] = tail call nnan nsz contract <2 x float> @llvm.sqrt.v2f32(<2 x float…
362 ; CHECK-NEXT: ret <2 x float> [[SQRT]]
364 %sqrt = tail call contract nsz nnan <2 x float> @_Z4sqrtDv2_f(<2 x float> %arg), !fpmath !0
365 ret <2 x float> %sqrt
371 ; CHECK-NEXT: [[SQRT:%.*]] = tail call nnan ninf float @llvm.sqrt.f32(float [[ARG]]), !fpmath [[…
372 ; CHECK-NEXT: ret float [[SQRT]]
374 %sqrt = tail call nnan ninf float @_Z4sqrtf(float %arg), !fpmath !0, !foo !1
375 ret float %sqrt
381 ; CHECK-NEXT: [[SQRT:%.*]] = tail call nnan nsz contract <2 x float> @llvm.sqrt.v2f32(<2 x float…
382 ; CHECK-NEXT: ret <2 x float> [[SQRT]]
384 …%sqrt = tail call contract nsz nnan <2 x float> @_Z4sqrtDv2_f(<2 x float> %arg), !fpmath !0, !foo …
385 ret <2 x float> %sqrt
391 ; CHECK-NEXT: [[SQRT:%.*]] = tail call ninf contract float @llvm.sqrt.f32(float [[ARG]])
392 ; CHECK-NEXT: ret float [[SQRT]]
394 %sqrt = tail call ninf contract float @_Z4sqrtf(float %arg)
395 ret float %sqrt
401 ; CHECK-NEXT: [[SQRT:%.*]] = tail call nnan nsz <2 x float> @llvm.sqrt.v2f32(<2 x float> [[ARG]])
402 ; CHECK-NEXT: ret <2 x float> [[SQRT]]
404 %sqrt = tail call nnan nsz <2 x float> @_Z4sqrtDv2_f(<2 x float> %arg)
405 ret <2 x float> %sqrt
410 declare double @sqrt(double) #2
415 ; CHECK-NEXT: [[SQRT:%.*]] = tail call float @sqrtf(float [[ARG]])
416 ; CHECK-NEXT: ret float [[SQRT]]
418 %sqrt = tail call float @sqrtf(float %arg)
419 ret float %sqrt
425 ; CHECK-NEXT: [[SQRT:%.*]] = tail call float @sqrtf(float [[ARG]]), !fpmath [[META0]]
426 ; CHECK-NEXT: ret float [[SQRT]]
428 %sqrt = tail call float @sqrtf(float %arg), !fpmath !0
429 ret float %sqrt
435 ; CHECK-NEXT: [[SQRT:%.*]] = tail call double @sqrt(double [[ARG]])
436 ; CHECK-NEXT: ret double [[SQRT]]
438 %sqrt = tail call double @sqrt(double %arg)
439 ret double %sqrt
445 ; CHECK-NEXT: [[SQRT:%.*]] = tail call double @sqrt(double [[ARG]]), !fpmath [[META0]]
446 ; CHECK-NEXT: ret double [[SQRT]]
448 %sqrt = tail call double @sqrt(double %arg), !fpmath !0
449 ret double %sqrt