Lines Matching refs:sqrt

9 declare float @llvm.sqrt.f32(float)
10 declare <4 x float> @llvm.sqrt.v4f32(<4 x float>)
11 declare <8 x float> @llvm.sqrt.v8f32(<8 x float>)
12 declare <16 x float> @llvm.sqrt.v16f32(<16 x float>)
13 declare double @llvm.sqrt.f64(double)
14 declare <2 x double> @llvm.sqrt.v2f64(<2 x double>)
182 %call = tail call <4 x float> @llvm.sqrt.v4f32(<4 x float> %x) #2
233 %call = tail call ninf afn <4 x float> @llvm.sqrt.v4f32(<4 x float> %x) #2
251 %sqrt = tail call float @llvm.sqrt.f32(float %x)
252 %div = fdiv fast float 1.0, %sqrt
285 %sqrt = tail call float @llvm.sqrt.f32(float %x)
286 %div = fdiv fast float 1.0, %sqrt
300 %sqrt = tail call fast float @llvm.sqrt.f32(float %x)
301 ret float %sqrt
325 %sqrt = tail call <4 x float> @llvm.sqrt.v4f32(<4 x float> %x)
326 %div = fdiv fast <4 x float> <float 1.0, float 1.0, float 1.0, float 1.0>, %sqrt
361 %sqrt = tail call <4 x float> @llvm.sqrt.v4f32(<4 x float> %x)
362 %div = fdiv fast <4 x float> <float 1.0, float 1.0, float 1.0, float 1.0>, %sqrt
398 %sqrt = tail call fast <4 x float> @llvm.sqrt.v4f32(<4 x float> %x)
399 ret <4 x float> %sqrt
426 %sqrt = tail call <8 x float> @llvm.sqrt.v8f32(<8 x float> %x)
427 …at> <float 1.0, float 1.0, float 1.0, float 1.0, float 1.0, float 1.0, float 1.0, float 1.0>, %sqrt
470 %sqrt = tail call <8 x float> @llvm.sqrt.v8f32(<8 x float> %x)
471 …at> <float 1.0, float 1.0, float 1.0, float 1.0, float 1.0, float 1.0, float 1.0, float 1.0>, %sqrt
507 %sqrt = tail call <16 x float> @llvm.sqrt.v16f32(<16 x float> %x)
508 …1.0, float 1.0, float 1.0, float 1.0, float 1.0, float 1.0, float 1.0, float 1.0, float 1.0>, %sqrt
570 %sqrt = tail call <16 x float> @llvm.sqrt.v16f32(<16 x float> %x)
571 …1.0, float 1.0, float 1.0, float 1.0, float 1.0, float 1.0, float 1.0, float 1.0, float 1.0>, %sqrt
575 ; x / (fabs(y) * sqrt(z)) --> x * rsqrt(y*y*z)
616 %s = call fast float @llvm.sqrt.f32(float %z)
623 ; x / (fabs(y) * sqrt(z)) --> x * rsqrt(y*y*z)
665 %s = call <4 x float> @llvm.sqrt.v4f32(<4 x float> %z)
673 ; We allow converting the sqrt to an estimate, but
675 ; x / (fabs(y) * sqrt(z)) --> x * rsqrt(z) / fabs(y)
719 %s = call <4 x float> @llvm.sqrt.v4f32(<4 x float> %z)
744 %s = call fast double @llvm.sqrt.f64(double %z)
752 ; if the sqrt operand is the same as the other mul op,
754 ; x / (y * sqrt(y)) --> x * rsqrt(y*y*y)
796 %s = call fast float @llvm.sqrt.f32(float %y)
803 ; if the sqrt operand is the same as the other mul op,
805 ; x / (y * sqrt(y)) --> x * rsqrt(y*y*y)
848 %s = call <4 x float> @llvm.sqrt.v4f32(<4 x float> %y)
864 %sqrt = call fast double @llvm.sqrt.f64(double %x)
865 %r = fdiv fast double %x, %sqrt
879 %sqrt = call <2 x double> @llvm.sqrt.v2f64(<2 x double> %x)
880 %r = fdiv arcp nsz reassoc <2 x double> %x, %sqrt
896 %sqrt = call fast double @llvm.sqrt.f64(double %x)
897 store double %sqrt, ptr %p
898 %r = fdiv fast double %x, %sqrt
918 %sqrt = tail call fast double @llvm.sqrt.f64(double %x)
919 %rsqrt = fdiv fast double 1.0, %sqrt
920 %sqrt_fast = fdiv fast double %x, %sqrt
941 %sqrt = tail call fast <2 x double> @llvm.sqrt.v2f64(<2 x double> %x)
942 %rsqrt = fdiv fast <2 x double> <double 1.0, double 1.0>, %sqrt
943 %sqrt_fast = fdiv fast <2 x double> %x, %sqrt
964 %sqrt = tail call fast double @llvm.sqrt.f64(double %x)
965 %sqrt_fast = fdiv fast double %x, %sqrt
966 %rsqrt = fdiv fast double 42.0, %sqrt
972 attributes #1 = { "unsafe-fp-math"="true" "reciprocal-estimates"="sqrt,vec-sqrt" }
974 attributes #3 = { "unsafe-fp-math"="true" "reciprocal-estimates"="sqrt,vec-sqrt" "denormal-fp-math"…
975 attributes #4 = { "unsafe-fp-math"="true" "reciprocal-estimates"="sqrt,vec-sqrt" "denormal-fp-math"…