Home
last modified time | relevance | path

Searched refs:copysign (Results 1 – 25 of 81) sorted by relevance

1234

/external/llvm/test/Transforms/InstCombine/
Dcopysign.ll3 declare float @llvm.copysign.f32(float, float) #0
4 declare double @llvm.copysign.f64(double, double) #0
9 %x = call float @llvm.copysign.f32(float 1.0, float -2.0) #0
16 %x = call float @llvm.copysign.f32(float -2.0, float 1.0) #0
23 %x = call float @llvm.copysign.f32(float -2.0, float -1.0) #0
30 %x = call double @llvm.copysign.f64(double 1.0, double -2.0) #0
37 %x = call double @llvm.copysign.f64(double -1.0, double 2.0) #0
44 %x = call double @llvm.copysign.f64(double -1.0, double -2.0) #0
/external/llvm/test/CodeGen/AArch64/
Dvector-fcopysign.ll13 %r = call <1 x float> @llvm.copysign.v1f32(<1 x float> %a, <1 x float> %b)
25 %r = call <1 x float> @llvm.copysign.v1f32(<1 x float> %a, <1 x float> %tmp0)
29 declare <1 x float> @llvm.copysign.v1f32(<1 x float> %a, <1 x float> %b) #0
42 %r = call <1 x double> @llvm.copysign.v1f64(<1 x double> %a, <1 x double> %tmp0)
52 %r = call <1 x double> @llvm.copysign.v1f64(<1 x double> %a, <1 x double> %b)
56 declare <1 x double> @llvm.copysign.v1f64(<1 x double> %a, <1 x double> %b) #0
65 %r = call <2 x float> @llvm.copysign.v2f32(<2 x float> %a, <2 x float> %b)
76 %r = call <2 x float> @llvm.copysign.v2f32(<2 x float> %a, <2 x float> %tmp0)
80 declare <2 x float> @llvm.copysign.v2f32(<2 x float> %a, <2 x float> %b) #0
89 %r = call <4 x float> @llvm.copysign.v4f32(<4 x float> %a, <4 x float> %b)
[all …]
Darm64-fcopysign.ll20 %0 = tail call double @copysign(double %x, double %y) nounwind readnone
32 %tmp = tail call double @copysign( double %a, double %tmp2 ) nounwind readnone
50 declare double @copysign(double, double) nounwind readnone
/external/llvm/test/CodeGen/WebAssembly/
Dcopysign-casts.ll3 ; DAGCombiner oddly folds casts into the rhs of copysign. Test that they get
9 declare double @copysign(double, double) nounwind readnone
14 ; CHECK: f64.copysign $push1=, $0, $pop0{{$}}
17 %t = call double @copysign(double %a, double %c)
23 ; CHECK: f32.copysign $push1=, $0, $pop0{{$}}
Df64.ll9 declare double @llvm.copysign.f64(double, double)
69 ; CHECK: f64.copysign $push0=, $0, $1{{$}}
72 %a = call double @llvm.copysign.f64(double %x, double %y)
Df32.ll9 declare float @llvm.copysign.f32(float, float)
69 ; CHECK: f32.copysign $push0=, $0, $1{{$}}
72 %a = call float @llvm.copysign.f32(float %x, float %y)
/external/llvm/test/CodeGen/X86/
Dsse-fcopysign.ll35 ; X32-NEXT: calll copysign
42 ; X64-NEXT: jmp copysign
45 %tmp = tail call double @copysign( double %a, double %tmp2 )
50 declare double @copysign(double, double)
73 %tmp = tail call float @llvm.copysign.f32( float %b, float %a )
101 %tmp = tail call double @llvm.copysign.f64( double %a, double %tmp2 )
114 %tmp = tail call float @llvm.copysign.f32( float 1.0, float -2.0 )
129 %tmp = tail call double @llvm.copysign.f64( double 0.0, double %tmp2 )
133 declare float @llvm.copysign.f32(float %Mag, float %Sgn)
134 declare double @llvm.copysign.f64(double %Mag, double %Sgn)
Dcopysign-constant-magnitude.ll21 %d0 = call double @copysign(double 0.000000e+00, double %iX)
28 %dn0 = call double @copysign(double -0.000000e+00, double %id0)
35 %d1 = call double @copysign(double 1.000000e+00, double %idn0)
42 %dn1 = call double @copysign(double -1.000000e+00, double %id1)
100 declare double @copysign(double, double) nounwind readnone
/external/llvm/test/CodeGen/AMDGPU/
Dfcopysign.f64.ll4 declare double @llvm.copysign.f64(double, double) nounwind readnone
5 declare <2 x double> @llvm.copysign.v2f64(<2 x double>, <2 x double>) nounwind readnone
6 declare <4 x double> @llvm.copysign.v4f64(<4 x double>, <4 x double>) nounwind readnone
21 %result = call double @llvm.copysign.f64(double %mag, double %sign)
29 %result = call <2 x double> @llvm.copysign.v2f64(<2 x double> %mag, <2 x double> %sign)
37 %result = call <4 x double> @llvm.copysign.v4f64(<4 x double> %mag, <4 x double> %sign)
Dfcopysign.f32.ll6 declare float @llvm.copysign.f32(float, float) nounwind readnone
7 declare <2 x float> @llvm.copysign.v2f32(<2 x float>, <2 x float>) nounwind readnone
8 declare <4 x float> @llvm.copysign.v4f32(<4 x float>, <4 x float>) nounwind readnone
25 %result = call float @llvm.copysign.f32(float %mag, float %sign)
36 %result = call <2 x float> @llvm.copysign.v2f32(<2 x float> %mag, <2 x float> %sign)
49 %result = call <4 x float> @llvm.copysign.v4f32(<4 x float> %mag, <4 x float> %sign)
/external/libcxx/include/
Dcomplex604 __a = copysign(isinf(__a) ? _Tp(1) : _Tp(0), __a);
605 __b = copysign(isinf(__b) ? _Tp(1) : _Tp(0), __b);
607 __c = copysign(_Tp(0), __c);
609 __d = copysign(_Tp(0), __d);
614 __c = copysign(isinf(__c) ? _Tp(1) : _Tp(0), __c);
615 __d = copysign(isinf(__d) ? _Tp(1) : _Tp(0), __d);
617 __a = copysign(_Tp(0), __a);
619 __b = copysign(_Tp(0), __b);
626 __a = copysign(_Tp(0), __a);
628 __b = copysign(_Tp(0), __b);
[all …]
/external/llvm/test/ExecutionEngine/Interpreter/
Dintrinsics.ll16 declare float @llvm.copysign.f32(float, float)
17 declare double @llvm.copysign.f64(double, double)
32 %copysign32 = call float @llvm.copysign.f32(float 0.000000e+00, float 0.000000e+00)
33 %copysign64 = call double @llvm.copysign.f64(double 0.000000e+00, double 0.000000e+00)
/external/llvm/test/CodeGen/PowerPC/
Dfcpsgn.ll8 %call = tail call double @copysign(double %a, double %b) #0
19 declare double @copysign(double, double) #0
53 %call = tail call double @copysign(double %a, double %conv) #0
Dcopysignl.ll25 %call = tail call double @copysign(double %a, double %conv) #0
36 declare double @copysign(double, double) #0
Dfp128-bitcast-after-operation.ll131 …%0 = tail call ppc_fp128 @llvm.copysign.ppcf128(ppc_fp128 0xMBCB0000000000000400F000000000000, ppc…
137 declare ppc_fp128 @llvm.copysign.ppcf128(ppc_fp128, ppc_fp128)
/external/llvm/test/CodeGen/ARM/
Dfcopysign.ll28 %0 = tail call double @copysign(double %x, double %y) nounwind readnone
39 %1 = tail call double @copysign(double %0, double %z) nounwind readnone
59 declare double @copysign(double, double) nounwind
/external/apache-commons-math/src/main/java/org/apache/commons/math/dfp/
DDfpDec.java324 inc = copysign(inc, this); in nextAfter()
331 result = copysign(newInstance(getZero()), this); in nextAfter()
337 inc = copysign(inc, this); in nextAfter()
350 result = copysign(newInstance(getZero()), this); in nextAfter()
/external/llvm/test/CodeGen/SystemZ/
Dfp-copysign-01.ll1 ; Test copysign operations.
6 declare double @copysign(double, double) readnone
51 %res = call double @copysign(double %a, double %b) readnone
61 %res = call double @copysign(double %a, double %b) readnone
74 %res = call double @copysign(double %a, double %b) readnone
/external/clang/test/CodeGen/
Dlibcalls-fno-builtin.c7 double copysign(double,double);
35 double t2(double x, double y) { return copysign(x,y); } in t2()
/external/llvm/test/CodeGen/Mips/
Dfcopysign-f32-f64.ll5 declare double @copysign(double, double) nounwind readnone
51 %call = tail call double @copysign(double %add, double %conv) nounwind readnone
Dfcopysign.ll34 %call = tail call double @copysign(double %d0, double %d1) nounwind readnone
38 declare double @copysign(double, double) nounwind readnone
/external/bison/m4/
Dsignbit.m4106 dnl Test whether copysign() is declared.
107 AC_CHECK_DECLS([copysign], , , [[#include <math.h>]])
109 dnl Test whether copysign() can be used without libm.
110 AC_CACHE_CHECK([whether copysign can be used without linking with libm],
117 [[return copysign (x, y) < 0;]])],
123 [Define if the copysign function is declared in <math.h> and available in libc.])
/external/bison/lib/
Dsignbitd.c46 return copysign (1.0, arg) < 0; in gl_signbitd()
/external/llvm/test/Transforms/SLPVectorizer/X86/
Dintrinsic.ll32 declare float @llvm.copysign.f32(float, float) nounwind readnone
37 ;CHECK: call <4 x float> @llvm.copysign.v4f32
44 %call0 = tail call float @llvm.copysign.f32(float %0, float %1) nounwind readnone
51 %call1 = tail call float @llvm.copysign.f32(float %2, float %3) nounwind readnone
59 %call2 = tail call float @llvm.copysign.f32(float %4, float %5) nounwind readnone
67 %call3 = tail call float @llvm.copysign.f32(float %6, float %7) nounwind readnone
/external/llvm/lib/Target/WebAssembly/
DWebAssemblyInstrFloat.td27 defm COPYSIGN : BinaryFP<fcopysign, "copysign">;
41 // DAGCombine oddly folds casts into the rhs of copysign. Unfold them.

1234