MLIR
20.0.0git
|
The full lvlVar = lvlExpr : lvlType
specification for a given level.
More...
#include "Dialect/SparseTensor/IR/Detail/DimLvlMap.h"
Public Member Functions | |
LvlSpec (LvlVar var, LvlExpr expr, LevelType type) | |
MLIRContext * | getContext () const |
constexpr LvlVar | getBoundVar () const |
constexpr bool | canElideVar () const |
void | setElideVar (bool b) |
constexpr LvlExpr | getExpr () const |
constexpr LevelType | getType () const |
bool | isValid (Ranks const &ranks) const |
Checks whether the variables bound/used by this spec are valid with respect to the given ranks. More... | |
The full lvlVar = lvlExpr : lvlType
specification for a given level.
Definition at line 196 of file DimLvlMap.h.
Definition at line 65 of file DimLvlMap.cpp.
References mlir::sparse_tensor::isUndefLT(), and mlir::sparse_tensor::isValidLT().
|
inlineconstexpr |
Definition at line 217 of file DimLvlMap.h.
|
inlineconstexpr |
Definition at line 216 of file DimLvlMap.h.
|
inline |
Definition at line 210 of file DimLvlMap.h.
References mlir::sparse_tensor::ir_detail::DimLvlExpr::tryGetContext().
|
inlineconstexpr |
Definition at line 219 of file DimLvlMap.h.
|
inlineconstexpr |
Definition at line 220 of file DimLvlMap.h.
Referenced by mlir::sparse_tensor::ir_detail::DimLvlMap::getLvlType().
bool LvlSpec::isValid | ( | Ranks const & | ranks | ) | const |
Checks whether the variables bound/used by this spec are valid with respect to the given ranks.
Definition at line 71 of file DimLvlMap.cpp.
References mlir::sparse_tensor::ir_detail::Ranks::isValid().
|
inline |
Definition at line 218 of file DimLvlMap.h.