Home
last modified time | relevance | path

Searched refs:tan (Results 1 – 25 of 90) sorted by relevance

1234

/llvm-project-15.0.7/libc/src/math/x86_64/
H A DCMakeLists.txt22 tan
24 tan.cpp
26 ../tan.h
H A Dtan.cpp14 LLVM_LIBC_FUNCTION(double, tan, (double x)) {
/llvm-project-15.0.7/llvm/test/Transforms/InstCombine/
H A Dpr28143.ll5 call void @tan()
9 ; CHECK: call void @tan()
12 declare void @tan()
H A Dtan.ll14 %tan = call fast float @tanf(float %call1)
15 ret float %tan
H A Dcos-1.ll17 declare double @tan(double)
257 ; tan(-x) -> -tan(x);
261 ; ANY-NEXT: [[TMP1:%.*]] = call double @tan(double [[X:%.*]])
266 %r = call double @tan(double %neg)
272 ; ANY-NEXT: [[TMP1:%.*]] = tail call double @tan(double [[X:%.*]])
277 %r = tail call double @tan(double %neg)
283 ; ANY-NEXT: [[R:%.*]] = musttail call double @tan(double [[NEG]])
287 %r = musttail call double @tan(double %neg)
293 ; ANY-NEXT: [[TMP1:%.*]] = call double @tan(double [[X:%.*]])
298 %r = call double @tan(double %neg)
H A Dfdiv-sin-cos.ll32 ; CHECK-NEXT: [[TAN:%.*]] = call reassoc double @tan(double [[A:%.*]]) #1
43 ; CHECK-NEXT: [[TAN:%.*]] = call reassoc double @tan(double [[A:%.*]]) #1
69 ; CHECK-NEXT: [[TAN:%.*]] = call reassoc double @tan(double [[A:%.*]]) #1
H A Dfdiv-cos-sin.ll32 ; CHECK-NEXT: [[TAN:%.*]] = call reassoc double @tan(double [[A:%.*]]) #1
44 ; CHECK-NEXT: [[TAN:%.*]] = call reassoc double @tan(double [[A:%.*]]) #1
71 ; CHECK-NEXT: [[TAN:%.*]] = call reassoc double @tan(double [[A:%.*]]) #1
H A Dwin-math.ll267 declare double @tan(double %x)
271 ; MSVCXX: double @tan
273 ; MSVC19: double @tan
275 %2 = call double @tan(double %1)
/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A Dpr1505b.ll23 @.str = internal constant [12 x i8] c"tan float: \00" ; <ptr> [#uses=1]
24 @.str1 = internal constant [13 x i8] c"tan double: \00" ; <ptr> [#uses=1]
46 ; CHECK: tan
47 %tmp13 = tail call double @tan( double %tmp12 ) ; <double> [#uses=1]
73 declare double @tan(double)
/llvm-project-15.0.7/mlir/test/Dialect/Math/
H A Dops.mlir186 // CHECK-LABEL: func @tan(
188 func.func @tan(%f: f32, %v: vector<4xf32>, %t: tensor<4x4x?xf32>) {
189 // CHECK: %{{.*}} = math.tan %[[F]] : f32
190 %0 = math.tan %f : f32
191 // CHECK: %{{.*}} = math.tan %[[V]] : vector<4xf32>
192 %1 = math.tan %v : vector<4xf32>
193 // CHECK: %{{.*}} = math.tan %[[T]] : tensor<4x4x?xf32>
194 %2 = math.tan %t : tensor<4x4x?xf32>
/llvm-project-15.0.7/libcxx/test/std/numerics/complex.number/complex.transcendentals/
H A Dtan.pass.cpp25 assert(tan(c) == x); in test()
41 std::complex<double> r = tan(testcases[i]); in test_edges()
/llvm-project-15.0.7/mlir/test/Dialect/Complex/
H A Dops.mlir83 // CHECK: complex.tan %[[C]] : complex<f32>
84 %tan = complex.tan %complex : complex<f32>
/llvm-project-15.0.7/llvm/test/CodeGen/NVPTX/
H A Drefl1.ll10 %tan = tail call fastcc float @__nv_fast_tanf(float %val)
11 store float %tan, float* %a
/llvm-project-15.0.7/mlir/test/Conversion/MathToLibm/
H A Dconvert-to-libm.mlir11 // CHECK-DAG: @tan(f64) -> f64
267 %float_result = math.tan %float : f32
268 // CHECK: %[[DOUBLE_RESULT:.*]] = call @tan(%[[DOUBLE]]) : (f64) -> f64
269 %double_result = math.tan %double : f64
273 %half_result = math.tan %half : f16
277 %bfloat_result = math.tan %bfloat : bf16
294 // CHECK: %[[OUT0_F64:.*]] = call @tan(%[[IN0_F64]]) : (f64) -> f64
297 // CHECK: %[[OUT1_F64:.*]] = call @tan(%[[IN1_F64]]) : (f64) -> f64
302 %float_result = math.tan %float : vector<2xf32>
303 %double_result = math.tan %double : vector<2xf64>
/llvm-project-15.0.7/clang/lib/Headers/
H A D__clang_cuda_math_forward_declares.h174 __DEVICE__ double tan(double);
175 __DEVICE__ float tan(float);
268 using ::tan;
H A D__clang_cuda_cmath.h175 __DEVICE__ float tan(float __x) { return ::tanf(__x); } in tan() function
297 __CUDA_CLANG_FN_INTEGER_OVERLOAD_1(double, tan)
428 using ::tan;
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/performance/
H A Dtype-promotion-in-math-fn.cpp55 double tan(double);
221 tan(a); in check_all_fns()
/llvm-project-15.0.7/libc/src/math/
H A Dtan.h14 double tan(double x);
/llvm-project-15.0.7/libclc/generic/include/clc/math/
H A Dtan.h2 #define __CLC_FUNCTION tan
/llvm-project-15.0.7/libclc/generic/lib/math/
H A Dhalf_tan.cl3 #define __CLC_FUNC tan
H A Dtan.cl5 #define __CLC_FUNC tan
/llvm-project-15.0.7/libcxx/test/std/numerics/numarray/valarray.nonmembers/valarray.transcend/
H A Dtan_valarray.pass.cpp36 std::valarray<T> v3 = tan(v1); in main()
/llvm-project-15.0.7/libc/test/src/math/
H A Dtan_test.cpp30 ASSERT_MPFR_MATCH(mpfr::Operation::Tan, x, __llvm_libc::tan(x), 1.0); in TEST()
/llvm-project-15.0.7/clang/test/Headers/Inputs/include/
H A Dcmath150 double tan(double);
151 float tan(float);
225 using ::tan;
/llvm-project-15.0.7/llvm/test/Transforms/InstCombine/AMDGPU/
H A Dtan.ll3 ; Check that sin/cos is not folded to tan on amdgcn.

1234