Home
last modified time | relevance | path

Searched refs:llround (Results 1 – 25 of 73) sorted by relevance

123

/llvm-project-15.0.7/llvm/test/CodeGen/AArch64/GlobalISel/
H A Dregbank-llround.mir16 ; 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 Dlegalize-llround.mir14 ; 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 Dllround-conv.ll7 %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 Dscalar-rounding-ops.ll267 ; 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 Dllround-conv.ll7 %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 Dllround-conv.ll8 %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 Dllround-conv-fp16.ll8 %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 Dllround-conv.ll10 %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 Dllround-conv.ll33 %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 Dfp80-strict-libcalls.ll607 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 Dllround-conv-i32.ll13 %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 Drv64zfh-half-intrinsics.ll27 declare i64 @llvm.llround.i64.f16(half)
39 %1 = call i64 @llvm.llround.i64.f16(half %a)
H A Drv64zfh-half-intrinsics-strict.ll27 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 Dtype-promotion-in-math-fn.cpp59 long long llround(double);
158 llround(a); in check_all_fns()
/llvm-project-15.0.7/libc/test/src/math/
H A Dllround_test.cpp13 LIST_ROUND_TO_INTEGER_TESTS(double, long long, __llvm_libc::llround)
/llvm-project-15.0.7/libc/src/math/
H A Dllround.h14 long long llround(double x);
H A DCMakeLists.txt140 add_math_entrypoint_object(llround)
/llvm-project-15.0.7/libc/src/math/generic/
H A Dllround.cpp15 LLVM_LIBC_FUNCTION(long long, llround, (double x)) {
/llvm-project-15.0.7/llvm/test/Feature/
H A Dfp-intrinsics.ll356 ; 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 Dcmath116 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.h138 __DEVICE__ long long llround(float); // No llround(double).
251 using ::llround;
H A D__clang_cuda_cmath.h284 __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 Dmath_h.pass.cpp83 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 Dlibcall-declarations.c112 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 Dcmath.pass.cpp86 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 …]

123