| /llvm-project-15.0.7/llvm/test/CodeGen/PowerPC/ |
| H A D | llrint-conv.ll | 7 %0 = tail call i64 @llvm.llrint.f32(float %x) 16 %0 = tail call i64 @llvm.llrint.f32(float %x) 21 ; CHECK: bl llrint 24 %0 = tail call i64 @llvm.llrint.f64(double %x) 30 ; CHECK: bl llrint 33 %0 = tail call i64 @llvm.llrint.f64(double %x) 41 %0 = tail call i64 @llvm.llrint.ppcf128(ppc_fp128 %x) 50 %0 = tail call i64 @llvm.llrint.ppcf128(ppc_fp128 %x) 54 declare i64 @llvm.llrint.f32(float) nounwind readnone 55 declare i64 @llvm.llrint.f64(double) nounwind readnone [all …]
|
| H A D | scalar-rounding-ops.ll | 101 ; BE-NEXT: bl llrint 115 ; CHECK-NEXT: bl llrint 128 %0 = tail call i64 @llvm.llrint.i64.f64(double %d) 132 declare i64 @llvm.llrint.i64.f64(double) 169 %0 = tail call i64 @llvm.llrint.i64.f32(float %f) 173 declare i64 @llvm.llrint.i64.f32(float)
|
| /llvm-project-15.0.7/llvm/test/CodeGen/Mips/ |
| H A D | llrint-conv.ll | 7 %0 = tail call i64 @llvm.llrint.f32(float %x) 16 %0 = tail call i64 @llvm.llrint.f32(float %x) 22 ; CHECK: jal llrint 24 %0 = tail call i64 @llvm.llrint.f64(double %x) 31 ; CHECK: jal llrint 33 %0 = tail call i64 @llvm.llrint.f64(double %x) 41 %0 = tail call i64 @llvm.llrint.f128(fp128 %x) 50 %0 = tail call i64 @llvm.llrint.f128(fp128 %x) 54 declare i64 @llvm.llrint.f32(float) nounwind readnone 55 declare i64 @llvm.llrint.f64(double) nounwind readnone [all …]
|
| /llvm-project-15.0.7/llvm/test/CodeGen/AArch64/ |
| H A D | llrint-conv.ll | 9 %0 = tail call i64 @llvm.llrint.f32(float %x) 20 %0 = tail call i64 @llvm.llrint.f32(float %x) 30 %0 = tail call i64 @llvm.llrint.f64(double %x) 41 %0 = tail call i64 @llvm.llrint.f64(double %x) 49 %0 = tail call i64 @llvm.llrint.f128(fp128 %x) 58 %0 = tail call i64 @llvm.llrint.f128(fp128 %x) 62 declare i64 @llvm.llrint.f32(float) nounwind readnone 63 declare i64 @llvm.llrint.f64(double) nounwind readnone 64 declare i64 @llvm.llrint.f128(fp128) nounwind readnone
|
| H A D | llrint-conv-fp16.ll | 9 %0 = tail call i64 @llvm.llrint.i64.f16(half %x) 20 %0 = tail call i64 @llvm.llrint.i64.f16(half %x) 31 %0 = tail call i64 @llvm.llrint.i64.f16(half %x) 35 declare i64 @llvm.llrint.i64.f16(half) nounwind readnone
|
| /llvm-project-15.0.7/llvm/test/CodeGen/ARM/ |
| H A D | llrint-conv.ll | 10 %0 = tail call i64 @llvm.llrint.f32(float %x) 15 ; SOFTFP: bl llrint 17 ; HARDFP: bl llrint 20 %0 = tail call i64 @llvm.llrint.f64(double %x) 24 declare i64 @llvm.llrint.f32(float) nounwind readnone 25 declare i64 @llvm.llrint.f64(double) nounwind readnone
|
| /llvm-project-15.0.7/llvm/test/CodeGen/X86/ |
| H A D | llrint-conv.ll | 79 %0 = tail call i64 @llvm.llrint.f32(float %x) 152 %0 = tail call i64 @llvm.llrint.f64(double %x) 182 %0 = tail call i64 @llvm.llrint.f80(x86_fp80 %x) 186 declare i64 @llvm.llrint.f32(float) nounwind readnone 187 declare i64 @llvm.llrint.f64(double) nounwind readnone 188 declare i64 @llvm.llrint.f80(x86_fp80) nounwind readnone
|
| H A D | fp80-strict-libcalls.ll | 557 define i64 @llrint(x86_fp80 %x) nounwind strictfp { 558 ; X86-LABEL: llrint: 568 ; X64-LABEL: llrint: 578 …%rint = call i64 @llvm.experimental.constrained.llrint.i64.f80(x86_fp80 %x, metadata !"round.dynam… 655 declare i64 @llvm.experimental.constrained.llrint.i64.f80(x86_fp80, metadata, metadata)
|
| /llvm-project-15.0.7/llvm/test/CodeGen/RISCV/ |
| H A D | rv64zfh-half-intrinsics.ll | 11 declare i64 @llvm.llrint.i64.f16(half) 23 %1 = call i64 @llvm.llrint.i64.f16(half %a)
|
| H A D | rv64zfh-half-intrinsics-strict.ll | 11 declare i64 @llvm.experimental.constrained.llrint.i64.f16(half, metadata, metadata) 23 …%1 = call i64 @llvm.experimental.constrained.llrint.i64.f16(half %a, metadata !"round.dynamic", me…
|
| /llvm-project-15.0.7/clang/lib/Headers/ |
| H A D | __clang_cuda_math_forward_declares.h | 122 __DEVICE__ long long llrint(double); 123 __DEVICE__ long long llrint(float); 243 using ::llrint;
|
| H A D | __clang_cuda_cmath.h | 283 __CUDA_CLANG_FN_INTEGER_OVERLOAD_1(long long, llrint) 406 using ::llrint;
|
| H A D | __clang_hip_cmath.h | 237 __DEF_FUN1(long long, llrint) 525 __HIP_OVERLOAD1(long long, llrint) 689 using ::llrint;
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/performance/ |
| H A D | type-promotion-in-math-fn.cpp | 34 long long llrint(double); 155 llrint(a); in check_all_fns()
|
| /llvm-project-15.0.7/libc/test/src/math/ |
| H A D | llrint_test.cpp | 13 LIST_ROUND_TO_INTEGER_TESTS_WITH_MODES(double, long long, __llvm_libc::llrint)
|
| /llvm-project-15.0.7/libc/src/math/ |
| H A D | llrint.h | 14 long long llrint(double x);
|
| H A D | CMakeLists.txt | 136 add_math_entrypoint_object(llrint)
|
| /llvm-project-15.0.7/libc/src/math/generic/ |
| H A D | llrint.cpp | 15 LLVM_LIBC_FUNCTION(long long, llrint, (double x)) {
|
| H A D | CMakeLists.txt | 396 llrint 398 llrint.cpp 400 ../llrint.h
|
| /llvm-project-15.0.7/llvm/test/Feature/ |
| H A D | fp-intrinsics.ll | 314 ; Verify that llrint(42.1) isn't simplified when the rounding mode is unknown. 316 ; CHECK: call i64 @llvm.experimental.constrained.llrint 319 %result = call i64 @llvm.experimental.constrained.llrint.i64.f64(double 42.1, 325 ; Verify that llrint(42.0) isn't simplified when the rounding mode is unknown. 327 ; CHECK: call i64 @llvm.experimental.constrained.llrint 330 %result = call i64 @llvm.experimental.constrained.llrint.i64.f32(float 42.0, 424 declare i64 @llvm.experimental.constrained.llrint.i64.f64(double, metadata, metadata) 425 declare i64 @llvm.experimental.constrained.llrint.i64.f32(float, metadata, metadata)
|
| /llvm-project-15.0.7/clang/test/Headers/Inputs/include/ |
| H A D | cmath | 100 long long llrint(double); 101 long long llrint(float); 200 using ::llrint;
|
| /llvm-project-15.0.7/libcxx/test/std/depr/depr.c.headers/ |
| H A D | math_h.pass.cpp | 82 Ambiguous llrint(Ambiguous){ return Ambiguous(); } in llrint() function 1136 static_assert((std::is_same<decltype(llrint((float)0)), long long>::value), ""); in test_llrint() 1137 static_assert((std::is_same<decltype(llrint((bool)0)), long long>::value), ""); in test_llrint() 1139 static_assert((std::is_same<decltype(llrint((int)0)), long long>::value), ""); in test_llrint() 1140 static_assert((std::is_same<decltype(llrint((unsigned int)0)), long long>::value), ""); in test_llrint() 1141 static_assert((std::is_same<decltype(llrint((long)0)), long long>::value), ""); in test_llrint() 1143 static_assert((std::is_same<decltype(llrint((long long)0)), long long>::value), ""); in test_llrint() 1145 static_assert((std::is_same<decltype(llrint((double)0)), long long>::value), ""); in test_llrint() 1146 static_assert((std::is_same<decltype(llrint((long double)0)), long long>::value), ""); in test_llrint() 1149 static_assert((std::is_same<decltype(llrint(Ambiguous())), Ambiguous>::value), ""); in test_llrint() [all …]
|
| /llvm-project-15.0.7/clang/test/CodeGen/ |
| H A D | libcall-declarations.c | 109 long long int llrint(double); 283 F(ilogbl), F(lgamma), F(lgammaf), F(lgammal), F(llrint),
|
| H A D | math-libcalls.c | 309 llrint(f); llrintf(f); llrintl(f); in foo()
|
| /llvm-project-15.0.7/libcxx/test/std/numerics/c.math/ |
| H A D | cmath.pass.cpp | 85 Ambiguous llrint(Ambiguous){ return Ambiguous(); } in llrint() function 1218 static_assert((std::is_same<decltype(std::llrint((float)0)), long long>::value), ""); in test_llrint() 1219 static_assert((std::is_same<decltype(std::llrint((bool)0)), long long>::value), ""); in test_llrint() 1221 static_assert((std::is_same<decltype(std::llrint((int)0)), long long>::value), ""); in test_llrint() 1222 static_assert((std::is_same<decltype(std::llrint((unsigned int)0)), long long>::value), ""); in test_llrint() 1223 static_assert((std::is_same<decltype(std::llrint((long)0)), long long>::value), ""); in test_llrint() 1225 static_assert((std::is_same<decltype(std::llrint((long long)0)), long long>::value), ""); in test_llrint() 1227 static_assert((std::is_same<decltype(std::llrint((double)0)), long long>::value), ""); in test_llrint() 1228 static_assert((std::is_same<decltype(std::llrint((long double)0)), long long>::value), ""); in test_llrint() 1231 static_assert((std::is_same<decltype(llrint(Ambiguous())), Ambiguous>::value), ""); in test_llrint() [all …]
|