Home
last modified time | relevance | path

Searched refs:labs (Results 1 – 25 of 41) sorted by relevance

12

/llvm-project-15.0.7/clang/test/Sema/
H A Dwarn-absolute-value.c5 long int labs(long int);
18 (void)labs(x); in test_int()
80 (void)labs(x); in test_long()
146 (void)labs(x); in test_long_long()
220 (void)labs(x); in test_float()
282 (void)labs(x); in test_double()
350 (void)labs(x); in test_long_double()
424 (void)labs(x); in test_complex_float()
486 (void)labs(x); in test_complex_double()
554 (void)labs(x); in test_complex_long_double()
[all …]
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dwarn-absolute-value.cpp6 long int labs(long int);
39 (void)labs(x); in test_int()
103 (void)labs(x); in test_long()
171 (void)labs(x); in test_long_long()
247 (void)labs(x); in test_float()
311 (void)labs(x); in test_double()
381 (void)labs(x); in test_long_double()
509 (void)labs(x); in test_unsigned_int()
594 (void)labs(x); in test_unsigned_long()
/llvm-project-15.0.7/libc/test/src/stdlib/
H A Dlabs_test.cpp12 TEST(LlvmLibcLabsTest, Zero) { EXPECT_EQ(__llvm_libc::labs(0l), 0l); } in TEST()
14 TEST(LlvmLibcLabsTest, Positive) { EXPECT_EQ(__llvm_libc::labs(1l), 1l); } in TEST()
16 TEST(LlvmLibcLabsTest, Negative) { EXPECT_EQ(__llvm_libc::labs(-1l), 1l); } in TEST()
H A DCMakeLists.txt131 libc.src.stdlib.labs
/llvm-project-15.0.7/clang/test/Headers/Inputs/include/
H A Dcstdlib7 extern long int labs (long int __x) throw() __attribute__ ((__const__)) ;
10 extern long int labs (long int __x) __attribute__ ((__const__)) ;
/llvm-project-15.0.7/libcxx/include/
H A Dstdlib.h102 #ifdef labs
103 # undef labs
H A Dcstdlib64 long labs( long j);
124 using ::labs _LIBCPP_USING_IF_EXISTS;
/llvm-project-15.0.7/libcxx/test/std/depr/depr.c.headers/
H A Dstdlib_h.pass.cpp21 #ifdef labs
22 #error labs is defined
143 static_assert((std::is_same<decltype(labs((long)0)), long>::value), ""); in main()
/llvm-project-15.0.7/libc/src/stdlib/
H A DCMakeLists.txt132 labs
134 labs.cpp
136 labs.h
H A Dlabs.h14 long labs(long n);
H A Dlabs.cpp15 LLVM_LIBC_FUNCTION(long, labs, (long n)) { return integer_abs(n); }
/llvm-project-15.0.7/llvm/test/Transforms/InstCombine/
H A Dcall-callconv.ll28 %call = tail call arm_aapcscc i32 @labs(i32 %i) nounwind readnone
32 declare arm_aapcscc i32 @labs(i32) nounwind readnone
H A Ddisable-simplify-libcalls.ll49 declare i64 @labs(i64)
310 %ret = call i64 @labs(i64 %y)
312 ; CHECK: call i64 @labs
/llvm-project-15.0.7/clang/lib/Headers/
H A D__clang_cuda_math_forward_declares.h116 __DEVICE__ long labs(long);
239 using ::labs;
H A D__clang_cuda_math.h150 __DEVICE__ long labs(long __a) { return __nv_llabs(__a); }; in labs() function
152 __DEVICE__ long labs(long __a) { return __nv_abs(__a); }; in labs() function
H A D__clang_cuda_cmath.h42 __DEVICE__ long abs(long __n) { return ::labs(__n); } in abs()
/llvm-project-15.0.7/polly/lib/External/isl/
H A Disl_int_sioimath.c88 dividend = labs(lhs); in isl_sioimath_smallgcd()
89 divisor = labs(rhs); in isl_sioimath_smallgcd()
H A Disl_int_sioimath.h553 isl_sioimath_set_small(dst, labs(isl_sioimath_get_small(arg))); in isl_sioimath_abs()
719 (labs(rhs) <= UINT32_MAX)) { in isl_sioimath_mul_si()
1099 lhssmall = labs(lhssmall); in isl_sioimath_abs_cmp()
1100 rhssmall = labs(rhssmall); in isl_sioimath_abs_cmp()
1157 num = labs(small); in isl_sioimath_hash()
/llvm-project-15.0.7/clang/test/CodeGen/
H A Dlibcall-declarations.c14 long int labs(long int);
264 F(atan2), F(atan2f), F(atan2l), F(abs), F(labs),
/llvm-project-15.0.7/libc/config/linux/arm/
H A Dentrypoints.txt65 libc.src.stdlib.labs
/llvm-project-15.0.7/libcxx/test/std/language.support/support.runtime/
H A Dcstdlib.pass.cpp132 static_assert((std::is_same<decltype(std::labs((long)0)), long>::value), ""); in main()
/llvm-project-15.0.7/lld/test/ELF/
H A Dmap-file.s49 labs = 0x1AB5 define
/llvm-project-15.0.7/libc/config/darwin/arm/
H A Dentrypoints.txt70 libc.src.stdlib.labs
/llvm-project-15.0.7/libc/config/windows/
H A Dentrypoints.txt70 libc.src.stdlib.labs
/llvm-project-15.0.7/llvm/test/Transforms/InferFunctionAttrs/
H A Dno-proto.ll522 ; CHECK: declare void @labs(...)
523 declare void @labs(...)

12