Home
last modified time | relevance | path

Searched refs:exp2 (Results 1 – 25 of 174) sorted by relevance

1234567

/llvm-project-15.0.7/libc/AOR_v20.02/math/test/testcases/directed/
H A Dexp2.tst1 ; Directed test cases for exp2
7 func=exp2 op1=7ff80000.00000001 result=7ff80000.00000001 errno=0
8 func=exp2 op1=fff80000.00000001 result=7ff80000.00000001 errno=0
11 func=exp2 op1=7ff00000.00000000 result=7ff00000.00000000 errno=0
12 func=exp2 op1=fff00000.00000000 result=00000000.00000000 errno=0
15 func=exp2 op1=00000000.00000000 result=3ff00000.00000000 errno=0
16 func=exp2 op1=80000000.00000000 result=3ff00000.00000000 errno=0
17 func=exp2 op1=00000000.00000001 result=3ff00000.00000000 errno=0
18 func=exp2 op1=80000000.00000001 result=3ff00000.00000000 errno=0
23 func=exp2 op1=3ff00000.00000000 result=40000000.00000000 errno=0
[all …]
/llvm-project-15.0.7/llvm/test/Transforms/InstCombine/
H A Dfmul-exp2.ll7 ; exp2(a) * exp2(b) no reassoc flags
15 %t = call double @llvm.exp2.f64(double %a)
16 %t1 = call double @llvm.exp2.f64(double %b)
21 ; exp2(a) * exp2(b) reassoc, multiple uses
30 %t = call double @llvm.exp2.f64(double %a)
31 %t1 = call double @llvm.exp2.f64(double %b)
43 %t = call double @llvm.exp2.f64(double %a)
48 ; exp2(a) * exp2(b) reassoc, both with multiple uses
58 %t = call double @llvm.exp2.f64(double %a)
66 ; exp2(a) * exp2(b) => exp2(a+b) with reassoc
[all …]
H A Dexp2-1.ll11 declare double @exp2(double)
14 ; Check exp2(sitofp(x)) -> ldexp(1.0, sext(x)).
36 %ret = call double @exp2(double %conv)
61 %ret = call double @exp2(double %conv)
87 %ret = call double @exp2(double %conv)
116 ; Check exp2(uitofp(x)) -> ldexp(1.0, zext(x)).
140 %ret = call double @exp2(double %conv)
166 %ret = call double @exp2(double %conv)
192 %ret = call double @exp2(double %conv)
222 declare double @llvm.exp2.f64(double)
[all …]
H A Dexp2-2.ll1 ; Test that the exp2 library call simplifier works correctly.
7 declare float @exp2(double)
9 ; Check that exp2 functions with the wrong prototype aren't simplified.
14 %ret = call float @exp2(double %conv)
15 ; CHECK: call float @exp2(double %conv)
H A Dlog-pow-nofastmath.ll17 %call2 = call double @exp2(double %x)
23 ; CHECK: %call2 = call double @exp2(double %x)
29 declare double @exp2(double)
H A Dpow-exp.ll73 ; CHECK-NEXT: [[EXP2:%.*]] = call fast float @llvm.exp2.f32(float [[MUL]])
84 ; CHECK-NEXT: [[EXP2:%.*]] = call fast float @llvm.exp2.f32(float [[MUL]])
95 ; CHECK-NEXT: [[EXP2:%.*]] = call fast double @llvm.exp2.f64(double [[MUL]])
98 %call = call fast double @exp2(double %x) nounwind readnone
106 ; CHECK-NEXT: [[EXP2:%.*]] = call fast double @exp2(double [[MUL]])
109 %call = call fast double @exp2(double %x)
117 ; CHECK-NEXT: [[EXP2:%.*]] = call fast fp128 @llvm.exp2.f128(fp128 [[MUL]])
208 ; pow(C,x) -> exp2(log2(C)*x)
227 ; CHECK-NEXT: [[EXP2:%.*]] = tail call fast double @exp2(double [[MUL]])
404 ; CHECK-NEXT: [[EXP2:%.*]] = tail call nnan afn double @exp2(double [[MUL]])
[all …]
H A Dlog-pow.ll74 %exp = call fast <2 x float> @llvm.exp2.v2f32(<2 x float> %x)
91 ; CHECK-NEXT: [[EXP:%.*]] = call double @exp2(double [[X:%.*]])
95 %exp = call double @exp2(double %x)
118 declare double @exp2(double) #0
120 declare <2 x float> @llvm.exp2.v2f32(<2 x float>)
/llvm-project-15.0.7/llvm/test/Transforms/InstSimplify/
H A Dlog-exp-intrinsic.ll7 declare double @llvm.exp2.f64(double)
59 %1 = call double @llvm.exp2.f64(double %a)
70 %1 = call reassoc double @llvm.exp2.f64(double %a)
83 %1 = call double @llvm.exp2.f64(double %a)
85 %3 = call double @llvm.exp2.f64(double %2)
94 %1 = call double @llvm.exp2.f64(double %a)
96 %3 = call double @llvm.exp2.f64(double %2)
152 %2 = call reassoc double @llvm.exp2.f64(double %1)
163 %2 = call double @llvm.exp2.f64(double %1)
176 %2 = call double @llvm.exp2.f64(double %1)
[all …]
/llvm-project-15.0.7/libc/src/__support/
H A Dstr_to_float.h171 ++exp2; in eisel_lemire()
181 *outputExp2 = exp2; in eisel_lemire()
277 ++exp2;
282 if (exp2 - 1 >=
312 int32_t exp2 = 0; in simple_decimal_conversion() local
371 --exp2; in simple_decimal_conversion()
391 if (exp2 <= 0) { in simple_decimal_conversion()
395 ++exp2; in simple_decimal_conversion()
405 ++exp2; in simple_decimal_conversion()
413 ++exp2; in simple_decimal_conversion()
[all …]
/llvm-project-15.0.7/llvm/test/CodeGen/ARM/
H A Dlog2_not_readnone.ll3 ; Log2 and exp2 are string-matched to intrinsics. If they are not declared
7 declare double @exp2(double)
12 ; CHECK: bl exp2
13 %2 = call double @exp2(double 0.000000e+00)
H A Dvfloatintrinsics.ll44 ; CHECK-LABEL: test_v2f32.exp2:{{.*}}
45 define %v2f32 @test_v2f32.exp2(%v2f32 %a) {
47 %1 = call %v2f32 @llvm.exp2.v2f32(%v2f32 %a)
117 declare %v2f32 @llvm.exp2.v2f32(%v2f32) #0
168 ; CHECK-LABEL: test_v4f32.exp2:{{.*}}
169 define %v4f32 @test_v4f32.exp2(%v4f32 %a) {
171 %1 = call %v4f32 @llvm.exp2.v4f32(%v4f32 %a)
241 declare %v4f32 @llvm.exp2.v4f32(%v4f32) #0
292 ; CHECK-LABEL: test_v2f64.exp2:{{.*}}
293 define %v2f64 @test_v2f64.exp2(%v2f64 %a) {
[all …]
/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A Dlog2_not_readnone.ll3 ; Log2 and exp2 are string-matched to intrinsics. If they are not declared
7 declare double @exp2(double)
12 ; CHECK: calll exp2
13 %2 = call double @exp2(double 0.000000e+00)
/llvm-project-15.0.7/llvm/test/LTO/X86/
H A Dtriple-init2.ll14 ; We check that LTO will be aware of target triple and prevent exp2 to ldexpf
24 %exp2 = tail call float @llvm.exp2.f32(float %conv)
25 %conv1 = fptosi float %exp2 to i32
30 declare float @llvm.exp2.f32(float)
/llvm-project-15.0.7/libcxx/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/
H A Dbind_return_type.pass.cpp67 Expect exp2 = ret(101, 102); in do_test() local
72 assert(exp2 == 42); in do_test()
78 assert(&exp2 == &dummy); in do_test()
106 Expect exp2 = ret(101, 102); in do_test_r() local
108 assert(exp2 == 42); in do_test_r()
/llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/
H A Dllvm.exp2.ll16 %0 = call float @llvm.exp2.f32(float %in)
39 %0 = call <2 x float> @llvm.exp2.v2f32(<2 x float> %in)
73 %0 = call <4 x float> @llvm.exp2.v4f32(<4 x float> %in)
78 declare float @llvm.exp2.f32(float) readnone
79 declare <2 x float> @llvm.exp2.v2f32(<2 x float>) readnone
80 declare <4 x float> @llvm.exp2.v4f32(<4 x float>) readnone
H A Dllvm.exp2.f16.ll4 declare half @llvm.exp2.f16(half %a)
5 declare <2 x half> @llvm.exp2.v2f16(<2 x half> %a)
20 %r.val = call half @llvm.exp2.f16(half %a.val)
50 %r.val = call <2 x half> @llvm.exp2.v2f16(<2 x half> %a.val)
/llvm-project-15.0.7/llvm/test/CodeGen/XCore/
H A Dfloat-intrinsics.ll4 declare double @llvm.exp2.f64(double)
45 define double @exp2(double %F) {
46 ; CHECK-LABEL: exp2:
47 ; CHECK: bl exp2
48 %result = call double @llvm.exp2.f64(double %F)
52 declare float @llvm.exp2.f32(float)
57 %result = call float @llvm.exp2.f32(float %F)
/llvm-project-15.0.7/libc/AOR_v20.02/math/
H A Dexp2.c77 exp2 (double x) in exp2() function
139 strong_alias (exp2, __exp2_finite) in strong_alias() argument
140 hidden_alias (exp2, __ieee754_exp2) in strong_alias()
142 long double exp2l (long double x) { return exp2 (x); } in strong_alias()
/llvm-project-15.0.7/polly/lib/External/isl/
H A Disl_lp.c260 int *exp2 = NULL; in isl_basic_set_opt_lp_val_aligned() local
287 exp2 = isl_alloc_array(ctx, int, obj_n_div); in isl_basic_set_opt_lp_val_aligned()
288 if (!bset_div || (bset_n_div && !exp1) || (obj_n_div && !exp2)) in isl_basic_set_opt_lp_val_aligned()
291 div = isl_merge_divs(bset_div, obj->ls->div, exp1, exp2); in isl_basic_set_opt_lp_val_aligned()
294 obj = isl_aff_expand_divs(obj, isl_mat_copy(div), exp2); in isl_basic_set_opt_lp_val_aligned()
301 free(exp2); in isl_basic_set_opt_lp_val_aligned()
310 free(exp2); in isl_basic_set_opt_lp_val_aligned()
/llvm-project-15.0.7/clang/test/CodeGen/
H A Dlibcalls-d.c12 double exp2(double);
15 return exp2(x); in t4()
/llvm-project-15.0.7/libc/AOR_v20.02/math/test/
H A Drunulp.sh43 t exp2 0 0xffff000000000000 10000
44 t exp2 0x1p-6 0x1p6 40000
45 t exp2 -0x1p-6 -0x1p6 40000
46 t exp2 633.3 733.3 10000
47 t exp2 -633.3 -777.3 10000
/llvm-project-15.0.7/llvm/test/CodeGen/AArch64/GlobalISel/
H A Dlegalize-fexp2.mir7 name: test_v4f16.exp2
13 ; CHECK-LABEL: name: test_v4f16.exp2
55 name: test_v8f16.exp2
61 ; CHECK-LABEL: name: test_v8f16.exp2
131 name: test_v2f32.exp2
137 ; CHECK-LABEL: name: test_v2f32.exp2
161 name: test_v4f32.exp2
167 ; CHECK-LABEL: name: test_v4f32.exp2
201 name: test_v2f64.exp2
207 ; CHECK-LABEL: name: test_v2f64.exp2
[all …]
/llvm-project-15.0.7/libclc/generic/lib/math/
H A Dexp2.cl28 _CLC_OVERLOAD _CLC_DEF float exp2(float x) {
66 _CLC_UNARY_VECTORIZE(_CLC_OVERLOAD _CLC_DEF, float, exp2, float)
74 _CLC_OVERLOAD _CLC_DEF double exp2(double x) {
84 _CLC_UNARY_VECTORIZE(_CLC_OVERLOAD _CLC_DEF, double, exp2, double)
/llvm-project-15.0.7/libcxx/test/support/
H A Dhexfloat.h42 int exp2 = -static_cast<int>(Digits - CountLeadingZeros(m0)/4*4); in hexfloat() local
43 value_ = std::ldexp(m1 + s * std::ldexp(T(m0), exp2), exp); in hexfloat()
/llvm-project-15.0.7/llvm/test/CodeGen/AArch64/
H A Dillegal-float-ops.ll52 declare float @llvm.exp2.f32(float)
53 declare double @llvm.exp2.f64(double)
54 declare fp128 @llvm.exp2.f128(fp128)
59 %exp2float = call float @llvm.exp2.f32(float %float)
63 %exp2double = call double @llvm.exp2.f64(double %double)
65 ; CHECK: bl exp2
67 %exp2fp128 = call fp128 @llvm.exp2.f128(fp128 %fp128)
308 %expdouble = call double @llvm.exp2.f64(double %double)
311 ; CHECK: bl exp2

1234567