| /llvm-project-15.0.7/llvm/test/CodeGen/AArch64/GlobalISel/ |
| H A D | select-frint.mir | 6 name: test_f16.rint 16 ; CHECK-LABEL: name: test_f16.rint 29 name: test_f32.rint 39 ; CHECK-LABEL: name: test_f32.rint 52 name: test_f64.rint 62 ; CHECK-LABEL: name: test_f64.rint 75 name: test_v4f32.rint 98 name: test_v2f64.rint 121 name: test_v4f16.rint 144 name: test_v8f16.rint [all …]
|
| H A D | legalize-frint.mir | 5 name: test_f16.rint 20 name: test_f32.rint 28 ; NOFP16-LABEL: name: test_f32.rint 34 ; FP16-LABEL: name: test_f32.rint 47 name: test_f64.rint 61 ; FP16-LABEL: name: test_f64.rint 74 name: test_v4f32.rint 101 name: test_v2f64.rint 128 name: test_v4f16.rint 168 name: test_v8f16.rint [all …]
|
| H A D | select-frint-nofp16.mir | 6 name: test_f16.rint 16 ; CHECK-LABEL: name: test_f16.rint 34 name: test_v4f16.rint 44 ; CHECK-LABEL: name: test_v4f16.rint 104 name: test_v8f16.rint 114 ; CHECK-LABEL: name: test_v8f16.rint
|
| /llvm-project-15.0.7/llvm/test/Transforms/InstSimplify/ConstProp/ |
| H A D | rint.ll | 9 declare float @llvm.rint.f32(float) 10 declare double @rint(double) #0 11 declare double @llvm.rint.f64(double) 41 %x = call float @llvm.rint.f32(float -1.5) #0 65 %x = call double @rint(double 1.3) #0 73 %x = call double @llvm.rint.f64(double -1.3) #0 97 %x = call double @rint(double 2.7) #0 105 %x = call double @llvm.rint.f64(double -2.7) #0
|
| /llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/ |
| H A D | llvm.rint.ll | 11 %0 = call float @llvm.rint.f32(float %in) #0 24 %0 = call <2 x float> @llvm.rint.v2f32(<2 x float> %in) #0 41 %0 = call <4 x float> @llvm.rint.v4f32(<4 x float> %in) #0 46 declare float @llvm.rint.f32(float) #0 47 declare <2 x float> @llvm.rint.v2f32(<2 x float>) #0 48 declare <4 x float> @llvm.rint.v4f32(<4 x float>) #0
|
| H A D | llvm.rint.f64.ll | 16 %0 = call double @llvm.rint.f64(double %in) 26 %0 = call <2 x double> @llvm.rint.v2f64(<2 x double> %in) 38 %0 = call <4 x double> @llvm.rint.v4f64(<4 x double> %in) 44 declare double @llvm.rint.f64(double) #0 45 declare <2 x double> @llvm.rint.v2f64(<2 x double>) #0 46 declare <4 x double> @llvm.rint.v4f64(<4 x double>) #0
|
| H A D | combine-ftrunc.ll | 8 %round = tail call double @llvm.rint.f64(double %v) 19 %round = tail call float @llvm.rint.f32(float %v) 33 %round = tail call <2 x float> @llvm.rint.v2f32(<2 x float> %v) 87 declare double @llvm.rint.f64(double) 88 declare float @llvm.rint.f32(float) 89 declare <2 x float> @llvm.rint.v2f32(<2 x float>)
|
| H A D | llvm.rint.f16.ll | 5 declare half @llvm.rint.f16(half %a) 6 declare <2 x half> @llvm.rint.v2f16(<2 x half> %a) 21 %r.val = call half @llvm.rint.f16(half %a.val) 56 %r.val = call <2 x half> @llvm.rint.v2f16(<2 x half> %a.val)
|
| /llvm-project-15.0.7/llvm/test/Analysis/CostModel/AMDGPU/ |
| H A D | fround.ll | 143 define i32 @rint(i32 %arg) { 144 ; FAST-LABEL: 'rint' 155 ; SLOW-LABEL: 'rint' 166 ; FAST-SIZE-LABEL: 'rint' 177 ; SLOW-SIZE-LABEL: 'rint' 188 %F32 = call float @llvm.rint.f32(float undef) 193 %F64 = call double @llvm.rint.f64(double undef) 289 declare float @llvm.rint.f32(float) 290 declare <4 x float> @llvm.rint.v4f32(<4 x float>) 291 declare <8 x float> @llvm.rint.v8f32(<8 x float>) [all …]
|
| /llvm-project-15.0.7/llvm/test/Analysis/CostModel/X86/ |
| H A D | fround.ll | 190 define i32 @rint(i32 %arg) { 191 ; SSE2-LABEL: 'rint' 202 ; SSE42-LABEL: 'rint' 213 ; AVX-LABEL: 'rint' 224 ; AVX512-LABEL: 'rint' 235 %F32 = call float @llvm.rint.f32(float undef) 240 %F64 = call double @llvm.rint.f64(double undef) 336 declare float @llvm.rint.f32(float) 337 declare <4 x float> @llvm.rint.v4f32(<4 x float>) 338 declare <8 x float> @llvm.rint.v8f32(<8 x float>) [all …]
|
| /llvm-project-15.0.7/llvm/test/CodeGen/PowerPC/ |
| H A D | vector-rounding-ops.ll | 20 %0 = tail call <2 x double> @llvm.rint.v2f64(<2 x double> %d) 24 declare <2 x double> @llvm.rint.v2f64(<2 x double>) 38 %0 = tail call <4 x float> @llvm.rint.v4f32(<4 x float> %d) 42 declare <4 x float> @llvm.rint.v4f32(<4 x float>)
|
| /llvm-project-15.0.7/llvm/test/CodeGen/SystemZ/ |
| H A D | fp-round-01.ll | 5 ; Test rint for f32. 6 declare float @llvm.rint.f32(float %f) 11 %res = call float @llvm.rint.f32(float %f) 15 ; Test rint for f64. 16 declare double @llvm.rint.f64(double %f) 21 %res = call double @llvm.rint.f64(double %f) 25 ; Test rint for f128. 26 declare fp128 @llvm.rint.f128(fp128 %f) 32 %res = call fp128 @llvm.rint.f128(fp128 %src)
|
| H A D | fp-round-02.ll | 8 ; Test rint for f32. 9 declare float @llvm.rint.f32(float %f) 14 %res = call float @llvm.rint.f32(float %f) 18 ; Test rint for f64. 19 declare double @llvm.rint.f64(double %f) 25 %res = call double @llvm.rint.f64(double %f) 29 ; Test rint for f128. 30 declare fp128 @llvm.rint.f128(fp128 %f) 36 %res = call fp128 @llvm.rint.f128(fp128 %src)
|
| H A D | fp-round-03.ll | 5 ; Test rint for f32. 6 declare float @llvm.rint.f32(float %f) 11 %res = call float @llvm.rint.f32(float %f) 15 ; Test rint for f64. 16 declare double @llvm.rint.f64(double %f) 21 %res = call double @llvm.rint.f64(double %f) 25 ; Test rint for f128. 26 declare fp128 @llvm.rint.f128(fp128 %f) 34 %res = call fp128 @llvm.rint.f128(fp128 %src)
|
| H A D | fp-strict-round-01.ll | 5 ; Test rint for f32. 6 declare float @llvm.experimental.constrained.rint.f32(float, metadata, metadata) 11 %res = call float @llvm.experimental.constrained.rint.f32( 18 ; Test rint for f64. 19 declare double @llvm.experimental.constrained.rint.f64(double, metadata, metadata) 24 %res = call double @llvm.experimental.constrained.rint.f64( 31 ; Test rint for f128. 32 declare fp128 @llvm.experimental.constrained.rint.f128(fp128, metadata, metadata) 38 %res = call fp128 @llvm.experimental.constrained.rint.f128(
|
| H A D | fp-strict-round-03.ll | 5 ; Test rint for f32. 6 declare float @llvm.experimental.constrained.rint.f32(float, metadata, metadata) 11 %res = call float @llvm.experimental.constrained.rint.f32( 18 ; Test rint for f64. 19 declare double @llvm.experimental.constrained.rint.f64(double, metadata, metadata) 24 %res = call double @llvm.experimental.constrained.rint.f64( 31 ; Test rint for f128. 32 declare fp128 @llvm.experimental.constrained.rint.f128(fp128, metadata, metadata) 40 %res = call fp128 @llvm.experimental.constrained.rint.f128(
|
| H A D | fp-strict-round-02.ll | 8 ; Test rint for f32. 9 declare float @llvm.experimental.constrained.rint.f32(float, metadata, metadata) 14 %res = call float @llvm.experimental.constrained.rint.f32( 21 ; Test rint for f64. 22 declare double @llvm.experimental.constrained.rint.f64(double, metadata, metadata) 28 %res = call double @llvm.experimental.constrained.rint.f64( 35 ; Test rint for f128. 36 declare fp128 @llvm.experimental.constrained.rint.f128(fp128, metadata, metadata) 42 %res = call fp128 @llvm.experimental.constrained.rint.f128(
|
| H A D | vec-round-01.ll | 5 declare double @llvm.rint.f64(double) 11 declare <2 x double> @llvm.rint.v2f64(<2 x double>) 22 %res = call <2 x double> @llvm.rint.v2f64(<2 x double> %val) 71 %res = call double @llvm.rint.f64(double %scalar)
|
| H A D | vec-round-02.ll | 5 declare float @llvm.rint.f32(float) 11 declare <4 x float> @llvm.rint.v4f32(<4 x float>) 22 %res = call <4 x float> @llvm.rint.v4f32(<4 x float> %val) 71 %res = call float @llvm.rint.f32(float %scalar)
|
| /llvm-project-15.0.7/llvm/test/Transforms/InstSimplify/ |
| H A D | round-intrinsics.ll | 120 %rint = call float @llvm.rint.f32(float %cvt) 121 ret float %rint 130 %rint = call float @llvm.rint.f32(float %cvt) 131 ret float %rint 140 declare float @llvm.rint.f32(float) #0
|
| /llvm-project-15.0.7/llvm/test/CodeGen/ARM/ |
| H A D | vfloatintrinsics.ll | 98 ; CHECK-LABEL: test_v2f32.rint:{{.*}} 99 define %v2f32 @test_v2f32.rint(%v2f32 %a) { 100 ; CHECK: rint 126 declare %v2f32 @llvm.rint.v2f32(%v2f32) #0 222 ; CHECK-LABEL: test_v4f32.rint:{{.*}} 223 define %v4f32 @test_v4f32.rint(%v4f32 %a) { 224 ; CHECK: rint 250 declare %v4f32 @llvm.rint.v4f32(%v4f32) #0 347 ; CHECK-LABEL: test_v2f64.rint:{{.*}} 349 ; CHECK: rint [all …]
|
| /llvm-project-15.0.7/libclc/generic/lib/math/ |
| H A D | rint.cl | 5 #define __CLC_INTRINSIC "llvm.rint" 9 #define __CLC_FUNCTION rint
|
| /llvm-project-15.0.7/llvm/test/CodeGen/X86/ |
| H A D | avx512fp16-rndscale.ll | 128 declare <8 x half> @llvm.rint.v8f16(<8 x half>) 129 declare <16 x half> @llvm.rint.v16f16(<16 x half>) 130 declare <32 x half> @llvm.rint.v32f16(<32 x half>) 137 %t = call <8 x half> @llvm.rint.v8f16(<8 x half> %p) 146 %t = call <16 x half> @llvm.rint.v16f16(<16 x half> %p) 155 %t = call <32 x half> @llvm.rint.v32f16(<32 x half> %p)
|
| /llvm-project-15.0.7/llvm/test/CodeGen/AArch64/ |
| H A D | arm64-vfloatintrinsics.ll | 203 ; FALLBACK-NOT: remark{{.*}}test_v4f16.rint 204 define %v4f16 @test_v4f16.rint(%v4f16 %a) { 205 ; CHECK-LABEL: test_v4f16.rint: 210 ; GISEL-LABEL: test_v4f16.rint: 278 declare %v4f16 @llvm.rint.v4f16(%v4f16) #0 695 ; CHECK-LABEL: test_v2f32.rint: 697 ; GISEL-LABEL: test_v2f32.rint: 872 ; CHECK: test_v4f32.rint: 874 ; GISEL: test_v4f32.rint: 1049 ; CHECK: test_v2f64.rint: [all …]
|
| /llvm-project-15.0.7/llvm/test/Transforms/LICM/ |
| H A D | hoist-round.ll | 6 ; This test verifies that ceil, floor, nearbyint, trunc, rint, round, 14 ; CHECK: call float @llvm.rint.f32 38 %tmp.4 = call float @llvm.rint.f32(float %tmp.3) 62 declare float @llvm.rint.f32(float)
|