MLIR  19.0.0git
Public Member Functions | List of all members
mlir::sparse_tensor::ir_detail::Var::Impl Class Referencefinal

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
 

Detailed Description

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 90 of file Var.h.

Constructor & Destructor Documentation

◆ Impl()

constexpr mlir::sparse_tensor::ir_detail::Var::Impl::Impl ( VarKind  vk,
Num  n 
)
inlineconstexpr

Member Function Documentation

◆ getKind()

constexpr VarKind mlir::sparse_tensor::ir_detail::Var::Impl::getKind ( ) const
inlineconstexpr

Definition at line 102 of file Var.h.

◆ getNum()

constexpr Num mlir::sparse_tensor::ir_detail::Var::Impl::getNum ( ) const
inlineconstexpr

Definition at line 103 of file Var.h.

◆ operator!=()

constexpr bool mlir::sparse_tensor::ir_detail::Var::Impl::operator!= ( Impl  other) const
inlineconstexpr

Definition at line 101 of file Var.h.

◆ operator==()

constexpr bool mlir::sparse_tensor::ir_detail::Var::Impl::operator== ( Impl  other) const
inlineconstexpr

Definition at line 100 of file Var.h.


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