Home
last modified time | relevance | path

Searched refs:f32 (Results 1 – 25 of 4001) sorted by relevance

12345678910>>...161

/llvm-project-15.0.7/mlir/test/Dialect/Complex/
H A Dcanonicalize.mlir16 %cplx: complex<f32>, %cplx2 : complex<f32>) -> complex<f32> {
30 %complex = complex.constant [1.0 : f32, 0.0 : f32] : complex<f32>
50 %complex = complex.constant [1.0 : f32, 0.0 : f32] : complex<f32>
68 %complex1 = complex.constant [1.0 : f32, 0.0 : f32] : complex<f32>
69 %complex2 = complex.constant [0.0 : f32, 2.0 : f32] : complex<f32>
70 // CHECK: %[[CPLX:.*]] = complex.constant [1.000000e+00 : f32, 0.000000e+00 : f32] : complex<f32>
79 %complex1 = complex.constant [1.0 : f32, 0.0 : f32] : complex<f32>
80 %complex2 = complex.constant [0.0 : f32, 2.0 : f32] : complex<f32>
90 %complex1 = complex.constant [1.0 : f32, 0.0 : f32] : complex<f32>
100 %complex1 = complex.constant [1.0 : f32, 0.0 : f32] : complex<f32>
[all …]
H A Dops.mlir6 // CHECK-SAME: %[[F:.*]]: f32) {
7 func.func @ops(%f: f32) {
11 // CHECK: complex.constant [1.{{.*}} : f32, -1.{{.*}} : f32] : complex<f32>
12 %cst_f32 = complex.constant [0.1 : f32, -1.0 : f32] : complex<f32>
17 // CHECK: complex.re %[[C]] : complex<f32>
18 %real = complex.re %complex : complex<f32>
20 // CHECK: complex.im %[[C]] : complex<f32>
21 %imag = complex.im %complex : complex<f32>
23 // CHECK: complex.abs %[[C]] : complex<f32>
24 %abs = complex.abs %complex : complex<f32>
[all …]
/llvm-project-15.0.7/mlir/test/Conversion/ComplexToStandard/
H A Dconvert-to-standard.mlir6 func.func @complex_abs(%arg: complex<f32>) -> f32 {
8 return %abs : f32
22 %rhs: complex<f32>) -> complex<f32> {
30 // CHECK-SAME: (%[[LHS:.*]]: complex<f32>, %[[RHS:.*]]: complex<f32>)
31 func.func @complex_add(%lhs: complex<f32>, %rhs: complex<f32>) -> complex<f32> {
48 func.func @complex_cos(%arg: complex<f32>) -> complex<f32> {
71 func.func @complex_div(%lhs: complex<f32>, %rhs: complex<f32>) -> complex<f32> {
199 func.func @complex_exp(%arg: complex<f32>) -> complex<f32> {
287 func.func @complex_mul(%lhs: complex<f32>, %rhs: complex<f32>) -> complex<f32> {
488 func.func @complex_sub(%lhs: complex<f32>, %rhs: complex<f32>) -> complex<f32> {
[all …]
/llvm-project-15.0.7/mlir/test/Dialect/Linalg/
H A Ddetensorize_0d.mlir8 ins(%arg1, %arg2 : tensor<f32>, tensor<f32>)
10 ^bb0(%arg3: f32, %arg4: f32, %arg5: f32):
27 ins(%arg1, %arg2 : tensor<f32>, tensor<f32>)
29 ^bb0(%arg3: f32, %arg4: f32, %arg5: f32):
36 ins(%arg1, %1 : tensor<f32>, tensor<f32>)
38 ^bb0(%arg3: f32, %arg4: f32, %arg5: f32):
45 ins(%1, %4 : tensor<f32>, tensor<f32>)
47 ^bb0(%arg3: f32, %arg4: f32, %arg5: f32):
69 ^bb0(%arg3: f32, %arg4: f32, %arg5: f32):
90 ^bb0(%arg3: f32, %arg4: f32, %arg5: f32):
[all …]
H A Dforward-vector-transfers.mlir10 func.func @testAllocRead(%in: memref<? x f32>) -> vector<32 x f32> {
15 memref.copy %in, %subview : memref<? x f32> to memref<16 x f32>
32 linalg.fill ins(%f0 : f32) outs(%alloc : memref<32 x f32>)
34 memref.copy %in, %subview : memref<? x f32> to memref<16 x f32>
47 func.func @testViewRead(%in: memref<? x f32>) -> vector<32 x f32> {
53 memref.copy %in, %subview : memref<? x f32> to memref<16 x f32>
72 linalg.fill ins(%f0 : f32) outs(%view : memref<32 x f32>)
73 memref.copy %in, %subview : memref<? x f32> to memref<16 x f32>
92 memref.copy %subview, %out : memref<16 x f32> to memref<? x f32>
132 linalg.fill ins(%f0 : f32) outs(%alloc : memref<32 x f32>)
[all …]
/llvm-project-15.0.7/llvm/test/MC/ARM/
H A Dthumb-neon-v8.s3 vmaxnm.f32 d4, d5, d1
5 vmaxnm.f32 q2, q4, q6
7 vminnm.f32 d5, d4, d30
12 vcvta.s32.f32 d4, d6
48 vrintn.f32 d3, d0
50 vrintn.f32 q1, q4
74 vrintn.f32.f32 d3, d0
76 vrintx.f32.f32 q0, q3
78 vrinta.f32.f32 d3, d0
80 vrintz.f32.f32 q9, q4
[all …]
H A Dneon-v8.s3 vmaxnm.f32 d4, d5, d1
5 vmaxnm.f32 q2, q4, q6
7 vminnm.f32 d5, d4, d30
12 vcvta.s32.f32 d4, d6
48 vrintn.f32 d3, d0
50 vrintn.f32 q1, q4
74 vrintn.f32.f32 d3, d0
76 vrintx.f32.f32 q0, q3
78 vrinta.f32.f32 d3, d0
80 vrintz.f32.f32 q9, q4
[all …]
H A Dneon-convert-encoding.s4 vcvt.s32.f32 d16, d16
6 vcvt.u32.f32 d16, d16
8 vcvt.f32.s32 d16, d16
10 vcvt.f32.u32 d16, d16
12 vcvt.s32.f32 q8, q8
14 vcvt.u32.f32 q8, q8
16 vcvt.f32.s32 q8, q8
18 vcvt.f32.u32 q8, q8
36 vcvt.s32.f32 q8, q8, #1
52 vcvt.f32.f16 q8, d16
[all …]
H A Dneont2-convert-encoding.s6 vcvt.s32.f32 d16, d16
8 vcvt.u32.f32 d16, d16
10 vcvt.f32.s32 d16, d16
12 vcvt.f32.u32 d16, d16
14 vcvt.s32.f32 q8, q8
16 vcvt.u32.f32 q8, q8
18 vcvt.f32.s32 q8, q8
20 vcvt.f32.u32 q8, q8
30 vcvt.s32.f32 q8, q8, #1
38 vcvt.f32.f16 q8, d16
[all …]
/llvm-project-15.0.7/mlir/test/mlir-cpu-runner/
H A Dmath-polynomial-approx.mlir14 %1 = math.tanh %0 : f32
15 vector.print %1 : f32
29 %6 = math.tanh %nan : f32
30 vector.print %6 : f32
41 %1 = math.log %0 : f32
42 vector.print %1 : f32
80 %1 = math.log2 %0 : f32
81 vector.print %1 : f32
120 vector.print %1 : f32
234 vector.print %1 : f32
[all …]
/llvm-project-15.0.7/mlir/test/Integration/Dialect/Complex/CPU/
H A Dcorrectness.mlir53 %func: (complex<f32>, complex<f32>) -> complex<f32>) {
65 : (complex<f32>, complex<f32>) -> complex<f32>
75 func.func @atan2(%lhs: complex<f32>, %rhs: complex<f32>) -> complex<f32> {
80 func.func @pow(%lhs: complex<f32>, %rhs: complex<f32>) -> complex<f32> {
136 : (tensor<?xcomplex<f32>>, (complex<f32>) -> complex<f32>) -> ()
156 : (tensor<?xcomplex<f32>>, (complex<f32>, complex<f32>)
180 : (tensor<?xcomplex<f32>>, (complex<f32>, complex<f32>)
212 : (tensor<?xcomplex<f32>>, (complex<f32>) -> complex<f32>) -> ()
243 : (tensor<?xcomplex<f32>>, (complex<f32>) -> complex<f32>) -> ()
274 : (tensor<?xcomplex<f32>>, (complex<f32>) -> complex<f32>) -> ()
[all …]
/llvm-project-15.0.7/mlir/test/Conversion/GPUToROCDL/
H A Dgpu-to-rocdl.mlir88 // CHECK: llvm.func @__ocml_fabs_f32(f32) -> f32
103 // CHECK: llvm.func @__ocml_ceil_f32(f32) -> f32
118 // CHECK: llvm.func @__ocml_floor_f32(f32) -> f32
133 // CHECK: llvm.func @__ocml_cos_f32(f32) -> f32
148 // CHECK: llvm.func @__ocml_exp_f32(f32) -> f32
165 // CHECK: llvm.func @__ocml_exp2_f32(f32) -> f32
221 // CHECK: llvm.func @__ocml_log_f32(f32) -> f32
351 // CHECK: llvm.func @__ocml_atan2_f32(f32, f32) -> f32
356 // CHECK: llvm.call @__ocml_atan2_f32(%{{.*}}) : (f32, f32) -> f32
366 // CHECK: llvm.func @__ocml_pow_f32(f32, f32) -> f32
[all …]
/llvm-project-15.0.7/mlir/test/IR/
H A Dpretty_printed_region_op.mlir7 func.func @pretty_printed_region_op(%arg0 : f32, %arg1 : f32) -> (f32) {
8 // CHECK-CUSTOM: test.pretty_printed_region %arg1, %arg0 start special.op end : (f32, f32) -> f32
11 // CHECK-GENERIC: %[[RES:.*]] = "special.op"(%arg[[x]], %arg[[y]]) : (f32, f32) -> f32
13 // CHECK-GENERIC: : (f32, f32) -> f32
21 func.func @pretty_printed_region_op(%arg0 : f32, %arg1 : f32) -> (f32) {
27 // CHECK: : (f32, f32) -> f32
30 ^bb0(%arg2: f32, %arg3: f32):
31 %1 = "non.special.op"(%arg2, %arg3) : (f32, f32) -> f32
33 }) : (f32, f32) -> f32
39 func.func @pretty_printed_region_op_deferred_loc(%arg0 : f32, %arg1 : f32) -> (f32) {
[all …]
H A Dresult.mlir7 func.func @correct_variadic_result() -> tensor<f32> {
9 ….mixed_normal_variadic_result"() : () -> (tensor<f32>, tensor<f32>, tensor<f32>, tensor<f32>, tens…
10 return %0#4 : tensor<f32>
15 func.func @error_in_first_variadic_result() -> tensor<f32> {
17 …test.mixed_normal_variadic_result"() : () -> (tensor<f32>, f32, tensor<f32>, tensor<f32>, tensor<f…
18 return %0#4 : tensor<f32>
23 func.func @error_in_normal_result() -> tensor<f32> {
25 …test.mixed_normal_variadic_result"() : () -> (tensor<f32>, tensor<f32>, f32, tensor<f32>, tensor<f…
26 return %0#4 : tensor<f32>
33 …test.mixed_normal_variadic_result"() : () -> (tensor<f32>, tensor<f32>, tensor<f32>, f32, tensor<f…
[all …]
H A Doperand.mlir7 func.func @correct_variadic_operand(%arg0: tensor<f32>, %arg1: f32) {
9 …nd"(%arg0, %arg0, %arg0, %arg0, %arg0) : (tensor<f32>, tensor<f32>, tensor<f32>, tensor<f32>, tens…
15 func.func @error_in_first_variadic_operand(%arg0: tensor<f32>, %arg1: f32) {
17 …perand"(%arg0, %arg1, %arg0, %arg0, %arg0) : (tensor<f32>, f32, tensor<f32>, tensor<f32>, tensor<f…
23 func.func @error_in_normal_operand(%arg0: tensor<f32>, %arg1: f32) {
25 …perand"(%arg0, %arg0, %arg1, %arg0, %arg0) : (tensor<f32>, tensor<f32>, f32, tensor<f32>, tensor<f…
31 func.func @error_in_second_variadic_operand(%arg0: tensor<f32>, %arg1: f32) {
33 …perand"(%arg0, %arg0, %arg0, %arg1, %arg0) : (tensor<f32>, tensor<f32>, tensor<f32>, f32, tensor<f…
43 %0 = arith.constant 0.0 : f32
44 …// expected-error @+1 {{operand type mismatch: expected operand type 'i32', but provided 'f32' for…
[all …]
/llvm-project-15.0.7/mlir/test/Conversion/GPUToNVVM/
H A Dgpu-to-nvvm.mlir120 func.func @gpu_shuffle() -> (f32, f32, f32, f32) {
151 func.return %shfl, %shflu, %shfld, %shfli : f32, f32,f32, f32
169 // CHECK: llvm.func @__nv_fabsf(f32) -> f32
214 // CHECK: llvm.func @__nv_cosf(f32) -> f32
228 // CHECK: llvm.func @__nv_expf(f32) -> f32
257 // CHECK: llvm.func @__nv_logf(f32) -> f32
411 // CHECK: llvm.func @__nv_atan2f(f32, f32) -> f32
419 // CHECK-NEXT: llvm.call @__nv_atan2f(%{{.*}}) : (f32, f32) -> f32
422 // CHECK: llvm.call @__nv_atan2f(%{{.*}}) : (f32, f32) -> f32
467 // CHECK: llvm.func @__nv_powf(f32, f32) -> f32
[all …]
/llvm-project-15.0.7/mlir/test/Target/SPIRV/
H A Dgl-ops.mlir4 spv.func @math(%arg0 : f32, %arg1 : f32, %arg2 : i32) "None" {
6 %0 = spv.GL.Exp %arg0 : f32
29 // CHECK: {{%.*}} = spv.GL.FrexpStruct {{%.*}} : f32 -> !spv.struct<(f32, i32)>
30 %13 = spv.GL.FrexpStruct %arg0 : f32 -> !spv.struct<(f32, i32)>
31 // CHECK: {{%.*}} = spv.GL.Ldexp {{%.*}} : f32, {{%.*}} : i32 -> f32
32 %14 = spv.GL.Ldexp %arg0 : f32, %arg2 : i32 -> f32
33 // CHECK: {{%.*}} = spv.GL.FMix {{%.*}} : f32, {{%.*}} : f32, {{%.*}} : f32 -> f32
34 %15 = spv.GL.FMix %arg0 : f32, %arg1 : f32, %arg0 : f32 -> f32
38 spv.func @maxmin(%arg0 : f32, %arg1 : f32, %arg2 : i32, %arg3 : i32) "None" {
55 spv.func @fclamp(%arg0 : f32, %arg1 : f32, %arg2 : f32) "None" {
[all …]
/llvm-project-15.0.7/mlir/test/Conversion/OpenACCToLLVM/
H A Dconvert-data-operands-to-llvmir.mlir8f32>, ptr<f32>, i64, array<1 x i64>, array<1 x i64>)>, ptr<f32>, i64)>) create(%{{.*}} : !llvm.str…
17 …nacc_data", (struct<(ptr<f32>, ptr<f32>, i64, array<1 x i64>, array<1 x i64>)>, ptr<f32>, i64)>) c…
45f32>, ptr<f32>, i64, array<1 x i64>, array<1 x i64>)>, ptr<f32>, i64)>) delete(%{{.*}} : !llvm.str…
82f32>, ptr<f32>, i64, array<1 x i64>, array<1 x i64>)>, ptr<f32>, i64)>) device(%{{.*}} : !llvm.str…
120f32>, ptr<f32>, i64, array<1 x i64>, array<1 x i64>)>, ptr<f32>, i64)>) copyout(%{{.*}} : !llvm.st…
130 …t<(ptr<f32>, ptr<f32>, i64, array<1 x i64>, array<1 x i64>)>, ptr<f32>, i64)>) deviceptr(%{{.*}} :…
151 …(ptr<f32>, ptr<f32>, i64, array<1 x i64>, array<1 x i64>)>, ptr<f32>, i64)>) create_zero(%{{.*}} :…
161f32>, ptr<f32>, i64, array<1 x i64>, array<1 x i64>)>, ptr<f32>, i64)>, !llvm.struct<"openacc_data…
181 …ct<(ptr<f32>, ptr<f32>, i64, array<1 x i64>, array<1 x i64>)>, ptr<f32>, i64)>) deviceptr(%{{.*}}:…
202 …<(ptr<f32>, ptr<f32>, i64, array<1 x i64>, array<1 x i64>)>, ptr<f32>, i64)>) create_zero(%{{.*}}:…
[all …]
/llvm-project-15.0.7/mlir/test/Integration/Dialect/SparseTensor/CPU/
H A Dsparse_complex32.mlir30 ^bb(%a: complex<f32>, %b: complex<f32>, %x: complex<f32>):
32 linalg.yield %1 : complex<f32>
47 ^bb(%a: complex<f32>, %b: complex<f32>, %x: complex<f32>):
49 linalg.yield %1 : complex<f32>
57 …%mem = sparse_tensor.values %arg0 : tensor<?xcomplex<f32>, #SparseVector> to memref<?xcomplex<f32>>
62 vector.print %real : f32
63 vector.print %imag : f32
77 …%sv1 = sparse_tensor.convert %v1 : tensor<32xcomplex<f32>> to tensor<?xcomplex<f32>, #SparseVector>
78 …%sv2 = sparse_tensor.convert %v2 : tensor<32xcomplex<f32>> to tensor<?xcomplex<f32>, #SparseVector>
83 tensor<?xcomplex<f32>, #SparseVector>) -> tensor<?xcomplex<f32>, #SparseVector>
[all …]
/llvm-project-15.0.7/mlir/test/Dialect/Math/
H A Dpolynomial-approximation.mlir9 // CHECK-SAME: %[[val_arg0:.*]]: f32) -> f32 {
79 func.func @erf_scalar(%arg0: f32) -> f32 {
142 func.func @exp_scalar(%arg0: f32) -> f32 {
160 // CHECK-SAME: %[[X:.*]]: f32) -> f32 {
182 func.func @expm1_scalar(%arg0: f32) -> f32 {
267 func.func @log_scalar(%arg0: f32) -> f32 {
291 func.func @log2_scalar(%arg0: f32) -> f32 {
324 func.func @log1p_scalar(%arg0: f32) -> f32 {
379 func.func @tanh_scalar(%arg0: f32) -> f32 {
402 func.func @rsqrt_scalar(%arg0: f32) -> f32 {
[all …]
/llvm-project-15.0.7/mlir/test/Dialect/SPIRV/IR/
H A Dmemory-ops.mlir10 …// CHECK: spv.AccessChain {{.*}}[{{.*}}, {{.*}}] : !spv.ptr<!spv.struct<(f32, !spv.array<4 x f32>)…
201 %1 = "spv.Load"(%0) {memory_access = 0 : i32} : (!spv.ptr<f32, Function>) -> (f32)
210 %1 = "spv.Load"(%0) {memory_access = 1 : i32} : (!spv.ptr<f32, Function>) -> (f32)
237 %1 = spv.Load %0 : f32
246 %1 = spv.Load "Function" : f32
327 %1 = "spv.Load"(%0) {memory_access = 0x80000000 : i32} : (!spv.ptr<f32, Function>) -> (f32)
391 spv.Store %0, %arg0 : f32
409 spv.Store "Function" %0 : f32
495 %0 = spv.Constant 4.0 : f32
537 %0 = spv.Constant 4.0 : f32
[all …]
/llvm-project-15.0.7/llvm/test/tools/llvm-mca/ARM/
H A Dm7-fp.s4 vabs.f32 s0, s2
6 vadd.f32 s0, s2, s1
8 vcmp.f32 s1, s2
10 vcvt.f32.f64 s1, d2
98 vrinta.f32.f32 s0, s2
100 vrintm.f32.f32 s0, s2
102 vrintn.f32.f32 s0, s2
104 vrintp.f32.f32 s0, s2
106 vrintr.f32.f32 s0, s2
108 vrintz.f32.f32 s0, s2
[all …]
/llvm-project-15.0.7/mlir/test/Transforms/
H A Dcanonicalize-dce.mlir9 %0 = "arith.addf"(%arg0, %arg0) : (f32, f32) -> f32
56 %1 = "math.exp"(%0) : (f32) -> f32
68 %exp = "math.exp"(%arg0) : (f32) -> f32
86 %0 = "arith.addf"(%arg1, %arg1) : (f32, f32) -> f32
96 // CHECK: func @f(%arg0: f32) -> f32
100 func.func @f(%arg0: f32) -> f32 {
101 %0 = "arith.addf"(%arg0, %arg0) : (f32, f32) -> f32
127 %0 = "math.exp"(%arg0) : (f32) -> f32
129 %1 = "math.exp"(%0) : (f32) -> f32
170 %0 = "math.exp"(%1) : (f32) -> f32
[all …]
/llvm-project-15.0.7/mlir/test/Dialect/SCF/
H A Dbufferize.mlir37 func.func @for(%arg0: tensor<f32>, %lb: index, %ub: index, %step: index) -> tensor<f32> {
39 scf.yield %iter : tensor<f32>
41 return %ret : tensor<f32>
51 %1 = "test.munge_tensor"(%tensor) : (tensor<f32>) -> (tensor<f32>)
52 scf.yield %1: tensor<f32>
54 %1 = "test.munge_tensor"(%tensor) : (tensor<f32>) -> (tensor<f32>)
55 scf.yield %1 : tensor<f32>
57 return %0 : tensor<f32>
75 %0 = "test.munge_tensor"(%iter) : (tensor<f32>) -> (tensor<f32>)
76 scf.yield %0 : tensor<f32>
[all …]
/llvm-project-15.0.7/mlir/test/Conversion/MemRefToLLVM/
H A Dmemref-to-llvm.mlir135 // CHECK: %[[BITCAST0:.*]] = llvm.bitcast %{{.*}} : !llvm.ptr<f32> to !llvm.ptr<f32>
137 // CHECK: %[[BITCAST1:.*]] = llvm.bitcast %{{.*}} : !llvm.ptr<f32> to !llvm.ptr<f32>
154 // CHECK32: %[[BITCAST0:.*]] = llvm.bitcast %{{.*}} : !llvm.ptr<f32> to !llvm.ptr<f32>
263 // CHECK: %[[BITCAST0:.*]] = llvm.bitcast %{{.*}} : !llvm.ptr<f32> to !llvm.ptr<f32>
265 // CHECK: %[[BITCAST1:.*]] = llvm.bitcast %{{.*}} : !llvm.ptr<f32> to !llvm.ptr<f32>
679 // CHECK: llvm.mlir.global external @gv3(1.000000e+00 : f32) : f32
689 // CHECK: llvm.mlir.undef : !llvm.struct<(ptr<f32>, ptr<f32>, i64)>
811 return %0 : memref<f32>
814 // CHECK: llvm.mlir.undef : !llvm.struct<(ptr<f32>, ptr<f32>, i64)>
966 memref.atomic_rmw assign %fval, %F[%i] : (f32, memref<10xf32>) -> f32
[all …]

12345678910>>...161