| /llvm-project-15.0.7/llvm/test/CodeGen/AArch64/GlobalISel/ |
| H A D | regbank-llround.mir | 16 ; CHECK: %llround:gpr(s64) = G_LLROUND %fpr(s64) 17 ; CHECK: $d0 = COPY %llround(s64) 20 %llround:_(s64) = G_LLROUND %fpr 21 $d0 = COPY %llround:_(s64) 37 ; CHECK: $d0 = COPY %llround(s64) 40 %llround:_(s64) = G_LLROUND %gpr 41 $d0 = COPY %llround:_(s64) 56 ; CHECK: %llround:gpr(s64) = G_LLROUND %load(s32) 57 ; CHECK: $d0 = COPY %llround(s64) 61 %llround:_(s64) = G_LLROUND %load [all …]
|
| H A D | legalize-llround.mir | 14 ; CHECK: %llround:_(s64) = G_LLROUND %copy(s32) 15 ; CHECK: %trunc:_(s32) = G_TRUNC %llround(s64) 19 %llround:_(s64) = G_LLROUND %copy(s32) 20 %trunc:_(s32) = G_TRUNC %llround 33 ; CHECK: %llround:_(s64) = G_LLROUND %copy(s64) 34 ; CHECK: $x0 = COPY %llround(s64) 37 %llround:_(s64) = G_LLROUND %copy(s64) 38 $x0 = COPY %llround
|
| /llvm-project-15.0.7/llvm/test/CodeGen/PowerPC/ |
| H A D | llround-conv.ll | 7 %0 = tail call i64 @llvm.llround.f32(float %x) 16 %0 = tail call i64 @llvm.llround.f32(float %x) 21 ; CHECK: bl llround 24 %0 = tail call i64 @llvm.llround.f64(double %x) 30 ; CHECK: bl llround 33 %0 = tail call i64 @llvm.llround.f64(double %x) 41 %0 = tail call i64 @llvm.llround.ppcf128(ppc_fp128 %x) 50 %0 = tail call i64 @llvm.llround.ppcf128(ppc_fp128 %x) 54 declare i64 @llvm.llround.f32(float) nounwind readnone 55 declare i64 @llvm.llround.f64(double) nounwind readnone [all …]
|
| H A D | scalar-rounding-ops.ll | 267 ; BE-NEXT: bl llround 281 ; CHECK-NEXT: bl llround 295 %0 = tail call i64 @llvm.llround.i64.f64(double %d) 299 declare i64 @llvm.llround.i64.f64(double) 337 %0 = tail call i64 @llvm.llround.i64.f32(float %f) 341 declare i64 @llvm.llround.i64.f32(float)
|
| /llvm-project-15.0.7/llvm/test/CodeGen/Mips/ |
| H A D | llround-conv.ll | 7 %0 = tail call i64 @llvm.llround.f32(float %x) 16 %0 = tail call i64 @llvm.llround.f32(float %x) 22 ; CHECK: jal llround 24 %0 = tail call i64 @llvm.llround.f64(double %x) 31 ; CHECK: jal llround 33 %0 = tail call i64 @llvm.llround.f64(double %x) 41 %0 = tail call i64 @llvm.llround.f128(fp128 %x) 50 %0 = tail call i64 @llvm.llround.f128(fp128 %x) 54 declare i64 @llvm.llround.f32(float) nounwind readnone 55 declare i64 @llvm.llround.f64(double) nounwind readnone [all …]
|
| /llvm-project-15.0.7/llvm/test/CodeGen/AArch64/ |
| H A D | llround-conv.ll | 8 %0 = tail call i64 @llvm.llround.f32(float %x) 18 %0 = tail call i64 @llvm.llround.f32(float %x) 27 %0 = tail call i64 @llvm.llround.f64(double %x) 37 %0 = tail call i64 @llvm.llround.f64(double %x) 45 %0 = tail call i64 @llvm.llround.f128(fp128 %x) 54 %0 = tail call i64 @llvm.llround.f128(fp128 %x) 58 declare i64 @llvm.llround.f32(float) nounwind readnone 59 declare i64 @llvm.llround.f64(double) nounwind readnone 60 declare i64 @llvm.llround.f128(fp128) nounwind readnone
|
| H A D | llround-conv-fp16.ll | 8 %0 = tail call i64 @llvm.llround.i64.f16(half %x) 18 %0 = tail call i64 @llvm.llround.i64.f16(half %x) 28 %0 = tail call i64 @llvm.llround.i64.f16(half %x) 32 declare i64 @llvm.llround.i64.f16(half) nounwind readnone
|
| /llvm-project-15.0.7/llvm/test/CodeGen/ARM/ |
| H A D | llround-conv.ll | 10 %0 = tail call i64 @llvm.llround.f32(float %x) 15 ; SOFTFP: bl llround 17 ; HARDFP: bl llround 20 %0 = tail call i64 @llvm.llround.f64(double %x) 24 declare i64 @llvm.llround.f32(float) nounwind readnone 25 declare i64 @llvm.llround.f64(double) nounwind readnone
|
| /llvm-project-15.0.7/llvm/test/CodeGen/X86/ |
| H A D | llround-conv.ll | 33 %0 = tail call i64 @llvm.llround.f32(float %x) 44 ; X86-NEXT: calll llround 55 ; SSE2-NEXT: calll llround 62 ; X64-NEXT: jmp llround@PLT # TAILCALL 64 %0 = tail call i64 @llvm.llround.f64(double %x) 95 %0 = tail call i64 @llvm.llround.f80(x86_fp80 %x) 99 declare i64 @llvm.llround.f32(float) nounwind readnone 100 declare i64 @llvm.llround.f64(double) nounwind readnone 101 declare i64 @llvm.llround.f80(x86_fp80) nounwind readnone
|
| H A D | fp80-strict-libcalls.ll | 607 define i64 @llround(x86_fp80 %x) nounwind strictfp { 608 ; X86-LABEL: llround: 618 ; X64-LABEL: llround: 628 …%round = call i64 @llvm.experimental.constrained.llround.i64.f80(x86_fp80 %x, metadata !"fpexcept.… 657 declare i64 @llvm.experimental.constrained.llround.i64.f80(x86_fp80, metadata)
|
| /llvm-project-15.0.7/llvm/test/CodeGen/WebAssembly/ |
| H A D | llround-conv-i32.ll | 13 %0 = tail call i64 @llvm.llround.f32(float %x) 22 ; CHECK-NEXT: call llround 26 %0 = tail call i64 @llvm.llround.f64(double %x) 30 declare i64 @llvm.llround.f32(float) nounwind readnone 31 declare i64 @llvm.llround.f64(double) nounwind readnone
|
| /llvm-project-15.0.7/llvm/test/CodeGen/RISCV/ |
| H A D | rv64zfh-half-intrinsics.ll | 27 declare i64 @llvm.llround.i64.f16(half) 39 %1 = call i64 @llvm.llround.i64.f16(half %a)
|
| H A D | rv64zfh-half-intrinsics-strict.ll | 27 declare i64 @llvm.experimental.constrained.llround.i64.f16(half, metadata) 39 …%1 = call i64 @llvm.experimental.constrained.llround.i64.f16(half %a, metadata !"fpexcept.strict")…
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/performance/ |
| H A D | type-promotion-in-math-fn.cpp | 59 long long llround(double); 158 llround(a); in check_all_fns()
|
| /llvm-project-15.0.7/libc/test/src/math/ |
| H A D | llround_test.cpp | 13 LIST_ROUND_TO_INTEGER_TESTS(double, long long, __llvm_libc::llround)
|
| /llvm-project-15.0.7/libc/src/math/ |
| H A D | llround.h | 14 long long llround(double x);
|
| H A D | CMakeLists.txt | 140 add_math_entrypoint_object(llround)
|
| /llvm-project-15.0.7/libc/src/math/generic/ |
| H A D | llround.cpp | 15 LLVM_LIBC_FUNCTION(long long, llround, (double x)) {
|
| /llvm-project-15.0.7/llvm/test/Feature/ |
| H A D | fp-intrinsics.ll | 356 ; Verify that llround(42.1) isn't simplified when the rounding mode is unknown. 358 ; CHECK: call i64 @llvm.experimental.constrained.llround 361 %result = call i64 @llvm.experimental.constrained.llround.i64.f64(double 42.1, 366 ; Verify that llround(42.0) isn't simplified when the rounding mode is unknown. 368 ; CHECK: call i64 @llvm.experimental.constrained.llround 371 %result = call i64 @llvm.experimental.constrained.llround.i64.f32(float 42.0, 428 declare i64 @llvm.experimental.constrained.llround.i64.f64(double, metadata) 429 declare i64 @llvm.experimental.constrained.llround.i64.f32(float, metadata)
|
| /llvm-project-15.0.7/clang/test/Headers/Inputs/include/ |
| H A D | cmath | 116 long long llround(float); // No llround(double). 208 using ::llround;
|
| /llvm-project-15.0.7/clang/lib/Headers/ |
| H A D | __clang_cuda_math_forward_declares.h | 138 __DEVICE__ long long llround(float); // No llround(double). 251 using ::llround;
|
| H A D | __clang_cuda_cmath.h | 284 __CUDA_CLANG_FN_INTEGER_OVERLOAD_1(long long, llround) 407 using ::llround;
|
| /llvm-project-15.0.7/libcxx/test/std/depr/depr.c.headers/ |
| H A D | math_h.pass.cpp | 83 Ambiguous llround(Ambiguous){ return Ambiguous(); } in llround() function 1155 static_assert((std::is_same<decltype(llround((float)0)), long long>::value), ""); in test_llround() 1156 static_assert((std::is_same<decltype(llround((bool)0)), long long>::value), ""); in test_llround() 1158 static_assert((std::is_same<decltype(llround((int)0)), long long>::value), ""); in test_llround() 1159 static_assert((std::is_same<decltype(llround((unsigned int)0)), long long>::value), ""); in test_llround() 1160 static_assert((std::is_same<decltype(llround((long)0)), long long>::value), ""); in test_llround() 1162 static_assert((std::is_same<decltype(llround((long long)0)), long long>::value), ""); in test_llround() 1164 static_assert((std::is_same<decltype(llround((double)0)), long long>::value), ""); in test_llround() 1165 static_assert((std::is_same<decltype(llround((long double)0)), long long>::value), ""); in test_llround() 1168 static_assert((std::is_same<decltype(llround(Ambiguous())), Ambiguous>::value), ""); in test_llround() [all …]
|
| /llvm-project-15.0.7/clang/test/CodeGen/ |
| H A D | libcall-declarations.c | 112 long long int llround(double); 284 F(llrintf), F(llrintl), F(llround), F(llroundf), F(llroundl),
|
| /llvm-project-15.0.7/libcxx/test/std/numerics/c.math/ |
| H A D | cmath.pass.cpp | 86 Ambiguous llround(Ambiguous){ return Ambiguous(); } in llround() function 1237 static_assert((std::is_same<decltype(std::llround((float)0)), long long>::value), ""); in test_llround() 1238 static_assert((std::is_same<decltype(std::llround((bool)0)), long long>::value), ""); in test_llround() 1240 static_assert((std::is_same<decltype(std::llround((int)0)), long long>::value), ""); in test_llround() 1241 static_assert((std::is_same<decltype(std::llround((unsigned int)0)), long long>::value), ""); in test_llround() 1242 static_assert((std::is_same<decltype(std::llround((long)0)), long long>::value), ""); in test_llround() 1244 static_assert((std::is_same<decltype(std::llround((long long)0)), long long>::value), ""); in test_llround() 1246 static_assert((std::is_same<decltype(std::llround((double)0)), long long>::value), ""); in test_llround() 1247 static_assert((std::is_same<decltype(std::llround((long double)0)), long long>::value), ""); in test_llround() 1250 static_assert((std::is_same<decltype(llround(Ambiguous())), Ambiguous>::value), ""); in test_llround() [all …]
|