Lines Matching refs:sparse_tensor
4 …// expected-error@+1 {{'sparse_tensor.new' op result #0 must be sparse tensor of any type values, …
5 %0 = sparse_tensor.new %arg0 : !llvm.ptr<i8> to tensor<32xf32>
13 …// expected-error@+1 {{'sparse_tensor.pointers' op operand #0 must be sparse tensor of any type va…
14 %0 = sparse_tensor.pointers %arg0, %c : tensor<128xf64> to memref<?xindex>
22 …// expected-error@+1 {{'sparse_tensor.pointers' op operand #0 must be sparse tensor of any type va…
23 %0 = sparse_tensor.pointers %arg0, %c : tensor<*xf64> to memref<?xindex>
29 #SparseVector = #sparse_tensor.encoding<{dimLevelType = ["compressed"], pointerBitWidth=32}>
34 %0 = sparse_tensor.pointers %arg0, %c : tensor<128xf64, #SparseVector> to memref<?xindex>
40 #SparseVector = #sparse_tensor.encoding<{dimLevelType = ["compressed"]}>
45 %0 = sparse_tensor.pointers %arg0, %c : tensor<128xf64, #SparseVector> to memref<?xindex>
53 …// expected-error@+1 {{'sparse_tensor.indices' op operand #0 must be sparse tensor of any type val…
54 %0 = sparse_tensor.indices %arg0, %c : tensor<10x10xi32> to memref<?xindex>
62 …// expected-error@+1 {{'sparse_tensor.indices' op operand #0 must be sparse tensor of any type val…
63 %0 = sparse_tensor.indices %arg0, %c : tensor<*xf64> to memref<?xindex>
69 #SparseVector = #sparse_tensor.encoding<{dimLevelType = ["compressed"]}>
74 %0 = sparse_tensor.indices %arg0, %c : tensor<?xf64, #SparseVector> to memref<?xi32>
80 #SparseVector = #sparse_tensor.encoding<{dimLevelType = ["compressed"]}>
85 %0 = sparse_tensor.indices %arg0, %c : tensor<128xf64, #SparseVector> to memref<?xindex>
92 …// expected-error@+1 {{'sparse_tensor.values' op operand #0 must be sparse tensor of any type valu…
93 %0 = sparse_tensor.values %arg0 : tensor<1024xf32> to memref<?xf32>
99 #SparseVector = #sparse_tensor.encoding<{dimLevelType = ["compressed"]}>
103 %0 = sparse_tensor.values %arg0 : tensor<?xf64, #SparseVector> to memref<?xf32>
110 …// expected-error@+1 {{'sparse_tensor.load' op operand #0 must be sparse tensor of any type values…
111 %0 = sparse_tensor.load %arg0 : tensor<16x32xf64>
118 …// expected-error@+1 {{'sparse_tensor.lex_insert' op operand #0 must be sparse tensor of any type …
119 sparse_tensor.lex_insert %arg0, %arg1, %arg2 : tensor<128xf64>, memref<?xindex>, f64
126 …// expected-error@+1 {{'sparse_tensor.expand' op operand #0 must be sparse tensor of any type valu…
127 %values, %filled, %added, %count = sparse_tensor.expand %arg0
137 …// expected-error@+1 {{'sparse_tensor.compress' op operand #0 must be sparse tensor of any type va…
138 sparse_tensor.compress %arg0, %arg1, %arg2, %arg3, %arg4, %arg5
146 %0 = sparse_tensor.convert %arg0 : tensor<*xf32> to tensor<10xf32>
152 #DCSR = #sparse_tensor.encoding<{dimLevelType = ["compressed", "compressed"]}>
156 %0 = sparse_tensor.convert %arg0 : tensor<10x10xf64, #DCSR> to tensor<?xf64>
162 #CSR = #sparse_tensor.encoding<{dimLevelType = ["dense", "compressed"]}>
166 %0 = sparse_tensor.convert %arg0 : tensor<10x?xf32> to tensor<10x10xf32, #CSR>
173 …// expected-error@+1 {{'sparse_tensor.out' op operand #0 must be sparse tensor of any type values,…
174 sparse_tensor.out %arg0, %arg1 : tensor<10xf64>, !llvm.ptr<i8>
182 %r = sparse_tensor.binary %arg0, %arg1 : f64, f64 to f64
185 sparse_tensor.yield %x : f64
196 %r = sparse_tensor.binary %arg0, %arg1 : f64, f64 to f64
201 sparse_tensor.yield %y : f64
210 %r = sparse_tensor.binary %arg0, %arg1 : f64, f64 to f64
213 sparse_tensor.yield %x : f64
224 %0 = sparse_tensor.binary %arg0, %arg1 : f64, f64 to f64
229 sparse_tensor.yield %1 : f32
239 %0 = sparse_tensor.binary %arg0, %arg1 : i64, f64 to f64
249 // expected-error@+1 {{left region must end with sparse_tensor.yield}}
250 %0 = sparse_tensor.binary %arg0, %arg1 : f64, f64 to f64
264 %r = sparse_tensor.unary %arg0 : f64 to f64
267 sparse_tensor.yield %x : index
277 %r = sparse_tensor.unary %arg0 : f64 to f64
281 sparse_tensor.yield %x : f64
290 %0 = sparse_tensor.unary %arg0 : f64 to f64
294 sparse_tensor.yield %1 : f32
303 // expected-error@+1 {{present region must end with sparse_tensor.yield}}
304 %0 = sparse_tensor.unary %arg0 : f64 to f64
318 %r = sparse_tensor.reduce %arg0, %arg1, %cf1 : f64 {
320 sparse_tensor.yield %x : f64
330 %r = sparse_tensor.reduce %arg0, %arg1, %ci1 : i64 {
333 sparse_tensor.yield %cst : i64
343 %r = sparse_tensor.reduce %arg0, %arg1, %cf1 : f64 {
346 sparse_tensor.yield %cst : i64
355 // expected-error@+1 {{reduce region must end with sparse_tensor.yield}}
356 %r = sparse_tensor.reduce %arg0, %arg1, %cf1 : f64 {