| /llvm-project-15.0.7/clang/test/Sema/ |
| H A D | warn-absolute-value.c | 5 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 D | warn-absolute-value.cpp | 6 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 D | labs_test.cpp | 12 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 D | CMakeLists.txt | 131 libc.src.stdlib.labs
|
| /llvm-project-15.0.7/clang/test/Headers/Inputs/include/ |
| H A D | cstdlib | 7 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 D | stdlib.h | 102 #ifdef labs 103 # undef labs
|
| H A D | cstdlib | 64 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 D | stdlib_h.pass.cpp | 21 #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 D | CMakeLists.txt | 132 labs 134 labs.cpp 136 labs.h
|
| H A D | labs.h | 14 long labs(long n);
|
| H A D | labs.cpp | 15 LLVM_LIBC_FUNCTION(long, labs, (long n)) { return integer_abs(n); }
|
| /llvm-project-15.0.7/llvm/test/Transforms/InstCombine/ |
| H A D | call-callconv.ll | 28 %call = tail call arm_aapcscc i32 @labs(i32 %i) nounwind readnone 32 declare arm_aapcscc i32 @labs(i32) nounwind readnone
|
| H A D | disable-simplify-libcalls.ll | 49 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.h | 116 __DEVICE__ long labs(long); 239 using ::labs;
|
| H A D | __clang_cuda_math.h | 150 __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.h | 42 __DEVICE__ long abs(long __n) { return ::labs(__n); } in abs()
|
| /llvm-project-15.0.7/polly/lib/External/isl/ |
| H A D | isl_int_sioimath.c | 88 dividend = labs(lhs); in isl_sioimath_smallgcd() 89 divisor = labs(rhs); in isl_sioimath_smallgcd()
|
| H A D | isl_int_sioimath.h | 553 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 D | libcall-declarations.c | 14 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 D | entrypoints.txt | 65 libc.src.stdlib.labs
|
| /llvm-project-15.0.7/libcxx/test/std/language.support/support.runtime/ |
| H A D | cstdlib.pass.cpp | 132 static_assert((std::is_same<decltype(std::labs((long)0)), long>::value), ""); in main()
|
| /llvm-project-15.0.7/lld/test/ELF/ |
| H A D | map-file.s | 49 labs = 0x1AB5 define
|
| /llvm-project-15.0.7/libc/config/darwin/arm/ |
| H A D | entrypoints.txt | 70 libc.src.stdlib.labs
|
| /llvm-project-15.0.7/libc/config/windows/ |
| H A D | entrypoints.txt | 70 libc.src.stdlib.labs
|
| /llvm-project-15.0.7/llvm/test/Transforms/InferFunctionAttrs/ |
| H A D | no-proto.ll | 522 ; CHECK: declare void @labs(...) 523 declare void @labs(...)
|