|
MLIR 22.0.0git
|
The underlying implementation of Var. More...
#include "Dialect/SparseTensor/IR/Detail/Var.h"
Public Member Functions | |
| constexpr | Impl (VarKind vk, Num n) |
| constexpr bool | operator== (Impl other) const |
| constexpr bool | operator!= (Impl other) const |
| constexpr VarKind | getKind () const |
| constexpr Num | getNum () const |
The underlying implementation of Var.
Note that this must be kept distinct from Var itself, since we want to ensure that the RTTI methods will select the U(Var::Impl) ctor rather than selecting the U(Var::Num) ctor.
Definition at line 94 of file Var.h.
References mlir::sparse_tensor::ir_detail::isWF(), and mlir::sparse_tensor::ir_detail::Var::isWF_Num().
Referenced by operator!=(), and operator==().
|
inlineconstexpr |
|
inlineconstexpr |