MLIR
20.0.0git
|
This class provides an abstraction over the different types of ranges over Regions. More...
#include "mlir/IR/Region.h"
Public Member Functions | |
RegionRange (MutableArrayRef< Region > regions=std::nullopt) | |
template<typename Arg , typename = std::enable_if_t<std::is_constructible< ArrayRef<std::unique_ptr<Region>>, Arg>::value>> | |
RegionRange (Arg &&arg) | |
template<typename Arg > | |
RegionRange (Arg &&arg, std::enable_if_t< std::is_constructible< ArrayRef< Region * >, Arg >::value > *=nullptr) | |
RegionRange (ArrayRef< std::unique_ptr< Region >> regions) | |
RegionRange (ArrayRef< Region * > regions) | |
This class provides an abstraction over the different types of ranges over Regions.
In many cases, this prevents the need to explicitly materialize a SmallVector/std::vector. This class should be used in places that are not suitable for a more derived type (e.g. ArrayRef) or a template range parameter.
RegionRange::RegionRange | ( | MutableArrayRef< Region > | regions = std::nullopt | ) |
Definition at line 260 of file Region.cpp.
|
inline |
Definition at line 262 of file Region.cpp.
Definition at line 264 of file Region.cpp.