|
MLIR 24.0.0git
|
A simple wrapper to encode a bitset of (at most 64) levels, currently used by sparse_tensor.iterate operation for the set of levels on which the coordinates should be loaded. More...
#include "mlir/Dialect/SparseTensor/IR/SparseTensor.h"
Public Types | |
| using | const_set_bits_iterator = llvm::const_set_bits_iterator_impl<I64BitSet> |
Public Member Functions | |
| const_set_bits_iterator | begin () const |
| const_set_bits_iterator | end () const |
| iterator_range< const_set_bits_iterator > | bits () const |
| I64BitSet ()=default | |
| I64BitSet (uint64_t bits) | |
| operator uint64_t () const | |
| I64BitSet & | set (unsigned i) |
| I64BitSet & | operator|= (I64BitSet lhs) |
| I64BitSet & | lshift (unsigned offset) |
| bool | isSubSetOf (const I64BitSet p) const |
| int | find_first () const |
| int | find_next (unsigned prev) const |
| bool | operator[] (unsigned i) const |
| unsigned | min () const |
| unsigned | max () const |
| unsigned | count () const |
| bool | empty () const |
A simple wrapper to encode a bitset of (at most 64) levels, currently used by sparse_tensor.iterate operation for the set of levels on which the coordinates should be loaded.
Definition at line 56 of file SparseTensor.h.
| using mlir::sparse_tensor::I64BitSet::const_set_bits_iterator = llvm::const_set_bits_iterator_impl<I64BitSet> |
Definition at line 60 of file SparseTensor.h.
|
default |
Referenced by isSubSetOf(), lshift(), operator|=(), and set().
|
inlineexplicit |
Definition at line 72 of file SparseTensor.h.
References bits().
|
inline |
Definition at line 61 of file SparseTensor.h.
Referenced by bits().
|
inline |
Definition at line 67 of file SparseTensor.h.
References begin(), and end().
Referenced by mlir::sparse_tensor::LoopEmitter::enterCurrentCoIterationCase(), genCoIterateBranchNest(), and I64BitSet().
|
inline |
Definition at line 118 of file SparseTensor.h.
Referenced by parseOptionalDefinedList().
|
inline |
Definition at line 119 of file SparseTensor.h.
Referenced by printOptionalDefinedList().
|
inline |
Definition at line 64 of file SparseTensor.h.
Referenced by bits().
|
inline |
Definition at line 98 of file SparseTensor.h.
References min().
|
inline |
Definition at line 99 of file SparseTensor.h.
Definition at line 91 of file SparseTensor.h.
References I64BitSet().
Definition at line 86 of file SparseTensor.h.
References I64BitSet().
|
inline |
Definition at line 117 of file SparseTensor.h.
Referenced by find_next().
|
inline |
Definition at line 113 of file SparseTensor.h.
Referenced by find_first().
|
inline |
Definition at line 73 of file SparseTensor.h.
Definition at line 109 of file SparseTensor.h.
Definition at line 81 of file SparseTensor.h.
References I64BitSet().
Definition at line 75 of file SparseTensor.h.
References I64BitSet().
Referenced by genCoIterationCase(), RemoveUnusedLvlCrds::matchAndRewrite(), and parseOptionalDefinedList().