MLIR  20.0.0git
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 "mlir/IR/BuiltinAttributes.h"

+ Inheritance diagram for mlir::DenseElementsAttr::BoolElementIterator:

Public Member Functions

bool operator* () const
 Accesses the bool value at this iterator position. 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
 Return the current index for this iterator, adjusted for the case of a splat. More...
 
const char * getData () const
 Return the data base pointer. More...
 

Detailed Description

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

Definition at line 278 of file BuiltinAttributes.h.

Member Function Documentation

◆ operator*()

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

Accesses the bool value at this iterator position.

Definition at line 659 of file BuiltinAttributes.cpp.

References getBit().


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