13 #ifndef MLIR_DIALECT_SPARSETENSOR_TRANSFORMS_UTILS_ITERATIONGRAPHSORTER_H_
14 #define MLIR_DIALECT_SPARSETENSOR_TRANSFORMS_UTILS_ITERATIONGRAPHSORTER_H_
23 enum class IteratorType : uint32_t;
29 namespace sparse_tensor {
54 unsigned getNumLoops()
const {
return loop2OutLvl.getNumDims(); }
83 std::vector<std::vector<bool>> itGraph;
86 std::vector<unsigned> inDegree;
A multi-dimensional affine map Affine map's are immutable like Type's, and they are uniqued.
This class represents an instance of an SSA value in the MLIR system, representing a computable value...
unsigned getNumLoops() const
Returns the number of loops in the iteration graph.
SortMask
Iteration graph sorting mask,.
Include the generated interface declarations.