Home
last modified time | relevance | path

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

123

/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/R600/
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/X86/
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
Dsse-fcopysign.ll11 %tmp = tail call double @copysign( double %a, double %tmp2 )
16 declare double @copysign(double, double)
/external/llvm/test/CodeGen/AArch64/
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/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
/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/llvm/include/llvm/Transforms/Utils/
DVectorUtils.h41 case Intrinsic::copysign: in isTriviallyVectorizable()
166 case LibFunc::copysign: in getIntrinsicIDForCall()
169 return checkBinaryFloatSignature(*CI, Intrinsic::copysign); in getIntrinsicIDForCall()
/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()
Dlibcall-declarations.c16 double copysign(double, double);
265 F(llabs), F(copysign), F(copysignf), F(copysignl), F(fabs),
/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
Dfp16instrinsmc.ll63 %call = call double @copysign(double %0, double %conv) #2
69 declare double @copysign(double, double) #1
79 %call = call double @copysign(double %0, double %1) #2
/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/libcxx/include/support/win32/
Dmath_win32.h102 _LIBCPP_ALWAYS_INLINE double copysign( double x, double y ) in copysign() function
/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/libcxx/test/std/numerics/c.math/
Dcmath.pass.cpp72 Ambiguous copysign(Ambiguous, Ambiguous){ return Ambiguous(); } in copysign() function
788 static_assert((std::is_same<decltype(std::copysign((float)0, (float)0)), float>::value), ""); in test_copysign()
789 static_assert((std::is_same<decltype(std::copysign((bool)0, (float)0)), double>::value), ""); in test_copysign()
790 …static_assert((std::is_same<decltype(std::copysign((unsigned short)0, (double)0)), double>::value)… in test_copysign()
791 …static_assert((std::is_same<decltype(std::copysign((int)0, (long double)0)), long double>::value),… in test_copysign()
792 …static_assert((std::is_same<decltype(std::copysign((float)0, (unsigned int)0)), double>::value), "… in test_copysign()
793 static_assert((std::is_same<decltype(std::copysign((double)0, (long)0)), double>::value), ""); in test_copysign()
794 …static_assert((std::is_same<decltype(std::copysign((long double)0, (unsigned long)0)), long double… in test_copysign()
795 static_assert((std::is_same<decltype(std::copysign((int)0, (long long)0)), double>::value), ""); in test_copysign()
796 …static_assert((std::is_same<decltype(std::copysign((int)0, (unsigned long long)0)), double>::value… in test_copysign()
[all …]
/external/bison/linux-lib/
Dmath.h769 _GL_FUNCDECL_SYS (copysign, double, (double x, double y));
771 _GL_CXXALIAS_SYS (copysign, double, (double x, double y));
772 _GL_CXXALIASWARN (copysign);
774 # undef copysign
776 _GL_WARN_ON_USE (copysign, "copysign is unportable - "
790 _GL_WARN_ON_USE (copysign, "copysignl is unportable - "

123