Home
last modified time | relevance | path

Searched refs:sparseAttr (Results 1 – 5 of 5) sorted by relevance

/external/llvm-project/mlir/lib/Dialect/Linalg/IR/
DLinalgOps.cpp460 ArrayAttr sparseAttr = op.sparseAttr(); in verify() local
461 if (!sparseAttr) in verify()
469 if (sparseAttr.size() != numTensors) in verify()
472 auto dimAttr = sparseAttr[t].dyn_cast_or_null<ArrayAttr>(); in verify()
/external/llvm-project/mlir/lib/Dialect/Linalg/Transforms/
DBufferize.cpp125 genericOp.library_callAttr(), genericOp.sparseAttr()); in finalizeBufferAllocationForGenericOp()
DSparsification.cpp283 ArrayAttr sparseAttr = op.sparseAttr(); in findSparseAnnotations() local
286 auto dimAttr = sparseAttr[t].cast<ArrayAttr>(); in findSparseAnnotations()
/external/llvm-project/mlir/test/CAPI/
Dir.c995 MlirAttribute sparseAttr = mlirSparseElementsAttribute( in printBuiltinAttributes() local
998 mlirAttributeDump(sparseAttr); in printBuiltinAttributes()
/external/llvm-project/mlir/include/mlir/IR/
DBuiltinAttributes.h1467 if (SparseElementsAttr sparseAttr = dyn_cast<SparseElementsAttr>()) {
1468 auto values = sparseAttr.getValues<T>();