Home
last modified time | relevance | path

Searched refs:lrint (Results 1 – 25 of 79) sorted by relevance

1234

/llvm-project-15.0.7/llvm/test/CodeGen/PowerPC/
H A Dlrint-conv.ll7 %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 Dpr43527.ll4 ; 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 Dscalar-rounding-ops.ll19 ; 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 Dlrint-conv.ll7 %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 Dlrint-conv.ll11 %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 Dlrint-conv-win.ll10 %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 Dlrint-conv-fp16.ll9 %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 Dlrint-conv-fp16-win.ll9 %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 Dlrint-conv.ll10 %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 Dlrint-conv-i64.ll17 %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 Dlrint-conv-i32.ll42 %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 Dpr1489.ll52 %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 Dasm-label.c32 long lrint(double x) asm("__GI_lrint");
34 return lrint(x); in test_lrint()
H A Dlibcall-declarations.c130 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 Dfast-math-flags.ll6 %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.h134 __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 Dtype-promotion-in-math-fn.cpp40 long lrint(double);
176 lrint(a); in check_all_fns()
/llvm-project-15.0.7/libc/test/src/math/
H A Dlrint_test.cpp13 LIST_ROUND_TO_INTEGER_TESTS_WITH_MODES(double, long, __llvm_libc::lrint)
/llvm-project-15.0.7/libc/src/math/
H A Dlrint.h14 long lrint(double x);
/llvm-project-15.0.7/libc/src/math/generic/
H A Dlrint.cpp15 LLVM_LIBC_FUNCTION(long, lrint, (double x)) {
/llvm-project-15.0.7/llvm/test/CodeGen/RISCV/
H A Dzfh-half-intrinsics.ll17 declare iXLen @llvm.lrint.iXLen.f16(half)
39 %1 = call iXLen @llvm.lrint.iXLen.f16(half %a)
H A Dzfh-half-intrinsics-strict.ll15 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 Dfp-intrinsics.ll292 ; 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 Dcmath112 long lrint(double);
113 long lrint(float);
206 using ::lrint;
/llvm-project-15.0.7/libcxx/test/std/depr/depr.c.headers/
H A Dmath_h.pass.cpp87 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 …]

1234