llvm-project/mlir/lib
Aart Bik 6b26857dbf [mlir][sparse] add asCOO() functionality to sparse tensor object
This prepares general sparse to sparse conversions. The code that
needs to be generated using this new feature is now simply:

(1) coo = sparse_tensor_1->asCOO();          // source format1
(2) sparse_tensor_2 = newSparseTensor(coo);  // destination format2

By using COO as an intermediate, we can do *all* conversions without
having to implement the full O(N^2) conversion matrix. Note that we
can always improve particular conversions individually if a faster
solution is required.

Reviewed By: bixia

Differential Revision: https://reviews.llvm.org/D108681
2021-08-25 21:50:39 -07:00
..
Analysis [mlir][scf] Simplify affine.min ops after loop peeling 2021-08-19 17:24:53 +09:00
Bindings/Python [MLIR] [Python] Add `owner` to `mlir.ir.Block` 2021-08-19 00:02:09 -07:00
CAPI Remove libMLIRPublicAPI DSO. 2021-07-20 17:58:28 -07:00
Conversion [mlir][tosa] Quantized tosa.avg_pool2d lowering to linalg 2021-08-24 18:54:23 -07:00
Dialect [mlir] Update DialectAsmParser::parseString to use std::string instead of StringRef 2021-08-25 09:27:35 +00:00
ExecutionEngine [mlir][sparse] add asCOO() functionality to sparse tensor object 2021-08-25 21:50:39 -07:00
IR [mlir] Move the Operation use iteration utilities to ResultRange 2021-08-25 09:27:35 +00:00
Interfaces [mlir] Enable specifying querying function in ValueShapeRange 2021-08-10 11:44:20 -07:00
Parser [mlir] Update DialectAsmParser::parseString to use std::string instead of StringRef 2021-08-25 09:27:35 +00:00
Pass [mlir] Set the namespace of the BuiltinDialect to 'builtin' 2021-07-28 21:00:10 +00:00
Reducer [mlir-reduce] Fix the memory leak and recycle unused modules. 2021-07-08 20:03:47 +08:00
Rewrite [mlir] Add support for filtering patterns based on debug names and labels 2021-06-02 12:05:25 -07:00
Support [mlir] Fix CMake linker rules for ViewOpGraph.cpp 2021-08-04 19:25:15 +09:00
TableGen [mlir][AttrTypeGen] Add support for specifying a "accessor" type of a parameter 2021-08-25 09:27:36 +00:00
Target Support alias.scope and noalias metadata 2021-08-24 20:42:59 +02:00
Tools [mlir-lsp-server] Only use one MLIRContext per MLIRTextFile 2021-08-04 20:09:07 +00:00
Transforms [mlir][NFC] Add inlineRegion overloads that take a block iterator insert position 2021-08-23 19:49:53 +00:00
Translation [mlir] run the verifier before translating a module 2021-07-28 18:15:58 +02:00
CMakeLists.txt Re-engineer MLIR python build support. 2021-07-27 15:54:58 +00:00