MLIR  20.0.0git
Public Member Functions | List of all members
mlir::sparse_tensor::ir_detail::DimLvlMapParser Class Referencefinal

Parses the Sparse Tensor Encoding Attribute (STEA). More...

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

Public Member Functions

 DimLvlMapParser (AsmParser &parser)
 
FailureOr< DimLvlMapparseDimLvlMap ()
 

Detailed Description

Parses the Sparse Tensor Encoding Attribute (STEA).

General syntax is as follows,

[s0, ...] // optional forward decl sym-vars {l0, ...} // optional forward decl lvl-vars ( d0 = ..., // dim-var = dim-exp ... ) -> ( l0 = ..., // lvl-var = lvl-exp ... )

with simplifications when variables are implicit.

Definition at line 36 of file DimLvlMapParser.h.

Constructor & Destructor Documentation

◆ DimLvlMapParser()

mlir::sparse_tensor::ir_detail::DimLvlMapParser::DimLvlMapParser ( AsmParser parser)
inlineexplicit

Definition at line 38 of file DimLvlMapParser.h.

Member Function Documentation

◆ parseDimLvlMap()

FailureOr< DimLvlMap > DimLvlMapParser::parseDimLvlMap ( )

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