Home
last modified time | relevance | path

Searched refs:acos (Results 1 – 25 of 74) sorted by relevance

123

/llvm-project-15.0.7/llvm/test/Transforms/InstCombine/
H A Dconstant-fold-libfunc.ll3 declare double @acos(double) willreturn
9 %pi = call double @acos(double -1.000000e+00)
10 ; CHECK-NOT: call double @acos
19 %pi = call double @acos(double -1.000000e+00) nobuiltin
20 ; CHECK: call double @acos(double -1.000000e+00)
28 %pi = call double @acos(double -1.000000e+00) strictfp
29 ; CHECK: call double @acos(double -1.000000e+00)
H A Dwin-math.ll12 declare double @acos(double %x)
16 ; MSVCXX: double @acos
18 ; MSVC19: double @acos
20 %2 = call double @acos(double %1)
H A Ddouble-float-shrink-1.ll17 ; MS32: [[ACOSF:%.*]] = call fast double @acos(double [[F:%.*]])
21 %call = call fast double @acos(double %conv)
29 ; CHECK-NEXT: [[CALL:%.*]] = call fast double @acos(double [[CONV]])
33 %call = call fast double @acos(double %conv)
573 declare double @acos(double)
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/bugprone/
H A Dinteger-division.cpp27 double acos(double);
66 acos(2 / intFunc(7)); in integerDivision()
108 ::acos(7 / d); in integerDivision()
122 acos(f / d); in integerDivision()
128 acos(b / 3.14); in integerDivision()
/llvm-project-15.0.7/llvm/test/Transforms/InferFunctionAttrs/
H A Dreadonly_and_writeonly.ll5 ; CHECK: declare double @acos(double) [[NOFREE_NOUNWIND_WILLRETURN_READNONE:#[0-9]+]]
6 declare double @acos(double) readonly
/llvm-project-15.0.7/libclc/generic/lib/math/
H A Dacos.cl27 _CLC_OVERLOAD _CLC_DEF float acos(float x) {
90 _CLC_UNARY_VECTORIZE(_CLC_OVERLOAD _CLC_DEF, float, acos, float);
96 _CLC_OVERLOAD _CLC_DEF double acos(double x) {
151 // Reconstruct acos carefully in transformed region
171 _CLC_UNARY_VECTORIZE(_CLC_OVERLOAD _CLC_DEF, double, acos, double);
/llvm-project-15.0.7/clang/lib/Headers/
H A D__clang_cuda_math_forward_declares.h31 __DEVICE__ double acos(double);
32 __DEVICE__ float acos(float);
201 using ::acos;
H A D__clang_cuda_cmath.h45 __DEVICE__ float acos(float __x) { return ::acosf(__x); } in acos() function
241 __CUDA_CLANG_FN_INTEGER_OVERLOAD_1(double, acos)
368 using ::acos;
H A D__clang_hip_cmath.h205 __DEF_FUN1(float, acos)
481 __HIP_OVERLOAD1(double, acos)
651 using ::acos;
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/performance/
H A Dtype-promotion-in-math-fn.cpp5 double acos(double);
68 acos(a); in check_all_fns()
/llvm-project-15.0.7/libclc/generic/include/clc/math/
H A Dacos.h2 #define __CLC_FUNCTION acos
/llvm-project-15.0.7/llvm/test/CodeGen/ARM/
H A D2009-03-07-SpillerBug.ll18 declare double @acos(double) nounwind readonly
44 %19 = call double @acos(double %18) nounwind readonly
/llvm-project-15.0.7/libcxx/test/std/numerics/numarray/valarray.nonmembers/valarray.transcend/
H A Dacos_valarray.pass.cpp36 std::valarray<T> v3 = acos(v1); in main()
/llvm-project-15.0.7/clang/test/SemaOpenCL/
H A Dbuiltin.cl6 float __attribute__((overloadable)) acos(float);
/llvm-project-15.0.7/clang/test/Headers/Inputs/include/
H A Dcmath10 double acos(double);
11 float acos(float);
161 using ::acos;
/llvm-project-15.0.7/clang/test/Headers/
H A Dnvptx_device_math_complex.cpp66 r = std::acos(r); in test_template_math_calls()
H A Damdgcn-openmp-device-math-complex.cpp64 r = std::acos(r); in test_template_math_calls()
/llvm-project-15.0.7/libcxx/test/std/numerics/complex.number/complex.transcendentals/
H A Dacos.pass.cpp25 assert(acos(c) == x); in test()
41 std::complex<double> r = acos(testcases[i]); in test_edges()
/llvm-project-15.0.7/llvm/test/Transforms/InstSimplify/ConstProp/
H A Dmath-1.ll4 declare double @acos(double) #0
9 %res = tail call fast double @acos(double 1.0)
H A Dcalls.ll4 declare double @acos(double) readnone nounwind willreturn
65 %1 = call double @acos(double 1.000000e+00)
/llvm-project-15.0.7/libcxx/test/std/depr/depr.c.headers/
H A Dmath_h.pass.cpp34 Ambiguous acos(Ambiguous){ return Ambiguous(); } in acos() function
141 static_assert((std::is_same<decltype(acos((float)0)), float>::value), ""); in test_acos()
142 static_assert((std::is_same<decltype(acos((bool)0)), double>::value), ""); in test_acos()
144 static_assert((std::is_same<decltype(acos((int)0)), double>::value), ""); in test_acos()
145 static_assert((std::is_same<decltype(acos((unsigned int)0)), double>::value), ""); in test_acos()
146 static_assert((std::is_same<decltype(acos((long)0)), double>::value), ""); in test_acos()
147 static_assert((std::is_same<decltype(acos((unsigned long)0)), double>::value), ""); in test_acos()
148 static_assert((std::is_same<decltype(acos((long long)0)), double>::value), ""); in test_acos()
150 static_assert((std::is_same<decltype(acos((double)0)), double>::value), ""); in test_acos()
154 static_assert((std::is_same<decltype(acos(Ambiguous())), Ambiguous>::value), ""); in test_acos()
[all …]
/llvm-project-15.0.7/llvm/test/Transforms/Util/
H A Dlibcalls-shrinkwrap-double.ll69 %call_00 = call double @acos(double %value)
75 ; CHECK-NEXT: %call_00 = call double @acos(double %value)
178 declare double @acos(double)
/llvm-project-15.0.7/clang/test/CodeGen/
H A Dlibcall-declarations.c40 double acos(double);
270 F(acos), F(acosf), F(acosl), F(acosh), F(acoshf),
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DScalarFuncs.def20 TLI_DEFINE_SCALAR_MASS_FUNC("acos", "__xl_acos")
/llvm-project-15.0.7/libcxx/test/std/numerics/c.math/
H A Dcmath.pass.cpp35 Ambiguous acos(Ambiguous){ return Ambiguous(); } in acos() function
146 static_assert((std::is_same<decltype(std::acos((float)0)), float>::value), ""); in test_acos()
147 static_assert((std::is_same<decltype(std::acos((bool)0)), double>::value), ""); in test_acos()
149 static_assert((std::is_same<decltype(std::acos((int)0)), double>::value), ""); in test_acos()
150 static_assert((std::is_same<decltype(std::acos((unsigned int)0)), double>::value), ""); in test_acos()
151 static_assert((std::is_same<decltype(std::acos((long)0)), double>::value), ""); in test_acos()
152 static_assert((std::is_same<decltype(std::acos((unsigned long)0)), double>::value), ""); in test_acos()
153 static_assert((std::is_same<decltype(std::acos((long long)0)), double>::value), ""); in test_acos()
155 static_assert((std::is_same<decltype(std::acos((double)0)), double>::value), ""); in test_acos()
159 static_assert((std::is_same<decltype(acos(Ambiguous())), Ambiguous>::value), ""); in test_acos()
[all …]

123