Home
last modified time | relevance | path

Searched refs:ceil (Results 1 – 25 of 358) sorted by relevance

12345678910>>...15

/llvm-project-15.0.7/llvm/test/Transforms/InstCombine/
H A Dceil.ll3 declare float @llvm.ceil.f32(float) #0
4 declare double @llvm.ceil.f64(double) #0
5 declare <4 x float> @llvm.ceil.v4f32(<4 x float>) #0
10 %x = call float @llvm.ceil.f32(float 1.00) #0
17 %x = call float @llvm.ceil.f32(float 1.25) #0
24 %x = call float @llvm.ceil.f32(float -1.25) #0
31 …%x = call <4 x float> @llvm.ceil.v4f32(<4 x float> <float 1.00, float 1.25, float -1.25, float -1.…
38 %x = call double @llvm.ceil.f64(double 1.0) #0
45 %x = call double @llvm.ceil.f64(double 1.3) #0
52 %x = call double @llvm.ceil.f64(double -1.75) #0
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/
H A Dnarrowing-conversions.cpp7 float ceil(float);
9 double ceil(double);
299 i = std::ceil(0.5); in ok()
302 using std::ceil; in ok()
303 i = ceil(0.5f); in ok()
305 i = ceil(0.5f); in ok()
314 i += std::ceil(0.5); in ok_binary_ops()
317 using std::ceil; in ok_binary_ops()
318 i += ceil(0.5f); in ok_binary_ops()
320 i += ceil(0.5f); in ok_binary_ops()
/llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/
H A Dfceil64.ll5 declare double @llvm.ceil.f64(double) nounwind readnone
6 declare <2 x double> @llvm.ceil.v2f64(<2 x double>) nounwind readnone
7 declare <3 x double> @llvm.ceil.v3f64(<3 x double>) nounwind readnone
8 declare <4 x double> @llvm.ceil.v4f64(<4 x double>) nounwind readnone
9 declare <8 x double> @llvm.ceil.v8f64(<8 x double>) nounwind readnone
10 declare <16 x double> @llvm.ceil.v16f64(<16 x double>) nounwind readnone
34 %y = call double @llvm.ceil.f64(double %x) nounwind readnone
43 %y = call <2 x double> @llvm.ceil.v2f64(<2 x double> %x) nounwind readnone
53 ; %y = call <3 x double> @llvm.ceil.v3f64(<3 x double> %x) nounwind readnone
64 %y = call <4 x double> @llvm.ceil.v4f64(<4 x double> %x) nounwind readnone
[all …]
H A Dfceil.ll5 declare float @llvm.ceil.f32(float) nounwind readnone
6 declare <2 x float> @llvm.ceil.v2f32(<2 x float>) nounwind readnone
7 declare <3 x float> @llvm.ceil.v3f32(<3 x float>) nounwind readnone
8 declare <4 x float> @llvm.ceil.v4f32(<4 x float>) nounwind readnone
9 declare <8 x float> @llvm.ceil.v8f32(<8 x float>) nounwind readnone
10 declare <16 x float> @llvm.ceil.v16f32(<16 x float>) nounwind readnone
17 %y = call float @llvm.ceil.f32(float %x) nounwind readnone
29 %y = call <2 x float> @llvm.ceil.v2f32(<2 x float> %x) nounwind readnone
45 %y = call <3 x float> @llvm.ceil.v3f32(<3 x float> %x) nounwind readnone
61 %y = call <4 x float> @llvm.ceil.v4f32(<4 x float> %x) nounwind readnone
[all …]
/llvm-project-15.0.7/llvm/test/Analysis/CostModel/AMDGPU/
H A Dfround.ll13 define i32 @ceil(i32 %arg) {
14 ; FAST-LABEL: 'ceil'
25 ; SLOW-LABEL: 'ceil'
36 ; FAST-SIZE-LABEL: 'ceil'
47 ; SLOW-SIZE-LABEL: 'ceil'
58 %F32 = call float @llvm.ceil.f32(float undef)
63 %F64 = call double @llvm.ceil.f64(double undef)
259 declare float @llvm.ceil.f32(float)
260 declare <4 x float> @llvm.ceil.v4f32(<4 x float>)
261 declare <8 x float> @llvm.ceil.v8f32(<8 x float>)
[all …]
/llvm-project-15.0.7/llvm/test/CodeGen/PowerPC/
H A Daix-external-sym-sdnode-lowering.ll11 %0 = call double @llvm.ceil.f64(double %n)
15 declare double @llvm.ceil.f64(double)
17 ; 32BIT: BL_NOP &".ceil[PR]"
18 ; 64BIT: BL8_NOP &".ceil[PR]"
H A Dvec_rounding.ll31 declare <2 x double> @llvm.ceil.v2f64(<2 x double> %p)
34 %t = call <2 x double> @llvm.ceil.v2f64(<2 x double> %p)
41 declare <4 x double> @llvm.ceil.v4f64(<4 x double> %p)
44 %t = call <4 x double> @llvm.ceil.v4f64(<4 x double> %p)
117 declare <4 x float> @llvm.ceil.v4f32(<4 x float> %p)
120 %t = call <4 x float> @llvm.ceil.v4f32(<4 x float> %p)
126 declare <8 x float> @llvm.ceil.v8f32(<8 x float> %p)
129 %t = call <8 x float> @llvm.ceil.v8f32(<8 x float> %p)
/llvm-project-15.0.7/llvm/test/CodeGen/Mips/
H A Dcall-optimization.ll56 ; O32-DAG: lw $25, %call16(ceil)
60 ; O32: lw $25, %call16(ceil)
64 ; O32: lw $25, %call16(ceil)
69 ; O32-LOADTGT-DAG: lw $25, %call16(ceil)
83 %call = tail call double @ceil(double %d)
84 %call1 = tail call double @ceil(double %call)
86 %call2 = tail call double @ceil(double %call1)
91 declare double @ceil(double)
/llvm-project-15.0.7/libcxx/test/std/time/time.duration/time.duration.cast/
H A Dceil.pass.cpp31 typedef decltype(std::chrono::ceil<ToDuration>(f)) R; in test()
33 assert(std::chrono::ceil<ToDuration>(f) == d); in test()
47 …constexpr std::chrono::hours h1 = std::chrono::ceil<std::chrono::hours>(std::chrono::milliseconds(… in main()
49 …constexpr std::chrono::hours h2 = std::chrono::ceil<std::chrono::hours>(std::chrono::milliseconds(… in main()
/llvm-project-15.0.7/llvm/test/Analysis/CostModel/X86/
H A Dfround.ll16 define i32 @ceil(i32 %arg) {
17 ; SSE2-LABEL: 'ceil'
28 ; SSE42-LABEL: 'ceil'
39 ; AVX-LABEL: 'ceil'
50 ; AVX512-LABEL: 'ceil'
61 %F32 = call float @llvm.ceil.f32(float undef)
66 %F64 = call double @llvm.ceil.f64(double undef)
306 declare float @llvm.ceil.f32(float)
307 declare <4 x float> @llvm.ceil.v4f32(<4 x float>)
308 declare <8 x float> @llvm.ceil.v8f32(<8 x float>)
[all …]
/llvm-project-15.0.7/llvm/test/CodeGen/RISCV/rvv/
H A Dfceil-sdnode.ll25 %a = call <vscale x 1 x half> @llvm.ceil.nxv1f16(<vscale x 1 x half> %x)
28 declare <vscale x 1 x half> @llvm.ceil.nxv1f16(<vscale x 1 x half>)
51 declare <vscale x 2 x half> @llvm.ceil.nxv2f16(<vscale x 2 x half>)
74 declare <vscale x 4 x half> @llvm.ceil.nxv4f16(<vscale x 4 x half>)
97 declare <vscale x 8 x half> @llvm.ceil.nxv8f16(<vscale x 8 x half>)
120 declare <vscale x 16 x half> @llvm.ceil.nxv16f16(<vscale x 16 x half>)
143 declare <vscale x 32 x half> @llvm.ceil.nxv32f16(<vscale x 32 x half>)
166 declare <vscale x 1 x float> @llvm.ceil.nxv1f32(<vscale x 1 x float>)
189 declare <vscale x 2 x float> @llvm.ceil.nxv2f32(<vscale x 2 x float>)
212 declare <vscale x 4 x float> @llvm.ceil.nxv4f32(<vscale x 4 x float>)
[all …]
/llvm-project-15.0.7/libcxx/test/std/numerics/bit/bit.pow.two/
H A Dbit_ceil.pass.cpp59 T ceil = 256; in test() local
61 assert(std::bit_ceil(val) == ceil); in test()
62 assert(std::bit_ceil(val << 32) == (ceil << 32)); in test()
63 assert(std::bit_ceil((val << 64) | 0x1) == (ceil << 64)); in test()
64 assert(std::bit_ceil((val << 72) | 0x1) == (ceil << 72)); in test()
65 assert(std::bit_ceil((val << 100) | 0x1) == (ceil << 100)); in test()
/llvm-project-15.0.7/llvm/test/CodeGen/AArch64/GlobalISel/
H A Dlegalize-ceil.mir4 define <8 x half> @test_v8f16.ceil(<8 x half> %a) {
8 define <4 x half> @test_v4f16.ceil(<4 x half> %a) {
14 name: test_v8f16.ceil
23 ; CHECK-LABEL: name: test_v8f16.ceil
57 name: test_v4f16.ceil
66 ; CHECK-LABEL: name: test_v4f16.ceil
/llvm-project-15.0.7/llvm/test/CodeGen/ARM/
H A Dno-tail-call.ll8 declare float @llvm.ceil.f32(float)
10 ; Check that we are not emitting a tail call for the last call to ceil.
38 %5 = call float @llvm.ceil.f32(float 5.000000e+00)
42 %7 = call float @llvm.ceil.f32(float %6)
48 ; Check that we are not emitting a tail call for the last call to ceil.
76 %5 = call float @llvm.ceil.f32(float 5.000000e+00)
80 %7 = call float @llvm.ceil.f32(float %6)
/llvm-project-15.0.7/llvm/test/CodeGen/SystemZ/
H A Dfp-round-01.ll101 ; Test ceil for f32.
102 declare float @llvm.ceil.f32(float %f)
107 %res = call float @llvm.ceil.f32(float %f)
111 ; Test ceil for f64.
112 declare double @llvm.ceil.f64(double %f)
115 ; CHECK: brasl %r14, ceil@PLT
117 %res = call double @llvm.ceil.f64(double %f)
121 ; Test ceil for f128.
122 declare fp128 @llvm.ceil.f128(fp128 %f)
128 %res = call fp128 @llvm.ceil.f128(fp128 %src)
H A Dfp-round-02.ll105 ; Test ceil for f32.
106 declare float @llvm.ceil.f32(float %f)
111 %res = call float @llvm.ceil.f32(float %f)
115 ; Test ceil for f64.
116 declare double @llvm.ceil.f64(double %f)
121 %res = call double @llvm.ceil.f64(double %f)
125 ; Test ceil for f128.
126 declare fp128 @llvm.ceil.f128(fp128 %f)
132 %res = call fp128 @llvm.ceil.f128(fp128 %src)
H A Dfp-strict-round-01.ll125 ; Test ceil for f32.
126 declare float @llvm.experimental.constrained.ceil.f32(float, metadata)
131 %res = call float @llvm.experimental.constrained.ceil.f32(
137 ; Test ceil for f64.
138 declare double @llvm.experimental.constrained.ceil.f64(double, metadata)
141 ; CHECK: brasl %r14, ceil@PLT
143 %res = call double @llvm.experimental.constrained.ceil.f64(
149 ; Test ceil for f128.
150 declare fp128 @llvm.experimental.constrained.ceil.f128(fp128, metadata)
156 %res = call fp128 @llvm.experimental.constrained.ceil.f128(
H A Dfp-round-03.ll107 ; Test ceil for f32.
108 declare float @llvm.ceil.f32(float %f)
113 %res = call float @llvm.ceil.f32(float %f)
117 ; Test ceil for f64.
118 declare double @llvm.ceil.f64(double %f)
123 %res = call double @llvm.ceil.f64(double %f)
127 ; Test ceil for f128.
128 declare fp128 @llvm.ceil.f128(fp128 %f)
136 %res = call fp128 @llvm.ceil.f128(fp128 %src)
H A Dfp-strict-round-03.ll131 ; Test ceil for f32.
132 declare float @llvm.experimental.constrained.ceil.f32(float, metadata)
137 %res = call float @llvm.experimental.constrained.ceil.f32(
143 ; Test ceil for f64.
144 declare double @llvm.experimental.constrained.ceil.f64(double, metadata)
149 %res = call double @llvm.experimental.constrained.ceil.f64(
155 ; Test ceil for f128.
156 declare fp128 @llvm.experimental.constrained.ceil.f128(fp128, metadata)
164 %res = call fp128 @llvm.experimental.constrained.ceil.f128(
/llvm-project-15.0.7/llvm/test/Transforms/SLPVectorizer/X86/
H A Dalternate-calls.ll13 ; SSE-NEXT: [[AB0:%.*]] = call float @llvm.ceil.f32(float [[A0]])
16 ; SSE-NEXT: [[AB3:%.*]] = call float @llvm.ceil.f32(float [[A3]])
34 ; SLM-NEXT: [[AB0:%.*]] = call float @llvm.ceil.f32(float [[A0]])
37 ; SLM-NEXT: [[AB3:%.*]] = call float @llvm.ceil.f32(float [[A3]])
55 ; AVX-NEXT: [[AB0:%.*]] = call float @llvm.ceil.f32(float [[A0]])
58 ; AVX-NEXT: [[AB3:%.*]] = call float @llvm.ceil.f32(float [[A3]])
81 %ab0 = call float @llvm.ceil.f32(float %a0)
84 %ab3 = call float @llvm.ceil.f32(float %a3)
85 %ab4 = call float @llvm.ceil.f32(float %a4)
86 %ab5 = call float @llvm.ceil.f32(float %a5)
[all …]
H A Dalternate-calls-inseltpoison.ll13 ; SSE-NEXT: [[AB0:%.*]] = call float @llvm.ceil.f32(float [[A0]])
16 ; SSE-NEXT: [[AB3:%.*]] = call float @llvm.ceil.f32(float [[A3]])
34 ; SLM-NEXT: [[AB0:%.*]] = call float @llvm.ceil.f32(float [[A0]])
37 ; SLM-NEXT: [[AB3:%.*]] = call float @llvm.ceil.f32(float [[A3]])
55 ; AVX-NEXT: [[AB0:%.*]] = call float @llvm.ceil.f32(float [[A0]])
58 ; AVX-NEXT: [[AB3:%.*]] = call float @llvm.ceil.f32(float [[A3]])
81 %ab0 = call float @llvm.ceil.f32(float %a0)
84 %ab3 = call float @llvm.ceil.f32(float %a3)
85 %ab4 = call float @llvm.ceil.f32(float %a4)
86 %ab5 = call float @llvm.ceil.f32(float %a5)
[all …]
/llvm-project-15.0.7/libc/src/math/aarch64/
H A DCMakeLists.txt2 ceil
4 ceil.cpp
6 ../ceil.h
/llvm-project-15.0.7/llvm/test/CodeGen/Mips/GlobalISel/llvm-ir/
H A Dceil_and_floor.ll7 declare float @llvm.ceil.f32(float)
22 %0 = call float @llvm.ceil.f32(float %a)
26 declare double @llvm.ceil.f64(double)
34 ; CHECK-NEXT: jal ceil
41 %0 = call double @llvm.ceil.f64(double %a)
/llvm-project-15.0.7/llvm/test/ExecutionEngine/Interpreter/
H A Dintrinsics.ll10 declare float @llvm.ceil.f32(float)
11 declare double @llvm.ceil.f64(double)
28 %ceil32 = call float @llvm.ceil.f32(float 0.000000e+00)
29 %ceil64 = call double @llvm.ceil.f64(double 0.000000e+00)
/llvm-project-15.0.7/libc/src/math/generic/
H A Dceil.cpp15 LLVM_LIBC_FUNCTION(double, ceil, (double x)) { return fputil::ceil(x); }

12345678910>>...15