MLIR  20.0.0git
Static Public Member Functions | List of all members
mlir::ForwardIterator Struct Reference

This iterator enumerates the elements in "forward" order. More...

#include "mlir/IR/Visitors.h"

Static Public Member Functions

static MutableArrayRef< RegionmakeIterable (Operation &range)
 Make operations iterable: return the list of regions. More...
 
template<typename T >
static constexpr T & makeIterable (T &range)
 Regions and block are already iterable. More...
 

Detailed Description

This iterator enumerates the elements in "forward" order.

Definition at line 65 of file Visitors.h.

Member Function Documentation

◆ makeIterable() [1/2]

MutableArrayRef< Region > ForwardIterator::makeIterable ( Operation range)
static

◆ makeIterable() [2/2]

template<typename T >
static constexpr T& mlir::ForwardIterator::makeIterable ( T &  range)
inlinestaticconstexpr

Regions and block are already iterable.

Definition at line 71 of file Visitors.h.


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