MLIR
20.0.0git
|
#include "Dialect/SparseTensor/IR/Detail/DimLvlMap.h"
Public Member Functions | |
DimLvlMap (unsigned symRank, ArrayRef< DimSpec > dimSpecs, ArrayRef< LvlSpec > lvlSpecs) | |
unsigned | getSymRank () const |
unsigned | getDimRank () const |
unsigned | getLvlRank () const |
unsigned | getRank (VarKind vk) const |
Ranks | getRanks () const |
ArrayRef< DimSpec > | getDims () const |
const DimSpec & | getDim (Dimension dim) const |
SparseTensorDimSliceAttr | getDimSlice (Dimension dim) const |
ArrayRef< LvlSpec > | getLvls () const |
const LvlSpec & | getLvl (Level lvl) const |
LevelType | getLvlType (Level lvl) const |
AffineMap | getDimToLvlMap (MLIRContext *context) const |
AffineMap | getLvlToDimMap (MLIRContext *context) const |
Definition at line 230 of file DimLvlMap.h.
DimLvlMap::DimLvlMap | ( | unsigned | symRank, |
ArrayRef< DimSpec > | dimSpecs, | ||
ArrayRef< LvlSpec > | lvlSpecs | ||
) |
Definition at line 80 of file DimLvlMap.cpp.
References mlir::sparse_tensor::ir_detail::VarSet::add(), mlir::sparse_tensor::ir_detail::VarSet::contains(), and getRanks().
Definition at line 242 of file DimLvlMap.h.
Referenced by getDimSlice().
|
inline |
Definition at line 236 of file DimLvlMap.h.
Referenced by getDimToLvlMap(), getLvlToDimMap(), and getRanks().
Definition at line 241 of file DimLvlMap.h.
|
inline |
Definition at line 243 of file DimLvlMap.h.
References getDim(), and mlir::sparse_tensor::ir_detail::DimSpec::getSlice().
AffineMap DimLvlMap::getDimToLvlMap | ( | MLIRContext * | context | ) | const |
Definition at line 118 of file DimLvlMap.cpp.
References mlir::AffineMap::get(), getDimRank(), getLvlRank(), and getSymRank().
Definition at line 248 of file DimLvlMap.h.
Referenced by getLvlType().
|
inline |
Definition at line 237 of file DimLvlMap.h.
Referenced by getDimToLvlMap(), getLvlToDimMap(), and getRanks().
Definition at line 247 of file DimLvlMap.h.
AffineMap DimLvlMap::getLvlToDimMap | ( | MLIRContext * | context | ) | const |
Definition at line 127 of file DimLvlMap.cpp.
References mlir::AffineMap::get(), getDimRank(), getLvlRank(), and getSymRank().
Definition at line 249 of file DimLvlMap.h.
References getLvl(), and mlir::sparse_tensor::ir_detail::LvlSpec::getType().
|
inline |
Definition at line 238 of file DimLvlMap.h.
References mlir::sparse_tensor::ir_detail::Ranks::getRank(), and getRanks().
|
inline |
Definition at line 239 of file DimLvlMap.h.
References getDimRank(), getLvlRank(), and getSymRank().
Referenced by DimLvlMap(), and getRank().
|
inline |
Definition at line 235 of file DimLvlMap.h.
Referenced by getDimToLvlMap(), getLvlToDimMap(), and getRanks().