9 #ifndef MLIR_DIALECT_SPARSETENSOR_IR_DETAIL_DIMLVLMAPPARSER_H
10 #define MLIR_DIALECT_SPARSETENSOR_IR_DETAIL_DIMLVLMAPPARSER_H
16 namespace sparse_tensor {
66 parseOptionalVarBinding(
VarKind vk,
bool requireKnown =
false);
80 ParseResult parseLvlSpec(
bool requireLvlVarBinding);
This base class exposes generic asm parser hooks, usable across the various derived parsers.
This class provides support for representing a failure result, or a valid value of type T.
This class implements Optional functionality for ParseResult.
This class represents success/failure for parsing-like operations that find it important to chain tog...
Parses the Sparse Tensor Encoding Attribute (STEA).
FailureOr< DimLvlMap > parseDimLvlMap()
DimLvlMapParser(AsmParser &parser)
ID
Newtype for unique identifiers of VarInfo records, to ensure they aren't confused with Var::Num.
A concrete variable, to be used in our variant of AffineExpr.
VarKind
The three kinds of variables that Var can be.
Include the generated interface declarations.