Home
last modified time | relevance | path

Searched refs:log1p (Results 1 – 25 of 66) sorted by relevance

123

/llvm-project-15.0.7/mlir/test/Dialect/Math/
H A Dops.mlir125 // CHECK-LABEL: func @log1p(
127 func.func @log1p(%f: f32, %v: vector<4xf32>, %t: tensor<4x4x?xf32>) {
128 // CHECK: %{{.*}} = math.log1p %[[F]] : f32
129 %0 = math.log1p %f : f32
130 // CHECK: %{{.*}} = math.log1p %[[V]] : vector<4xf32>
131 %1 = math.log1p %v : vector<4xf32>
132 // CHECK: %{{.*}} = math.log1p %[[T]] : tensor<4x4x?xf32>
133 %2 = math.log1p %t : tensor<4x4x?xf32>
H A Dcanonicalize.mlir201 %r = math.log1p %c : f32
210 %0 = math.log1p %v1 : vector<4xf32>
/llvm-project-15.0.7/mlir/test/mlir-cpu-runner/
H A Dmath-polynomial-approx.mlir116 func.func @log1p() {
119 %1 = math.log1p %0 : f32
124 %3 = math.log1p %2 : vector<4xf32>
129 %5 = math.log1p %4 : vector<8xf32>
134 %log_neg_one = math.log1p %neg_one : f32
139 %log_neg_two = math.log1p %neg_two : f32
144 %log_inf = math.log1p %inf : f32
149 %log_special_vec = math.log1p %special_vec : vector<4xf32>
505 call @log1p(): () -> ()
/llvm-project-15.0.7/mlir/test/Dialect/Complex/
H A Dops.mlir47 // CHECK: complex.log1p %[[C]] : complex<f32>
48 %log1p = complex.log1p %complex : complex<f32>
/llvm-project-15.0.7/mlir/test/Conversion/MathToLLVM/
H A Dmath-to-llvm.mlir18 // CHECK-LABEL: func @log1p(
20 func.func @log1p(%arg0 : f32) {
24 %0 = math.log1p %arg0 : f32
37 %0 = math.log1p %arg0 : vector<4x3xf32>
/llvm-project-15.0.7/libclc/generic/lib/math/
H A Datanh.cl43 t = 0.5f * log1p(t);
74 // ln((1+x)/(1-x)) = ln(1 + 2x/(1-x)) = log1p(2x/(1-x)).
75 double r = 0.5 * log1p(2.0 * absx / (1.0 - absx));
H A Dlog1p.cl29 _CLC_OVERLOAD _CLC_DEF float log1p(float x)
91 _CLC_UNARY_VECTORIZE(_CLC_OVERLOAD _CLC_DEF, float, log1p, float);
97 _CLC_OVERLOAD _CLC_DEF double log1p(double x)
175 _CLC_UNARY_VECTORIZE(_CLC_OVERLOAD _CLC_DEF, double, log1p, double);
H A Dacosh.cl44 float z = log1p(v) + (high ? 0x1.62e430p-1f : 0.0f);
112 // For arguments 1.13 <= x <= 1.5 the log1p function is good enough
113 double ret2 = log1p(t);
/llvm-project-15.0.7/clang/lib/Headers/
H A D__clang_cuda_math_forward_declares.h126 __DEVICE__ double log1p(double);
127 __DEVICE__ float log1p(float);
246 using ::log1p;
H A D__clang_cuda_cmath.h280 __CUDA_CLANG_FN_INTEGER_OVERLOAD_1(double, log1p)
410 using ::log1p;
H A D__clang_hip_cmath.h234 __DEF_FUN1(float, log1p)
522 __HIP_OVERLOAD1(double, log1p)
693 using ::log1p;
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/performance/
H A Dtype-promotion-in-math-fn.cpp36 double log1p(double);
164 log1p(a); in check_all_fns()
/llvm-project-15.0.7/libclc/generic/include/clc/math/
H A Dlog1p.h24 #define __CLC_FUNCTION log1p
/llvm-project-15.0.7/clang/test/Headers/Inputs/include/
H A Dcmath104 double log1p(double);
105 float log1p(float);
203 using ::log1p;
/llvm-project-15.0.7/mlir/test/Conversion/MathToSPIRV/
H A Dmath-to-opencl-spirv.mlir20 %4 = math.log1p %arg0 : f32
57 %4 = math.log1p %arg0 : vector<3xf32>
H A Dmath-to-gl-spirv.mlir22 %4 = math.log1p %arg0 : f32
55 %4 = math.log1p %arg0 : vector<3xf32>
/llvm-project-15.0.7/clang/lib/Headers/openmp_wrappers/
H A Dcmath57 __DEVICE__ float log1p(float __x) { return ::log1pf(__x); }
113 __DEVICE__ float log1p(float __x) { return ::log1pf(__x); }
/llvm-project-15.0.7/libcxx/test/std/depr/depr.c.headers/
H A Dmath_h.pass.cpp84 Ambiguous log1p(Ambiguous){ return Ambiguous(); } in log1p() function
1174 static_assert((std::is_same<decltype(log1p((float)0)), float>::value), ""); in test_log1p()
1175 static_assert((std::is_same<decltype(log1p((bool)0)), double>::value), ""); in test_log1p()
1177 static_assert((std::is_same<decltype(log1p((int)0)), double>::value), ""); in test_log1p()
1178 static_assert((std::is_same<decltype(log1p((unsigned int)0)), double>::value), ""); in test_log1p()
1179 static_assert((std::is_same<decltype(log1p((long)0)), double>::value), ""); in test_log1p()
1180 static_assert((std::is_same<decltype(log1p((unsigned long)0)), double>::value), ""); in test_log1p()
1181 static_assert((std::is_same<decltype(log1p((long long)0)), double>::value), ""); in test_log1p()
1183 static_assert((std::is_same<decltype(log1p((double)0)), double>::value), ""); in test_log1p()
1187 static_assert((std::is_same<decltype(log1p(Ambiguous())), Ambiguous>::value), ""); in test_log1p()
[all …]
/llvm-project-15.0.7/llvm/test/Transforms/Util/
H A Dlibcalls-shrinkwrap-double.ll167 %call_11 = call double @log1p(double %value)
171 ; CHECK-NEXT: %call_11 = call double @log1p(double %value)
189 declare double @log1p(double)
/llvm-project-15.0.7/clang/test/CodeGen/
H A Dlibcall-declarations.c121 double log1p(double);
286 F(log10l), F(log1p), F(log1pf), F(log1pl), F(log2),
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DScalarFuncs.def91 TLI_DEFINE_SCALAR_MASS_FUNC("log1p", "__xl_log1p")
/llvm-project-15.0.7/llvm/test/Transforms/InstCombine/
H A Ddouble-float-shrink-1.ll302 ; ISC89: [[LOG1PF:%.*]] = call fast double @log1p(double [[F:%.*]])
305 %call = call fast double @log1p(double %conv)
313 ; CHECK-NEXT: [[CALL:%.*]] = call fast double @log1p(double [[CONV]])
317 %call = call fast double @log1p(double %conv)
563 declare double @log1p(double)
/llvm-project-15.0.7/libcxx/test/std/numerics/c.math/
H A Dcmath.pass.cpp87 Ambiguous log1p(Ambiguous){ return Ambiguous(); } in log1p() function
1256 static_assert((std::is_same<decltype(std::log1p((float)0)), float>::value), ""); in test_log1p()
1257 static_assert((std::is_same<decltype(std::log1p((bool)0)), double>::value), ""); in test_log1p()
1259 static_assert((std::is_same<decltype(std::log1p((int)0)), double>::value), ""); in test_log1p()
1260 static_assert((std::is_same<decltype(std::log1p((unsigned int)0)), double>::value), ""); in test_log1p()
1261 static_assert((std::is_same<decltype(std::log1p((long)0)), double>::value), ""); in test_log1p()
1262 static_assert((std::is_same<decltype(std::log1p((unsigned long)0)), double>::value), ""); in test_log1p()
1263 static_assert((std::is_same<decltype(std::log1p((long long)0)), double>::value), ""); in test_log1p()
1265 static_assert((std::is_same<decltype(std::log1p((double)0)), double>::value), ""); in test_log1p()
1269 static_assert((std::is_same<decltype(log1p(Ambiguous())), Ambiguous>::value), ""); in test_log1p()
[all …]
/llvm-project-15.0.7/mlir/include/mlir/Dialect/Math/IR/
H A DMathOps.td530 def Math_Log1pOp : Math_FloatUnaryOp<"log1p"> {
538 log1p(x) := log(1 + x)
543 // Scalar log1p operation.
544 %y = math.log1p %x : f64
/llvm-project-15.0.7/libc/docs/
H A Dmath.rst139 log1p |check|
165 log1p |check|

123