/external/llvm/test/CodeGen/AMDGPU/ |
D | fabs.f64.ll | 5 declare double @fabs(double) readnone 6 declare double @llvm.fabs.f64(double) readnone 7 declare <2 x double> @llvm.fabs.v2f64(<2 x double>) readnone 8 declare <4 x double> @llvm.fabs.v4f64(<4 x double>) readnone 18 %fabs = call double @llvm.fabs.f64(double %val) 19 store double %fabs, double addrspace(1)* %out 28 %fabs = call double @llvm.fabs.f64(double %in) 29 store double %fabs, double addrspace(1)* %out 38 %fabs = call <2 x double> @llvm.fabs.v2f64(<2 x double> %in) 39 store <2 x double> %fabs, <2 x double> addrspace(1)* %out [all …]
|
D | fabs.ll | 7 ; (fabs (f32 bitcast (i32 a))) => (f32 bitcast (and (i32 a), 0x7FFFFFFF)) 18 %fabs = call float @fabs(float %bc) 19 store float %fabs, float addrspace(1)* %out 31 %fabs = call float @llvm.fabs.f32(float %bc) 32 store float %fabs, float addrspace(1)* %out 41 %fabs = call float @llvm.fabs.f32(float %in) 42 store float %fabs, float addrspace(1)* %out 53 %fabs = call <2 x float> @llvm.fabs.v2f32(<2 x float> %in) 54 store <2 x float> %fabs, <2 x float> addrspace(1)* %out 69 %fabs = call <4 x float> @llvm.fabs.v4f32(<4 x float> %in) [all …]
|
D | fneg-fabs.ll | 9 %fabs = call float @llvm.fabs.f32(float %x) 10 %fsub = fsub float -0.000000e+00, %fabs 21 %fabs = call float @llvm.fabs.f32(float %x) 22 %fsub = fsub float -0.000000e+00, %fabs 29 ; (fabs (f32 bitcast (i32 a))) => (f32 bitcast (and (i32 a), 0x7FFFFFFF)) 40 %fabs = call float @llvm.fabs.f32(float %bc) 41 %fsub = fsub float -0.000000e+00, %fabs 54 %fabs = call float @fabs(float %bc) 55 %fsub = fsub float -0.000000e+00, %fabs 63 %fabs = call float @llvm.fabs.f32(float %in) [all …]
|
D | fneg-fabs.f64.ll | 4 ; FIXME: Check something here. Currently it seems fabs + fneg aren't 10 %fabs = call double @llvm.fabs.f64(double %x) 11 %fsub = fsub double -0.000000e+00, %fabs 20 %fabs = call double @llvm.fabs.f64(double %x) 21 %fsub = fsub double -0.000000e+00, %fabs 30 %fabs = call double @llvm.fabs.f64(double %x) 31 %fsub = fsub double -0.000000e+00, %fabs 40 %fabs = call double @llvm.fabs.f64(double %bc) 41 %fsub = fsub double -0.000000e+00, %fabs 51 %fabs = call double @fabs(double %bc) [all …]
|
D | fp-classify.ll | 7 declare float @llvm.fabs.f32(float) #1 8 declare double @llvm.fabs.f64(double) #1 16 %fabs = tail call float @llvm.fabs.f32(float %x) #1 17 %cmp = fcmp oeq float %fabs, 0x7FF0000000000000 27 %fabs = tail call float @llvm.fabs.f32(float %x) #1 28 %cmp = fcmp ueq float %fabs, 0x7FF0000000000000 38 %fabs = tail call float @llvm.fabs.f32(float %x) #1 39 %cmp = fcmp oeq float %fabs, 0xFFF0000000000000 53 %x.fabs = tail call float @llvm.fabs.f32(float %x) #1 54 %ninf = fcmp une float %x.fabs, 0x7FF0000000000000 [all …]
|
D | commute_modifiers.ll | 4 declare float @llvm.fabs.f32(float) #1 15 %x.fabs = call float @llvm.fabs.f32(float %x) #1 16 %z = fadd float 2.0, %x.fabs 29 %x.fabs = call float @llvm.fabs.f32(float %x) #1 30 %x.fneg.fabs = fsub float -0.000000e+00, %x.fabs 31 %z = fmul float 4.0, %x.fneg.fabs 60 %x.fabs = call float @llvm.fabs.f32(float %x) #1 61 %z = fadd float 1024.0, %x.fabs 77 %y.fabs = call float @llvm.fabs.f32(float %y) #1 78 %z = fadd float %x, %y.fabs [all …]
|
D | llvm.AMDGPU.clamp.ll | 5 declare float @llvm.fabs.f32(float) nounwind readnone 28 %src.fabs = call float @llvm.fabs.f32(float %src) nounwind readnone 29 …%clamp = call float @llvm.AMDGPU.clamp.f32(float %src.fabs, float 0.0, float 1.0) nounwind readnone 52 %src.fabs = call float @llvm.fabs.f32(float %src) nounwind readnone 53 %src.fneg.fabs = fsub float -0.0, %src.fabs 54 …%clamp = call float @llvm.AMDGPU.clamp.f32(float %src.fneg.fabs, float 0.0, float 1.0) nounwind re…
|
D | cvt_flr_i32_f32.ll | 5 declare float @llvm.fabs.f32(float) #1 39 %x.fabs = call float @llvm.fabs.f32(float %x) #1 40 %floor = call float @llvm.floor.f32(float %x.fabs) #1 65 %x.fabs = call float @llvm.fabs.f32(float %x) #1 66 %x.fabs.fneg = fsub float -0.000000e+00, %x.fabs 67 %floor = call float @llvm.floor.f32(float %x.fabs.fneg) #1
|
D | cvt_rpi_i32_f32.ll | 5 declare float @llvm.fabs.f32(float) #1 25 %x.fabs = call float @llvm.fabs.f32(float %x) #1 26 %fadd = fadd float %x.fabs, 0.5 59 %x.fabs = call float @llvm.fabs.f32(float %x) #1 60 %x.fabs.fneg = fsub float -0.000000e+00, %x.fabs 61 %fadd = fadd float %x.fabs.fneg, 0.5
|
/external/llvm/test/CodeGen/X86/ |
D | fnabs.ll | 12 %fabs = tail call float @fabsf(float %a) #1 13 %fsub = fsub float -0.0, %fabs 23 %fabs = tail call float @fabsf(float %a) #1 24 %fsub = fsub float -0.0, %fabs 25 %fmul = fmul float %fsub, %fabs 33 %fabs = tail call <4 x float> @llvm.fabs.v4f32(< 4 x float> %a) #1 34 %fsub = fsub <4 x float> <float -0.0, float -0.0, float -0.0, float -0.0>, %fabs 44 %fabs = tail call <4 x float> @llvm.fabs.v4f32(<4 x float> %a) #1 45 %fsub = fsub <4 x float> <float -0.0, float -0.0, float -0.0, float -0.0>, %fabs 46 %fmul = fmul <4 x float> %fsub, %fabs [all …]
|
D | fabs.ll | 1 ; Make sure this testcase codegens to the fabs instruction, not a call to fabsf 17 ; CHECK: {{^[ \t]+fabs$}} 18 ; UNSAFE: {{^[ \t]+fabs$}} 20 ; CHECK-NOT: fabs 21 ; UNSAFE-NOT: fabs 33 ; fabs is not used here. 34 ; CHECK-NOT: fabs 35 ; NOOPT-NOT: fabs 37 ; UNSAFE: {{^[ \t]+fabs$}} 39 ; UNSAFE-NOT: fabs [all …]
|
D | vec_fabs.ll | 8 %t = call <2 x double> @llvm.fabs.v2f64(<2 x double> %p) 11 declare <2 x double> @llvm.fabs.v2f64(<2 x double> %p) 17 %t = call <4 x float> @llvm.fabs.v4f32(<4 x float> %p) 20 declare <4 x float> @llvm.fabs.v4f32(<4 x float> %p) 26 %t = call <4 x double> @llvm.fabs.v4f64(<4 x double> %p) 29 declare <4 x double> @llvm.fabs.v4f64(<4 x double> %p) 35 %t = call <8 x float> @llvm.fabs.v8f32(<8 x float> %p) 38 declare <8 x float> @llvm.fabs.v8f32(<8 x float> %p) 40 ; PR20354: when generating code for a vector fabs op, 42 ; No constant pool loads or vector ops are needed for the fabs of a [all …]
|
/external/llvm/test/Transforms/InstCombine/ |
D | fabs.ll | 6 declare double @fabs(double) 21 %fabs = tail call double @fabs(double %mul) 22 ret double %fabs 41 declare float @llvm.fabs.f32(float) 42 declare double @llvm.fabs.f64(double) 43 declare fp128 @llvm.fabs.f128(fp128) 44 declare <4 x float> @llvm.fabs.v4f32(<4 x float>) 48 %fabsf = tail call float @llvm.fabs.f32(float %mul) 58 %fabs = tail call double @llvm.fabs.f64(double %mul) 59 ret double %fabs [all …]
|
D | fcmp.ll | 3 declare double @llvm.fabs.f64(double) nounwind readnone 74 declare double @fabs(double) nounwind readnone 77 %call = tail call double @fabs(double %a) nounwind 82 ; CHECK-NOT: fabs 87 %call = tail call double @llvm.fabs.f64(double %a) nounwind 92 ; CHECK-NOT: fabs 97 %call = tail call double @fabs(double %a) nounwind 102 ; CHECK-NOT: fabs 107 %call = tail call double @llvm.fabs.f64(double %a) nounwind 112 ; CHECK-NOT: fabs [all …]
|
/external/llvm/test/CodeGen/ARM/ |
D | fabs-neon.ll | 6 %foo = call <4 x float> @llvm.fabs.v4f32(<4 x float> %a) 9 declare <4 x float> @llvm.fabs.v4f32(<4 x float> %a) 14 %foo = call <2 x float> @llvm.fabs.v2f32(<2 x float> %a) 17 declare <2 x float> @llvm.fabs.v2f32(<2 x float> %a) 19 ; No constant pool loads or vector ops are needed for the fabs of a 42 %fabs = call <2 x float> @llvm.fabs.v2f32(<2 x float> %bitcast) 43 %ret = bitcast <2 x float> %fabs to i64 53 %fabs = call <2 x float> @llvm.fabs.v2f32(<2 x float> %bitcast) 54 %ret = bitcast <2 x float> %fabs to i64
|
/external/ImageMagick/tests/ |
D | validate.c | 169 x=c*(1.0-fabs(h-2.0*floor(h/2.0)-1.0)); in ConvertHSVToRGB() 605 if ((fabs(r-0.545877*QuantumRange) >= ReferenceEpsilon) || in ValidateHSIToRGB() 606 (fabs(g-0.966567*QuantumRange) >= ReferenceEpsilon) || in ValidateHSIToRGB() 607 (fabs(b-0.463759*QuantumRange) >= ReferenceEpsilon)) in ValidateHSIToRGB() 622 if ((fabs(h-111.244374/360.0) >= ReferenceEpsilon) || in ValidateRGBToHSI() 623 (fabs(s-0.295985) >= ReferenceEpsilon) || in ValidateRGBToHSI() 624 (fabs(i-0.658734) >= ReferenceEpsilon)) in ValidateRGBToHSI() 638 if ((fabs(r-0.545877*QuantumRange) >= ReferenceEpsilon) || in ValidateHSLToRGB() 639 (fabs(g-0.966567*QuantumRange) >= ReferenceEpsilon) || in ValidateHSLToRGB() 640 (fabs(b-0.463759*QuantumRange) >= ReferenceEpsilon)) in ValidateHSLToRGB() [all …]
|
/external/clang/test/Headers/ |
D | tgmath.c | 26 _Static_assert(sizeof(fabs(f)) == sizeof(f), ""); 27 _Static_assert(sizeof(fabs(d)) == sizeof(d), ""); 28 _Static_assert(sizeof(fabs(l)) == sizeof(l), ""); 30 _Static_assert(sizeof(fabs(fc)) == sizeof(f), ""); 31 _Static_assert(sizeof(fabs(dc)) == sizeof(d), ""); 32 _Static_assert(sizeof(fabs(lc)) == sizeof(l), "");
|
/external/skia/src/pathops/ |
D | SkPathOpsTypes.h | 251 return fabs(x) < FLT_EPSILON; in approximately_zero() 255 return fabs(x) < DBL_EPSILON_ERR; in precisely_zero() 259 return fabs(x) < DBL_EPSILON_SUBDIVIDE_ERR; in precisely_subdivide_zero() 263 return fabs(x) < FLT_EPSILON; in approximately_zero() 267 return fabs(x) < FLT_EPSILON_CUBED; in approximately_zero_cubed() 271 return fabs(x) < FLT_EPSILON_HALF; in approximately_zero_half() 275 return fabs(x) < FLT_EPSILON_DOUBLE; in approximately_zero_double() 279 return fabs(x) < FLT_EPSILON_ORDERABLE_ERR; in approximately_zero_orderable() 283 return fabs(x) < FLT_EPSILON_SQUARED; in approximately_zero_squared() 287 return fabs(x) < FLT_EPSILON_SQRT; in approximately_zero_sqrt() [all …]
|
/external/llvm/test/CodeGen/AArch64/ |
D | fast-isel-intrinsic.ll | 6 ; CHECK: fabs s0, s0 7 %1 = call float @llvm.fabs.f32(float %a) 13 ; CHECK: fabs d0, d0 14 %1 = call double @llvm.fabs.f64(double %a) 18 declare double @llvm.fabs.f64(double) 19 declare float @llvm.fabs.f32(float)
|
/external/clang/test/Sema/ |
D | warn-absolute-value.c | 9 double fabs(double); 25 (void)fabs(x); in test_int() 87 (void)fabs(x); in test_long() 156 (void)fabs(x); in test_long_long() 230 (void)fabs(x); in test_float() 295 (void)fabs(x); in test_double() 363 (void)fabs(x); in test_long_double() 437 (void)fabs(x); in test_complex_float() 499 (void)fabs(x); in test_complex_double() 567 (void)fabs(x); in test_complex_long_double() [all …]
|
/external/libopus/celt/tests/ |
D | test_unit_mathops.c | 72 if (fabs(prod-1) > .00025) in testdiv() 89 if (fabs(ratio - 1) > .0005 && fabs(val-sqrt(i)) > 2) in testsqrt() 157 float error = fabs((1.442695040888963387*log(x))-celt_log2(x)); in testlog2() 171 float error = fabs(x-(1.442695040888963387*log(celt_exp2(x)))); in testexp2() 185 float error = fabs(x-(celt_log2(celt_exp2(x)))); in testexp2log2() 199 float error = fabs((1.442695040888963387*log(x/16384.0))-celt_log2(x)/1024.0); in testlog2() 213 float error1 = fabs(x/1024.0-(1.442695040888963387*log(celt_exp2(x)/65536.0))); in testexp2() 214 float error2 = fabs(exp(0.6931471805599453094*x/1024.0)-celt_exp2(x)/65536.0); in testexp2() 228 float error = fabs(x-0.25*celt_exp2(celt_log2(x)))/16384; in testexp2log2()
|
/external/clang/test/SemaCXX/ |
D | warn-absolute-value.cpp | 10 double fabs(double); 46 (void)fabs(x); in test_int() 110 (void)fabs(x); in test_long() 181 (void)fabs(x); in test_long_long() 257 (void)fabs(x); in test_float() 324 (void)fabs(x); in test_double() 394 (void)fabs(x); in test_long_double() 468 (void)fabs(x); in test_complex_float() 530 (void)fabs(x); in test_complex_double() 598 (void)fabs(x); in test_complex_long_double() [all …]
|
/external/opencv/cv/src/ |
D | cvmatchcontours.cpp | 111 double ama = fabs( ma[i] ); in cvMatchShapes() 112 double amb = fabs( mb[i] ); in cvMatchShapes() 131 result += fabs( -ama + amb ); in cvMatchShapes() 141 double ama = fabs( ma[i] ); in cvMatchShapes() 142 double amb = fabs( mb[i] ); in cvMatchShapes() 161 result += fabs( -ama + amb ); in cvMatchShapes() 171 double ama = fabs( ma[i] ); in cvMatchShapes() 172 double amb = fabs( mb[i] ); in cvMatchShapes() 191 mmm = fabs( (ama - amb) / ama ); in cvMatchShapes() 343 t0 = fabs( r11 * w1 + r21 * w2 ); in cvMatchContourTrees() [all …]
|
/external/ImageMagick/MagickCore/ |
D | gem.c | 108 x=c*(1.0-fabs(fmod(h,2.0)-1.0)); in ConvertHCLToRGB() 202 x=c*(1.0-fabs(fmod(h,2.0)-1.0)); in ConvertHCLpToRGB() 302 if (fabs(saturation) < MagickEpsilon) in ConvertHSBToRGB() 485 x=c*(1.0-fabs(h-2.0*floor(h/2.0)-1.0)); in ConvertHSLToRGB() 586 x=c*(1.0-fabs(h-2.0*floor(h/2.0)-1.0)); in ConvertHSVToRGB() 688 if (fabs(hue-(-1.0)) < MagickEpsilon) in ConvertHWBToRGB() 867 if (fabs(c) < MagickEpsilon) in ConvertRGBToHCL() 870 if (fabs(red-max) < MagickEpsilon) in ConvertRGBToHCL() 873 if (fabs(green-max) < MagickEpsilon) in ConvertRGBToHCL() 876 if (fabs(blue-max) < MagickEpsilon) in ConvertRGBToHCL() [all …]
|
/external/llvm/test/CodeGen/SystemZ/ |
D | fp-abs-01.ll | 7 declare float @llvm.fabs.f32(float %f) 12 %res = call float @llvm.fabs.f32(float %f) 17 declare double @llvm.fabs.f64(double %f) 22 %res = call double @llvm.fabs.f64(double %f) 29 declare fp128 @llvm.fabs.f128(fp128 %f) 36 %abs = call fp128 @llvm.fabs.f128(fp128 %orig)
|