A SparseIterationSpace
represents a sparse set of coordinates defined by (possibly multiple) levels of a specific sparse tensor.
More...
#include "Dialect/SparseTensor/Transforms/Utils/SparseTensorIterator.h"
|
| SparseIterationSpace ()=default |
|
| SparseIterationSpace (SparseIterationSpace &)=delete |
|
| SparseIterationSpace (SparseIterationSpace &&)=default |
|
| SparseIterationSpace (Location loc, OpBuilder &b, Value t, unsigned tid, std::pair< Level, Level > lvlRange, ValueRange parentPos) |
|
| SparseIterationSpace (Location loc, OpBuilder &b, Value t, unsigned tid, Level lvl, ValueRange parentPos) |
|
bool | isUnique () const |
|
unsigned | getSpaceDim () const |
|
SmallVector< Value > | toValues () const |
|
const SparseTensorLevel & | getLastLvl () const |
|
ArrayRef< std::unique_ptr< SparseTensorLevel > > | getLvlRef () const |
|
Value | getBoundLo () const |
|
Value | getBoundHi () const |
|
std::unique_ptr< SparseIterator > | extractIterator (OpBuilder &b, Location l) const |
|
A SparseIterationSpace
represents a sparse set of coordinates defined by (possibly multiple) levels of a specific sparse tensor.
TODO: remove SparseTensorLevel
and switch to SparseIterationSpace when feature complete.
Definition at line 95 of file SparseTensorIterator.h.
◆ SparseIterationSpace() [1/5]
mlir::sparse_tensor::SparseIterationSpace::SparseIterationSpace |
( |
| ) |
|
|
default |
◆ SparseIterationSpace() [2/5]
◆ SparseIterationSpace() [3/5]
◆ SparseIterationSpace() [4/5]
◆ SparseIterationSpace() [5/5]
◆ extractIterator()
◆ fromValues()
◆ getBoundHi()
Value mlir::sparse_tensor::SparseIterationSpace::getBoundHi |
( |
| ) |
const |
|
inline |
◆ getBoundLo()
Value mlir::sparse_tensor::SparseIterationSpace::getBoundLo |
( |
| ) |
const |
|
inline |
◆ getLastLvl()
const SparseTensorLevel& mlir::sparse_tensor::SparseIterationSpace::getLastLvl |
( |
| ) |
const |
|
inline |
◆ getLvlRef()
◆ getSpaceDim()
unsigned mlir::sparse_tensor::SparseIterationSpace::getSpaceDim |
( |
| ) |
const |
|
inline |
◆ isUnique()
bool mlir::sparse_tensor::SparseIterationSpace::isUnique |
( |
| ) |
const |
|
inline |
◆ toValues()
SmallVector<Value> mlir::sparse_tensor::SparseIterationSpace::toValues |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following files: