Home
last modified time | relevance | path

Searched refs:fabsf (Results 1 – 25 of 87) sorted by relevance

1234

/external/clang/test/SemaCXX/
Dwarn-absolute-value-header.cpp6 float fabsf(float);
22 (void)fabsf(d); in test()
34 (void)fabsf(ll); in test()
42 (void)fabsf(f); in test()
45 (void)fabsf(i); in test()
Dwarn-absolute-value.cpp9 float fabsf(float);
42 (void)fabsf(x); in test_int()
106 (void)fabsf(x); in test_long()
177 (void)fabsf(x); in test_long_long()
256 (void)fabsf(x); in test_float()
320 (void)fabsf(x); in test_double()
390 (void)fabsf(x); in test_long_double()
464 (void)fabsf(x); in test_complex_float()
526 (void)fabsf(x); in test_complex_double()
594 (void)fabsf(x); in test_complex_long_double()
[all …]
/external/clang/test/Sema/
Dwarn-absolute-value.c8 float fabsf(float);
21 (void)fabsf(x); in test_int()
83 (void)fabsf(x); in test_long()
152 (void)fabsf(x); in test_long_long()
229 (void)fabsf(x); in test_float()
291 (void)fabsf(x); in test_double()
359 (void)fabsf(x); in test_long_double()
433 (void)fabsf(x); in test_complex_float()
495 (void)fabsf(x); in test_complex_double()
563 (void)fabsf(x); in test_complex_long_double()
[all …]
Dwarn-absolute-value-header.c7 int fabsf(int);
/external/llvm/test/CodeGen/Hexagon/
Dopt-fabs.ll2 ; Optimize fabsf to clrbit in V5.
11 %call = call float @fabsf(float %0) readnone
15 declare float @fabsf(float)
/external/llvm/test/CodeGen/X86/
Dfabs.ll1 ; Make sure this testcase codegens to the fabs instruction, not a call to fabsf
6 declare float @fabsf(float)
14 %Y = call float @fabsf(float %X) readnone
22 ; NOOPT-NOT: fabsf
Dfnabs.ll12 %fabs = tail call float @fabsf(float %a) #1
23 %fabs = tail call float @fabsf(float %a) #1
74 declare float @fabsf(float)
/external/llvm/test/Transforms/Inline/
Dinline-fp.ll27 %call3 = call float @fabsf(float %call)
35 %call4 = call float @fabsf(float %call1)
40 %call8 = call float @fabsf(float %call2)
74 %call3 = call float @fabsf(float %call)
82 %call4 = call float @fabsf(float %call1)
87 %call8 = call float @fabsf(float %call2)
131 declare float @fabsf(float) optsize minsize
/external/llvm/test/Transforms/InstCombine/
Dfabs.ll5 declare float @fabsf(float)
11 %fabsf = tail call float @fabsf(float %mul)
12 ret float %fabsf
48 %fabsf = tail call float @llvm.fabs.f32(float %mul)
49 ret float %fabsf
Dwin-math.ll7 ; x86-64 win32 msvcrt does (except for fabsf)
124 ; WIN32-NOT: float @fabsf
127 ; WIN64-NOT: float @fabsf
277 ; win32 lacks sqrtf&fabsf, win64 lacks fabsf
287 ; MINGW32: float @fabsf
291 ; MINGW64: float @fabsf
Dfloat-shrink-compare.ll25 ; CHECK-NEXT: %fabsf = call float @fabsf(float %x)
26 ; CHECK-NEXT: fcmp oeq float %fabsf, %y
109 ; CHECK-NEXT: %fabsf = call float @fabsf(float %x)
110 ; CHECK-NEXT: fcmp oeq float %fabsf, %y
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_setup_line.c340 if (fabsf(dx) >= fabsf(dy)) { in try_setup_line()
355 if (fabsf(x1diff) + fabsf(y1diff) < 0.5) { in try_setup_line()
374 if (fabsf(x2diff) + fabsf(y2diff) < 0.5) { in try_setup_line()
453 if (fabsf(x1diff) + fabsf(y1diff) < 0.5) { in try_setup_line()
471 if (fabsf(x2diff) + fabsf(y2diff) < 0.5) { in try_setup_line()
/external/llvm/test/Transforms/TailCallElim/
Dinf-recursion.ll25 ; CHECK-LABEL: define float @fabsf(
28 define float @fabsf(float %f) {
29 %t= call float @fabsf(float 2.0)
/external/llvm/test/CodeGen/Mips/
Df16abs.ll20 %call2 = tail call float @fabsf(float %1) #2
23 ; static-NOT: jal fabsf
30 declare float @fabsf(float) #1
Dfabs.ll22 %call = tail call float @fabsf(float %a) nounwind readnone
26 declare float @fabsf(float) nounwind readnone
/external/llvm/test/CodeGen/Generic/
Dfneg-fabs.ll15 declare float @fabsf(float)
23 %Y = call float @fabsf( float %X ) ; <float> [#uses=1]
/external/llvm/test/CodeGen/ARM/
Dfabss.ll9 %0 = tail call float @fabsf(float %dum) readnone
14 declare float @fabsf(float)
Dfparith.ll87 %tmp1 = call float @fabsf( float %a ) readnone ; <float> [#uses=1]
91 declare float @fabsf(float)
/external/mesa3d/src/gallium/drivers/nv50/
Dnv50_state_validate.c163 minx = MAX2(minx, (int)(vp->translate[0] - fabsf(vp->scale[0]))); in nv50_validate_scissor()
164 maxx = MIN2(maxx, (int)(vp->translate[0] + fabsf(vp->scale[0]))); in nv50_validate_scissor()
165 miny = MAX2(miny, (int)(vp->translate[1] - fabsf(vp->scale[1]))); in nv50_validate_scissor()
166 maxy = MIN2(maxy, (int)(vp->translate[1] + fabsf(vp->scale[1]))); in nv50_validate_scissor()
193 zmin = nv50->viewport.translate[2] - fabsf(nv50->viewport.scale[2]); in nv50_validate_viewport()
194 zmax = nv50->viewport.translate[2] + fabsf(nv50->viewport.scale[2]); in nv50_validate_viewport()
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_tex_sample.c210 const float u = fabsf(s); in wrap_nearest_mirror_clamp()
227 const float u = fabsf(s); in wrap_nearest_mirror_clamp_to_edge()
244 const float u = fabsf(s); in wrap_nearest_mirror_clamp_to_border()
340 float u = fabsf(s); in wrap_linear_mirror_clamp()
356 float u = fabsf(s); in wrap_linear_mirror_clamp_to_edge()
378 float u = fabsf(s); in wrap_linear_mirror_clamp_to_border()
494 float dsdx = fabsf(s[QUAD_BOTTOM_RIGHT] - s[QUAD_BOTTOM_LEFT]); in compute_lambda_1d()
495 float dsdy = fabsf(s[QUAD_TOP_LEFT] - s[QUAD_BOTTOM_LEFT]); in compute_lambda_1d()
509 float dsdx = fabsf(s[QUAD_BOTTOM_RIGHT] - s[QUAD_BOTTOM_LEFT]); in compute_lambda_2d()
510 float dsdy = fabsf(s[QUAD_TOP_LEFT] - s[QUAD_BOTTOM_LEFT]); in compute_lambda_2d()
[all …]
/external/mesa3d/src/mesa/program/
Dprog_opt_constant_fold.c101 data[0] = fabsf(data[0]); in get_value()
102 data[1] = fabsf(data[1]); in get_value()
103 data[2] = fabsf(data[2]); in get_value()
104 data[3] = fabsf(data[3]); in get_value()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pipe_offset.c89 float dzdx = fabsf(a * inv_det); in do_offset_tri()
90 float dzdy = fabsf(b * inv_det); in do_offset_tri()
Ddraw_pipe_wide_line.c77 const float dx = fabsf(pos0[0] - pos2[0]); in wideline_line()
78 const float dy = fabsf(pos0[1] - pos2[1]); in wideline_line()
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/CollisionShapes/
DbtConvexPolyhedron.cpp36 if(fabsf(v.x())>1e-6 || fabsf(v.y())>1e-6 || fabsf(v.z())>1e-6) return false; in IsAlmostZero()
/external/mesa3d/src/gallium/drivers/nvc0/
Dnvc0_state_validate.c236 x = util_iround(MAX2(0.0f, vp->translate[0] - fabsf(vp->scale[0]))); in nvc0_validate_viewport()
237 y = util_iround(MAX2(0.0f, vp->translate[1] - fabsf(vp->scale[1]))); in nvc0_validate_viewport()
238 w = util_iround(vp->translate[0] + fabsf(vp->scale[0])) - x; in nvc0_validate_viewport()
239 h = util_iround(vp->translate[1] + fabsf(vp->scale[1])) - y; in nvc0_validate_viewport()
241 zmin = vp->translate[2] - fabsf(vp->scale[2]); in nvc0_validate_viewport()
242 zmax = vp->translate[2] + fabsf(vp->scale[2]); in nvc0_validate_viewport()

1234