|
MLIR 22.0.0git
|
#include "Dialect/SparseTensor/IR/Detail/Var.h"
Public Member Functions | |
| constexpr | DimVar (Num dim) |
| DimVar (AffineDimExpr dimExpr) | |
| Public Member Functions inherited from mlir::sparse_tensor::ir_detail::Var | |
| constexpr | Var (VarKind vk, Num n) |
| Var (AffineSymbolExpr sym) | |
| Var (VarKind vk, AffineDimExpr var) | |
| constexpr bool | operator== (Var other) const |
| constexpr bool | operator!= (Var other) const |
| constexpr VarKind | getKind () const |
| constexpr Num | getNum () const |
| template<typename U> | |
| constexpr bool | isa () const |
| template<typename U> | |
| constexpr U | cast () const |
| template<typename U> | |
| constexpr std::optional< U > | dyn_cast () const |
| std::string | str () const |
| void | print (llvm::raw_ostream &os) const |
| void | print (AsmPrinter &printer) const |
| void | dump () const |
Static Public Member Functions | |
| static constexpr bool | classof (Var const *var) |
| Static Public Member Functions inherited from mlir::sparse_tensor::ir_detail::Var | |
| static constexpr bool | isWF_Num (Num n) |
| Checks whether the number would be accepted by Var(VarKind,Var::Num). | |
Static Public Attributes | |
| static constexpr VarKind | Kind = VarKind::Dimension |
Additional Inherited Members | |
| Public Types inherited from mlir::sparse_tensor::ir_detail::Var | |
| using | Num = unsigned |
| Typedef for the type of variable numbers. | |
| Protected Member Functions inherited from mlir::sparse_tensor::ir_detail::Var | |
| constexpr | Var (Impl impl) |
| Protected ctor for the RTTI methods to use. | |
|
inlineconstexpr |
|
inline |
|
inlinestaticconstexpr |
Definition at line 157 of file Var.h.
References mlir::sparse_tensor::ir_detail::Var::getKind(), and Kind.
|
staticconstexpr |