MLIR 22.0.0git
mlir::sparse_tensor::ir_detail::LvlVar Class Referencefinal

#include "Dialect/SparseTensor/IR/Detail/Var.h"

Inheritance diagram for mlir::sparse_tensor::ir_detail::LvlVar:

Public Member Functions

constexpr LvlVar (Num lvl)
 LvlVar (AffineDimExpr lvlExpr)
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::Level

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.

Detailed Description

Definition at line 165 of file Var.h.

Constructor & Destructor Documentation

◆ LvlVar() [1/2]

mlir::sparse_tensor::ir_detail::LvlVar::LvlVar ( Num lvl)
inlineconstexpr

Definition at line 172 of file Var.h.

References Kind.

◆ LvlVar() [2/2]

mlir::sparse_tensor::ir_detail::LvlVar::LvlVar ( AffineDimExpr lvlExpr)
inline

Definition at line 173 of file Var.h.

References Kind.

Member Function Documentation

◆ classof()

constexpr bool mlir::sparse_tensor::ir_detail::LvlVar::classof ( Var const * var)
inlinestaticconstexpr

Definition at line 169 of file Var.h.

References mlir::sparse_tensor::ir_detail::Var::getKind(), and Kind.

Member Data Documentation

◆ Kind

VarKind mlir::sparse_tensor::ir_detail::LvlVar::Kind = VarKind::Level
staticconstexpr

Definition at line 168 of file Var.h.

Referenced by classof(), LvlVar(), and LvlVar().


The documentation for this class was generated from the following file: