| /llvm-project-15.0.7/llvm/test/CodeGen/AArch64/GlobalISel/ |
| H A D | regbank-lround.mir | 16 ; CHECK: %lround:gpr(s64) = G_LROUND %fpr(s64) 17 ; CHECK: $d0 = COPY %lround(s64) 20 %lround:_(s64) = G_LROUND %fpr 21 $d0 = COPY %lround:_(s64) 37 ; CHECK: $d0 = COPY %lround(s64) 40 %lround:_(s64) = G_LROUND %gpr 41 $d0 = COPY %lround:_(s64) 56 ; CHECK: %lround:gpr(s64) = G_LROUND %load(s32) 57 ; CHECK: $d0 = COPY %lround(s64) 61 %lround:_(s64) = G_LROUND %load [all …]
|
| H A D | legalize-lround.mir | 14 ; CHECK: %lround:_(s64) = G_LROUND %copy(s32) 15 ; CHECK: %trunc:_(s32) = G_TRUNC %lround(s64) 19 %lround:_(s64) = G_LROUND %copy(s32) 20 %trunc:_(s32) = G_TRUNC %lround 33 ; CHECK: %lround:_(s64) = G_LROUND %copy(s64) 34 ; CHECK: $x0 = COPY %lround(s64) 37 %lround:_(s64) = G_LROUND %copy(s64) 38 $x0 = COPY %lround
|
| /llvm-project-15.0.7/llvm/test/CodeGen/PowerPC/ |
| H A D | lround-conv.ll | 7 %0 = tail call i64 @llvm.lround.i64.f32(float %x) 16 %0 = tail call i64 @llvm.lround.i64.f32(float %x) 21 ; CHECK: bl lround 24 %0 = tail call i64 @llvm.lround.i64.f64(double %x) 30 ; CHECK: bl lround 33 %0 = tail call i64 @llvm.lround.i64.f64(double %x) 41 %0 = tail call i64 @llvm.lround.i64.ppcf128(ppc_fp128 %x) 50 %0 = tail call i64 @llvm.lround.i64.ppcf128(ppc_fp128 %x) 54 declare i64 @llvm.lround.i64.f32(float) nounwind readnone 55 declare i64 @llvm.lround.i64.f64(double) nounwind readnone [all …]
|
| H A D | scalar-rounding-ops.ll | 183 ; BE-NEXT: bl lround 197 ; CHECK-NEXT: bl lround 211 %0 = tail call i64 @llvm.lround.i64.f64(double %d) 215 declare i64 @llvm.lround.i64.f64(double) 253 %0 = tail call i64 @llvm.lround.i64.f32(float %f) 257 declare i64 @llvm.lround.i64.f32(float)
|
| /llvm-project-15.0.7/llvm/test/CodeGen/Mips/ |
| H A D | lround-conv.ll | 7 %0 = tail call i64 @llvm.lround.i64.f32(float %x) 16 %0 = tail call i64 @llvm.lround.i64.f32(float %x) 22 ; CHECK: jal lround 24 %0 = tail call i64 @llvm.lround.i64.f64(double %x) 31 ; CHECK: jal lround 33 %0 = tail call i64 @llvm.lround.i64.f64(double %x) 41 %0 = tail call i64 @llvm.lround.i64.f128(fp128 %x) 50 %0 = tail call i64 @llvm.lround.i64.f128(fp128 %x) 54 declare i64 @llvm.lround.i64.f32(float) nounwind readnone 55 declare i64 @llvm.lround.i64.f64(double) nounwind readnone [all …]
|
| /llvm-project-15.0.7/llvm/test/CodeGen/AArch64/ |
| H A D | lround-conv.ll | 8 %0 = tail call i64 @llvm.lround.i64.f32(float %x) 18 %0 = tail call i64 @llvm.lround.i64.f32(float %x) 27 %0 = tail call i64 @llvm.lround.i64.f64(double %x) 37 %0 = tail call i64 @llvm.lround.i64.f64(double %x) 45 %0 = tail call i64 @llvm.lround.i64.f128(fp128 %x) 54 %0 = tail call i64 @llvm.lround.i64.f128(fp128 %x) 58 declare i64 @llvm.lround.i64.f32(float) nounwind readnone 59 declare i64 @llvm.lround.i64.f64(double) nounwind readnone 60 declare i64 @llvm.lround.i64.f128(fp128) nounwind readnone
|
| H A D | lround-conv-win.ll | 9 %0 = tail call i32 @llvm.lround.i32.f32(float %x) 19 %0 = tail call i32 @llvm.lround.i32.f32(float %x) 29 %0 = tail call i32 @llvm.lround.i32.f64(double %x) 39 %0 = tail call i32 @llvm.lround.i32.f64(double %x) 43 declare i32 @llvm.lround.i32.f32(float) nounwind readnone 44 declare i32 @llvm.lround.i32.f64(double) nounwind readnone
|
| H A D | lround-conv-fp16.ll | 8 %0 = tail call i64 @llvm.lround.i64.f16(half %x) 18 %0 = tail call i64 @llvm.lround.i64.f16(half %x) 28 %0 = tail call i64 @llvm.lround.i64.f16(half %x) 32 declare i64 @llvm.lround.i64.f16(half) nounwind readnone
|
| H A D | lround-conv-fp16-win.ll | 8 %0 = tail call i32 @llvm.lround.i32.f16(half %x) 18 %0 = tail call i32 @llvm.lround.i32.f16(half %x) 28 %0 = tail call i32 @llvm.lround.i32.f16(half %x) 33 declare i32 @llvm.lround.i32.f16(half) nounwind readnone
|
| /llvm-project-15.0.7/llvm/test/CodeGen/X86/ |
| H A D | lround-conv-i64.ll | 9 %0 = tail call i64 @llvm.lround.i64.f32(float %x) 16 ; CHECK-NEXT: jmp lround@PLT # TAILCALL 18 %0 = tail call i64 @llvm.lround.i64.f64(double %x) 27 %0 = tail call i64 @llvm.lround.i64.f80(x86_fp80 %x) 31 declare i64 @llvm.lround.i64.f32(float) nounwind readnone 32 declare i64 @llvm.lround.i64.f64(double) nounwind readnone 33 declare i64 @llvm.lround.i64.f80(x86_fp80) nounwind readnone
|
| H A D | lround-conv-i32.ll | 15 %0 = tail call i32 @llvm.lround.i32.f32(float %x) 22 ; CHECK-NEXT: jmp lround # TAILCALL 26 ; X64-NEXT: jmp lround@PLT # TAILCALL 28 %0 = tail call i32 @llvm.lround.i32.f64(double %x) 41 %0 = tail call i32 @llvm.lround.i32.f80(x86_fp80 %x) 45 declare i32 @llvm.lround.i32.f32(float) nounwind readnone 46 declare i32 @llvm.lround.i32.f64(double) nounwind readnone 47 declare i32 @llvm.lround.i32.f80(x86_fp80) nounwind readnone
|
| /llvm-project-15.0.7/llvm/test/CodeGen/ARM/ |
| H A D | lround-conv.ll | 10 %0 = tail call i32 @llvm.lround.i32.f32(float %x) 15 ; SOFTFP: bl lround 17 ; HARDFP: bl lround 20 %0 = tail call i32 @llvm.lround.i32.f64(double %x) 24 declare i32 @llvm.lround.i32.f32(float) nounwind readnone 25 declare i32 @llvm.lround.i32.f64(double) nounwind readnone
|
| /llvm-project-15.0.7/clang/lib/Headers/ |
| H A D | __clang_cuda_math_forward_declares.h | 136 __DEVICE__ long lround(double); 137 __DEVICE__ long lround(float); 250 using ::lround;
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/performance/ |
| H A D | type-promotion-in-math-fn.cpp | 60 long lround(double); 179 lround(a); in check_all_fns()
|
| /llvm-project-15.0.7/libc/test/src/math/ |
| H A D | lround_test.cpp | 13 LIST_ROUND_TO_INTEGER_TESTS(double, long, __llvm_libc::lround)
|
| /llvm-project-15.0.7/libc/src/math/ |
| H A D | lround.h | 14 long lround(double x);
|
| /llvm-project-15.0.7/libc/src/math/generic/ |
| H A D | lround.cpp | 15 LLVM_LIBC_FUNCTION(long, lround, (double x)) {
|
| /llvm-project-15.0.7/llvm/test/Feature/ |
| H A D | fp-intrinsics.ll | 336 ; Verify that lround(42.1) isn't simplified when the rounding mode is unknown. 338 ; CHECK: call i32 @llvm.experimental.constrained.lround 341 %result = call i32 @llvm.experimental.constrained.lround.i32.f64(double 42.1, 346 ; Verify that lround(42.0) isn't simplified when the rounding mode is unknown. 348 ; CHECK: call i32 @llvm.experimental.constrained.lround 351 %result = call i32 @llvm.experimental.constrained.lround.i32.f32(float 42.0, 426 declare i32 @llvm.experimental.constrained.lround.i32.f64(double, metadata) 427 declare i32 @llvm.experimental.constrained.lround.i32.f32(float, metadata)
|
| /llvm-project-15.0.7/llvm/test/CodeGen/WebAssembly/ |
| H A D | libcalls.ll | 20 declare i32 @llvm.lround(double) 78 ; CHECK: call $push{{[0-9]}}=, lround 79 %h = call i32 @llvm.lround(double %g)
|
| /llvm-project-15.0.7/llvm/test/CodeGen/RISCV/ |
| H A D | zfh-half-intrinsics.ll | 43 declare iXLen @llvm.lround.iXLen.f16(half) 65 %1 = call iXLen @llvm.lround.iXLen.f16(half %a)
|
| H A D | zfh-half-intrinsics-strict.ll | 41 declare iXLen @llvm.experimental.constrained.lround.iXLen.f16(half, metadata) 63 …%1 = call iXLen @llvm.experimental.constrained.lround.iXLen.f16(half %a, metadata !"fpexcept.stric…
|
| /llvm-project-15.0.7/clang/test/Headers/Inputs/include/ |
| H A D | cmath | 114 long lround(double); 115 long lround(float); 207 using ::lround;
|
| /llvm-project-15.0.7/flang/test/Intrinsics/ |
| H A D | math-codegen.fir | 1221 func.func private @llvm.lround.i32.f32(f32) -> i32 1222 func.func private @llvm.lround.i64.f32(f32) -> i64 1223 func.func private @llvm.lround.i32.f64(f64) -> i32 1224 func.func private @llvm.lround.i64.f64(f64) -> i64 1262 func.func private @llvm.lround.i32.f32(f32) -> i32 1263 func.func private @llvm.lround.i64.f32(f32) -> i64 1264 func.func private @llvm.lround.i32.f64(f64) -> i32 1265 func.func private @llvm.lround.i64.f64(f64) -> i64 1303 func.func private @llvm.lround.i32.f32(f32) -> i32 1304 func.func private @llvm.lround.i64.f32(f32) -> i64 [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/depr/depr.c.headers/ |
| H A D | math_h.pass.cpp | 88 Ambiguous lround(Ambiguous){ return Ambiguous(); } in lround() function 1250 static_assert((std::is_same<decltype(lround((float)0)), long>::value), ""); in test_lround() 1251 static_assert((std::is_same<decltype(lround((bool)0)), long>::value), ""); in test_lround() 1253 static_assert((std::is_same<decltype(lround((int)0)), long>::value), ""); in test_lround() 1254 static_assert((std::is_same<decltype(lround((unsigned int)0)), long>::value), ""); in test_lround() 1255 static_assert((std::is_same<decltype(lround((long)0)), long>::value), ""); in test_lround() 1256 static_assert((std::is_same<decltype(lround((unsigned long)0)), long>::value), ""); in test_lround() 1257 static_assert((std::is_same<decltype(lround((long long)0)), long>::value), ""); in test_lround() 1259 static_assert((std::is_same<decltype(lround((double)0)), long>::value), ""); in test_lround() 1260 static_assert((std::is_same<decltype(lround((long double)0)), long>::value), ""); in test_lround() [all …]
|
| /llvm-project-15.0.7/clang/test/CodeGen/ |
| H A D | libcall-declarations.c | 133 long int lround(double); 288 F(lrint), F(lrintf), F(lrintl), F(lround), F(lroundf),
|