Home
last modified time | relevance | path

Searched refs:llabs (Results 1 – 25 of 38) sorted by relevance

12

/llvm-project-15.0.7/clang/test/Sema/
H A Dwarn-absolute-value.c19 (void)llabs(x); in test_int()
81 (void)llabs(x); in test_long()
150 (void)llabs(x); in test_long_long()
224 (void)llabs(x); in test_float()
286 (void)llabs(x); in test_double()
354 (void)llabs(x); in test_long_double()
428 (void)llabs(x); in test_complex_float()
490 (void)llabs(x); in test_complex_double()
558 (void)llabs(x); in test_complex_long_double()
632 (void)llabs(x); in test_unsigned_int()
[all …]
H A Dwarn-absolute-value-header.c20 int llabs; in test_int() local
21 (void)llabs; in test_int()
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dwarn-absolute-value.cpp7 long long int llabs(long long int);
40 (void)llabs(x); in test_int()
104 (void)llabs(x); in test_long()
175 (void)llabs(x); in test_long_long()
251 (void)llabs(x); in test_float()
315 (void)llabs(x); in test_double()
385 (void)llabs(x); in test_long_double()
513 (void)llabs(x); in test_unsigned_int()
598 (void)llabs(x); in test_unsigned_long()
/llvm-project-15.0.7/libc/test/src/stdlib/
H A Dllabs_test.cpp12 TEST(LlvmLibcLlabsTest, Zero) { EXPECT_EQ(__llvm_libc::llabs(0ll), 0ll); } in TEST()
14 TEST(LlvmLibcLlabsTest, Positive) { EXPECT_EQ(__llvm_libc::llabs(1ll), 1ll); } in TEST()
16 TEST(LlvmLibcLlabsTest, Negative) { EXPECT_EQ(__llvm_libc::llabs(-1ll), 1ll); } in TEST()
H A DCMakeLists.txt141 libc.src.stdlib.llabs
/llvm-project-15.0.7/libcxx/include/
H A Dstdlib.h105 #ifdef llabs
106 # undef llabs
H A Dcstdlib65 long long llabs(long long j); // C99
125 using ::llabs _LIBCPP_USING_IF_EXISTS;
/llvm-project-15.0.7/libcxx/test/std/depr/depr.c.headers/
H A Dstdlib_h.pass.cpp25 #ifdef llabs
26 #error llabs is defined
144 static_assert((std::is_same<decltype(llabs((long long)0)), long long>::value), ""); in main()
/llvm-project-15.0.7/libc/src/stdlib/
H A DCMakeLists.txt142 llabs
144 llabs.cpp
146 llabs.h
H A Dllabs.h14 long long llabs(long long n);
H A Dllabs.cpp15 LLVM_LIBC_FUNCTION(long long, llabs, (long long n)) { return integer_abs(n); }
/llvm-project-15.0.7/compiler-rt/test/fuzzer/
H A DAbsNegAndConstant64Test.cpp18 volatile int64_t abs_x = llabs(x); in LLVMFuzzerTestOneInput()
/llvm-project-15.0.7/clang/lib/Headers/
H A D__clang_cuda_math_forward_declares.h121 __DEVICE__ long long llabs(long long);
242 using ::llabs;
H A D__clang_cuda_cmath.h41 __DEVICE__ long long abs(long long __n) { return ::llabs(__n); } in abs()
H A D__clang_cuda_math.h158 __DEVICE__ long long llabs(long long __a) { return __nv_llabs(__a); } in llabs() function
/llvm-project-15.0.7/llvm/lib/Target/AArch64/
H A DAArch64MachineScheduler.cpp58 return llabs(Off0 - Off1) < StoreSize; in mayOverlapWrite()
/llvm-project-15.0.7/clang/test/CodeGen/
H A Dlibcall-declarations.c15 long long int llabs(long long int);
265 F(llabs), F(copysign), F(copysignf), F(copysignl), F(fabs),
/llvm-project-15.0.7/llvm/test/Transforms/InstCombine/
H A Ddisable-simplify-libcalls.ll50 declare i64 @llabs(i64)
317 %ret = call i64 @llabs(i64 %y)
319 ; CHECK: call i64 @llabs
/llvm-project-15.0.7/libc/config/linux/arm/
H A Dentrypoints.txt67 libc.src.stdlib.llabs
/llvm-project-15.0.7/libcxx/test/std/language.support/support.runtime/
H A Dcstdlib.pass.cpp133 static_assert((std::is_same<decltype(std::llabs((long long)0)), long long>::value), ""); in main()
/llvm-project-15.0.7/libc/config/darwin/arm/
H A Dentrypoints.txt72 libc.src.stdlib.llabs
/llvm-project-15.0.7/libc/config/windows/
H A Dentrypoints.txt72 libc.src.stdlib.llabs
/llvm-project-15.0.7/llvm/test/Transforms/InferFunctionAttrs/
H A Dno-proto.ll537 ; CHECK: declare void @llabs(...)
538 declare void @llabs(...)
/llvm-project-15.0.7/libc/config/linux/aarch64/
H A Dentrypoints.txt77 libc.src.stdlib.llabs
/llvm-project-15.0.7/libc/config/linux/x86_64/
H A Dentrypoints.txt77 libc.src.stdlib.llabs

12