| /llvm-project-15.0.7/llvm/test/CodeGen/PowerPC/ |
| H A D | lrint-conv.ll | 7 %0 = tail call i64 @llvm.lrint.i64.f32(float %x) 16 %0 = tail call i64 @llvm.lrint.i64.f32(float %x) 21 ; CHECK: bl lrint 24 %0 = tail call i64 @llvm.lrint.i64.f64(double %x) 30 ; CHECK: bl lrint 33 %0 = tail call i64 @llvm.lrint.i64.f64(double %x) 41 %0 = tail call i64 @llvm.lrint.i64.ppcf128(ppc_fp128 %x) 50 %0 = tail call i64 @llvm.lrint.i64.ppcf128(ppc_fp128 %x) 54 declare i64 @llvm.lrint.i64.f32(float) nounwind readnone 55 declare i64 @llvm.lrint.i64.f64(double) nounwind readnone [all …]
|
| H A D | pr43527.ll | 4 ; We don't want to produce a CTR loop due to the call to lrint in the body. 27 ; CHECK-NEXT: bl lrint 60 %tmp10 = tail call i64 @llvm.lrint.i64.f64(double %tmp9) #2 74 declare i64 @llvm.lrint.i64.f64(double)
|
| H A D | scalar-rounding-ops.ll | 19 ; BE-NEXT: bl lrint 33 ; CHECK-NEXT: bl lrint 46 %0 = tail call i64 @llvm.lrint.i64.f64(double %d) 50 declare i64 @llvm.lrint.i64.f64(double) 87 %0 = tail call i64 @llvm.lrint.i64.f32(float %f) 91 declare i64 @llvm.lrint.i64.f32(float)
|
| /llvm-project-15.0.7/llvm/test/CodeGen/Mips/ |
| H A D | lrint-conv.ll | 7 %0 = tail call i64 @llvm.lrint.i64.f32(float %x) 16 %0 = tail call i64 @llvm.lrint.i64.f32(float %x) 22 ; CHECK: jal lrint 24 %0 = tail call i64 @llvm.lrint.i64.f64(double %x) 31 ; CHECK: jal lrint 33 %0 = tail call i64 @llvm.lrint.i64.f64(double %x) 41 %0 = tail call i64 @llvm.lrint.i64.f128(fp128 %x) 50 %0 = tail call i64 @llvm.lrint.i64.f128(fp128 %x) 54 declare i64 @llvm.lrint.i64.f32(float) nounwind readnone 55 declare i64 @llvm.lrint.i64.f64(double) nounwind readnone [all …]
|
| /llvm-project-15.0.7/llvm/test/CodeGen/AArch64/ |
| H A D | lrint-conv.ll | 11 %0 = tail call i64 @llvm.lrint.i64.f32(float %x) 23 %0 = tail call i64 @llvm.lrint.i64.f32(float %x) 34 %0 = tail call i64 @llvm.lrint.i64.f64(double %x) 46 %0 = tail call i64 @llvm.lrint.i64.f64(double %x) 54 %0 = tail call i64 @llvm.lrint.i64.f128(fp128 %x) 63 %0 = tail call i64 @llvm.lrint.i64.f128(fp128 %x) 67 declare i64 @llvm.lrint.i64.f32(float) nounwind readnone 68 declare i64 @llvm.lrint.i64.f64(double) nounwind readnone 69 declare i64 @llvm.lrint.i64.f128(fp128) nounwind readnone
|
| H A D | lrint-conv-win.ll | 10 %0 = tail call i32 @llvm.lrint.i32.f32(float %x) 21 %0 = tail call i32 @llvm.lrint.i32.f32(float %x) 32 %0 = tail call i32 @llvm.lrint.i32.f64(double %x) 43 %0 = tail call i32 @llvm.lrint.i32.f64(double %x) 47 declare i32 @llvm.lrint.i32.f32(float) nounwind readnone 48 declare i32 @llvm.lrint.i32.f64(double) nounwind readnone
|
| H A D | lrint-conv-fp16.ll | 9 %0 = tail call i64 @llvm.lrint.i64.f16(half %x) 20 %0 = tail call i64 @llvm.lrint.i64.f16(half %x) 31 %0 = tail call i64 @llvm.lrint.i64.f16(half %x) 35 declare i64 @llvm.lrint.i64.f16(half) nounwind readnone
|
| H A D | lrint-conv-fp16-win.ll | 9 %0 = tail call i32 @llvm.lrint.i32.f16(half %x) 20 %0 = tail call i32 @llvm.lrint.i32.f16(half %x) 31 %0 = tail call i32 @llvm.lrint.i32.f16(half %x) 36 declare i32 @llvm.lrint.i32.f16(half) nounwind readnone
|
| /llvm-project-15.0.7/llvm/test/CodeGen/ARM/ |
| H A D | lrint-conv.ll | 10 %0 = tail call i32 @llvm.lrint.i32.f32(float %x) 15 ; SOFTFP: bl lrint 17 ; HARDFP: bl lrint 20 %0 = tail call i32 @llvm.lrint.i32.f64(double %x) 24 declare i32 @llvm.lrint.i32.f32(float) nounwind readnone 25 declare i32 @llvm.lrint.i32.f64(double) nounwind readnone
|
| /llvm-project-15.0.7/llvm/test/CodeGen/X86/ |
| H A D | lrint-conv-i64.ll | 17 %0 = tail call i64 @llvm.lrint.i64.f32(float %x) 32 %0 = tail call i64 @llvm.lrint.i64.f64(double %x) 44 %0 = tail call i64 @llvm.lrint.i64.f80(x86_fp80 %x) 48 declare i64 @llvm.lrint.i64.f32(float) nounwind readnone 49 declare i64 @llvm.lrint.i64.f64(double) nounwind readnone 50 declare i64 @llvm.lrint.i64.f80(x86_fp80) nounwind readnone
|
| H A D | lrint-conv-i32.ll | 42 %0 = tail call i32 @llvm.lrint.i32.f32(float %x) 78 %0 = tail call i32 @llvm.lrint.i32.f64(double %x) 101 %0 = tail call i32 @llvm.lrint.i32.f80(x86_fp80 %x) 105 declare i32 @llvm.lrint.i32.f32(float) nounwind readnone 106 declare i32 @llvm.lrint.i32.f64(double) nounwind readnone 107 declare i32 @llvm.lrint.i32.f80(x86_fp80) nounwind readnone
|
| H A D | pr1489.ll | 52 %tmp1 = tail call i32 @lrint( double 3.999000e+00 ) ; <i32> [#uses=1] 58 declare i32 @lrint(double)
|
| /llvm-project-15.0.7/clang/test/CodeGen/ |
| H A D | asm-label.c | 32 long lrint(double x) asm("__GI_lrint"); 34 return lrint(x); in test_lrint()
|
| H A D | libcall-declarations.c | 130 long int lrint(double); 288 F(lrint), F(lrintf), F(lrintl), F(lround), F(lroundf),
|
| /llvm-project-15.0.7/llvm/test/CodeGen/Generic/ |
| H A D | fast-math-flags.ll | 6 %0 = tail call fast i64 @llvm.lrint.i64.f32(float %f) 10 declare i64 @llvm.lrint.i64.f32(float)
|
| /llvm-project-15.0.7/clang/lib/Headers/ |
| H A D | __clang_cuda_math_forward_declares.h | 134 __DEVICE__ long lrint(double); 135 __DEVICE__ long lrint(float); 249 using ::lrint;
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/performance/ |
| H A D | type-promotion-in-math-fn.cpp | 40 long lrint(double); 176 lrint(a); in check_all_fns()
|
| /llvm-project-15.0.7/libc/test/src/math/ |
| H A D | lrint_test.cpp | 13 LIST_ROUND_TO_INTEGER_TESTS_WITH_MODES(double, long, __llvm_libc::lrint)
|
| /llvm-project-15.0.7/libc/src/math/ |
| H A D | lrint.h | 14 long lrint(double x);
|
| /llvm-project-15.0.7/libc/src/math/generic/ |
| H A D | lrint.cpp | 15 LLVM_LIBC_FUNCTION(long, lrint, (double x)) {
|
| /llvm-project-15.0.7/llvm/test/CodeGen/RISCV/ |
| H A D | zfh-half-intrinsics.ll | 17 declare iXLen @llvm.lrint.iXLen.f16(half) 39 %1 = call iXLen @llvm.lrint.iXLen.f16(half %a)
|
| H A D | zfh-half-intrinsics-strict.ll | 15 declare iXLen @llvm.experimental.constrained.lrint.iXLen.f16(half, metadata, metadata) 37 …%1 = call iXLen @llvm.experimental.constrained.lrint.iXLen.f16(half %a, metadata !"round.dynamic",…
|
| /llvm-project-15.0.7/llvm/test/Feature/ |
| H A D | fp-intrinsics.ll | 292 ; Verify that lrint(42.1) isn't simplified when the rounding mode is unknown. 294 ; CHECK: call i32 @llvm.experimental.constrained.lrint 297 %result = call i32 @llvm.experimental.constrained.lrint.i32.f64(double 42.1, 305 ; CHECK: call i32 @llvm.experimental.constrained.lrint 308 %result = call i32 @llvm.experimental.constrained.lrint.i32.f32(float 42.0, 422 declare i32 @llvm.experimental.constrained.lrint.i32.f64(double, metadata, metadata) 423 declare i32 @llvm.experimental.constrained.lrint.i32.f32(float, metadata, metadata)
|
| /llvm-project-15.0.7/clang/test/Headers/Inputs/include/ |
| H A D | cmath | 112 long lrint(double); 113 long lrint(float); 206 using ::lrint;
|
| /llvm-project-15.0.7/libcxx/test/std/depr/depr.c.headers/ |
| H A D | math_h.pass.cpp | 87 Ambiguous lrint(Ambiguous){ return Ambiguous(); } in lrint() function 1231 static_assert((std::is_same<decltype(lrint((float)0)), long>::value), ""); in test_lrint() 1232 static_assert((std::is_same<decltype(lrint((bool)0)), long>::value), ""); in test_lrint() 1234 static_assert((std::is_same<decltype(lrint((int)0)), long>::value), ""); in test_lrint() 1235 static_assert((std::is_same<decltype(lrint((unsigned int)0)), long>::value), ""); in test_lrint() 1236 static_assert((std::is_same<decltype(lrint((long)0)), long>::value), ""); in test_lrint() 1237 static_assert((std::is_same<decltype(lrint((unsigned long)0)), long>::value), ""); in test_lrint() 1238 static_assert((std::is_same<decltype(lrint((long long)0)), long>::value), ""); in test_lrint() 1240 static_assert((std::is_same<decltype(lrint((double)0)), long>::value), ""); in test_lrint() 1241 static_assert((std::is_same<decltype(lrint((long double)0)), long>::value), ""); in test_lrint() [all …]
|