| /llvm-project-15.0.7/libc/src/math/x86_64/ |
| H A D | CMakeLists.txt | 22 tan 24 tan.cpp 26 ../tan.h
|
| H A D | tan.cpp | 14 LLVM_LIBC_FUNCTION(double, tan, (double x)) {
|
| /llvm-project-15.0.7/llvm/test/Transforms/InstCombine/ |
| H A D | pr28143.ll | 5 call void @tan() 9 ; CHECK: call void @tan() 12 declare void @tan()
|
| H A D | tan.ll | 14 %tan = call fast float @tanf(float %call1) 15 ret float %tan
|
| H A D | cos-1.ll | 17 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 D | fdiv-sin-cos.ll | 32 ; 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 D | fdiv-cos-sin.ll | 32 ; 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 D | win-math.ll | 267 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 D | pr1505b.ll | 23 @.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 D | ops.mlir | 186 // 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 D | tan.pass.cpp | 25 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 D | ops.mlir | 83 // CHECK: complex.tan %[[C]] : complex<f32> 84 %tan = complex.tan %complex : complex<f32>
|
| /llvm-project-15.0.7/llvm/test/CodeGen/NVPTX/ |
| H A D | refl1.ll | 10 %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 D | convert-to-libm.mlir | 11 // 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.h | 174 __DEVICE__ double tan(double); 175 __DEVICE__ float tan(float); 268 using ::tan;
|
| H A D | __clang_cuda_cmath.h | 175 __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 D | type-promotion-in-math-fn.cpp | 55 double tan(double); 221 tan(a); in check_all_fns()
|
| /llvm-project-15.0.7/libc/src/math/ |
| H A D | tan.h | 14 double tan(double x);
|
| /llvm-project-15.0.7/libclc/generic/include/clc/math/ |
| H A D | tan.h | 2 #define __CLC_FUNCTION tan
|
| /llvm-project-15.0.7/libclc/generic/lib/math/ |
| H A D | half_tan.cl | 3 #define __CLC_FUNC tan
|
| H A D | tan.cl | 5 #define __CLC_FUNC tan
|
| /llvm-project-15.0.7/libcxx/test/std/numerics/numarray/valarray.nonmembers/valarray.transcend/ |
| H A D | tan_valarray.pass.cpp | 36 std::valarray<T> v3 = tan(v1); in main()
|
| /llvm-project-15.0.7/libc/test/src/math/ |
| H A D | tan_test.cpp | 30 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 D | cmath | 150 double tan(double); 151 float tan(float); 225 using ::tan;
|
| /llvm-project-15.0.7/llvm/test/Transforms/InstCombine/AMDGPU/ |
| H A D | tan.ll | 3 ; Check that sin/cos is not folded to tan on amdgcn.
|