MLIR  16.0.0git
Public Member Functions | List of all members
mlir::Region::OpIterator Class Referencefinal

This class provides iteration over the held operations of blocks directly within a region. More...

#include "mlir/IR/Region.h"

+ Inheritance diagram for mlir::Region::OpIterator:
+ Collaboration diagram for mlir::Region::OpIterator:

Public Member Functions

 OpIterator (Region *region, bool end=false)
 Initialize OpIterator for a region, specify end to return the iterator to last operation. More...
 
OpIteratoroperator++ ()
 
Operationoperator-> () const
 
Operationoperator* () const
 
bool operator== (const OpIterator &rhs) const
 Compare this iterator with another. More...
 
bool operator!= (const OpIterator &rhs) const
 

Detailed Description

This class provides iteration over the held operations of blocks directly within a region.

Definition at line 132 of file Region.h.

Constructor & Destructor Documentation

◆ OpIterator()

Region::OpIterator::OpIterator ( Region region,
bool  end = false 
)
explicit

Initialize OpIterator for a region, specify end to return the iterator to last operation.

Definition at line 226 of file Region.cpp.

References mlir::Region::empty().

Member Function Documentation

◆ operator!=()

bool mlir::Region::OpIterator::operator!= ( const OpIterator rhs) const
inline

Definition at line 150 of file Region.h.

◆ operator*()

Operation& mlir::Region::OpIterator::operator* ( ) const
inline

Definition at line 144 of file Region.h.

◆ operator++()

Region::OpIterator & Region::OpIterator::operator++ ( )

Definition at line 232 of file Region.cpp.

◆ operator->()

Operation* mlir::Region::OpIterator::operator-> ( ) const
inline

Definition at line 143 of file Region.h.

◆ operator==()

bool mlir::Region::OpIterator::operator== ( const OpIterator rhs) const
inline

Compare this iterator with another.

Definition at line 147 of file Region.h.


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