MLIR
20.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 64 of file SparseTensor.h.
using mlir::sparse_tensor::I64BitSet::const_set_bits_iterator = llvm::const_set_bits_iterator_impl<I64BitSet> |
Definition at line 68 of file SparseTensor.h.
|
default |
|
inlineexplicit |
Definition at line 80 of file SparseTensor.h.
|
inline |
Definition at line 69 of file SparseTensor.h.
Referenced by bits().
|
inline |
Definition at line 75 of file SparseTensor.h.
References begin(), and end().
Referenced by mlir::sparse_tensor::LoopEmitter::enterCurrentCoIterationCase(), and genCoIterateBranchNest().
|
inline |
Definition at line 126 of file SparseTensor.h.
|
inline |
Definition at line 127 of file SparseTensor.h.
Referenced by printOptionalDefinedList().
|
inline |
Definition at line 72 of file SparseTensor.h.
Referenced by bits().
|
inline |
Definition at line 106 of file SparseTensor.h.
References min().
|
inline |
Definition at line 107 of file SparseTensor.h.
References max().
|
inline |
Definition at line 99 of file SparseTensor.h.
|
inline |
Definition at line 94 of file SparseTensor.h.
|
inline |
Definition at line 125 of file SparseTensor.h.
Referenced by find_next().
|
inline |
Definition at line 121 of file SparseTensor.h.
Referenced by find_first().
|
inline |
Definition at line 81 of file SparseTensor.h.
|
inline |
Definition at line 117 of file SparseTensor.h.
Definition at line 89 of file SparseTensor.h.
|
inline |
Definition at line 83 of file SparseTensor.h.
Referenced by genCoIterationCase(), and RemoveUnusedLvlCrds::matchAndRewrite().