My Project
Public Member Functions | List of all members
mlir::DenseElementsAttr::BoolElementIterator Class Reference

A utility iterator that allows walking over the internal bool values. More...

#include <Attributes.h>

Inheritance diagram for mlir::DenseElementsAttr::BoolElementIterator:
Inheritance graph
[legend]
Collaboration diagram for mlir::DenseElementsAttr::BoolElementIterator:
Collaboration graph
[legend]

Public Member Functions

bool operator* () const
 Accesses the bool value at this iterator position. More...
 
- Public Member Functions inherited from mlir::indexed_accessor_iterator< BoolElementIterator, DenseIterPtrAndSplat, bool, bool, bool >
ptrdiff_t operator- (const indexed_accessor_iterator &rhs) const
 
bool operator== (const indexed_accessor_iterator &rhs) const
 
bool operator< (const indexed_accessor_iterator &rhs) const
 
BoolElementIterator & operator+= (ptrdiff_t offset)
 
BoolElementIterator & operator-= (ptrdiff_t offset)
 
ptrdiff_t getIndex () const
 Returns the current index of the iterator. More...
 
const DenseIterPtrAndSplat & getBase () const
 Returns the current base of the iterator. More...
 

Additional Inherited Members

- Protected Member Functions inherited from mlir::detail::DenseElementIndexedIteratorImpl< BoolElementIterator, bool, bool, bool >
 DenseElementIndexedIteratorImpl (const char *data, bool isSplat, size_t dataIndex)
 
ptrdiff_t getDataIndex () const
 
const char * getData () const
 Return the data base pointer. More...
 
- Protected Member Functions inherited from mlir::indexed_accessor_iterator< BoolElementIterator, DenseIterPtrAndSplat, bool, bool, bool >
 indexed_accessor_iterator (DenseIterPtrAndSplat base, ptrdiff_t index)
 
- Protected Attributes inherited from mlir::indexed_accessor_iterator< BoolElementIterator, DenseIterPtrAndSplat, bool, bool, bool >
DenseIterPtrAndSplat base
 
ptrdiff_t index
 

Detailed Description

A utility iterator that allows walking over the internal bool values.

Member Function Documentation

◆ operator*()

bool DenseElementsAttr::BoolElementIterator::operator* ( void  ) const

Accesses the bool value at this iterator position.


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