MLIR  14.0.0git
Public Member Functions | List of all members
mlir::RegionRange Class Reference

This class provides an abstraction over the different types of ranges over Regions. More...

#include "mlir/IR/Region.h"

Inheritance diagram for mlir::RegionRange:
Inheritance graph
[legend]
Collaboration diagram for mlir::RegionRange:
Collaboration graph
[legend]

Public Member Functions

 RegionRange (MutableArrayRef< Region > regions=llvm::None)
 
template<typename Arg , typename = typename std::enable_if_t<std::is_constructible< ArrayRef<std::unique_ptr<Region>>, Arg>::value>>
 RegionRange (Arg &&arg)
 
 RegionRange (ArrayRef< std::unique_ptr< Region >> regions)
 

Detailed Description

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.

Definition at line 322 of file Region.h.

Constructor & Destructor Documentation

◆ RegionRange() [1/3]

RegionRange::RegionRange ( MutableArrayRef< Region regions = llvm::None)

Definition at line 227 of file Region.cpp.

◆ RegionRange() [2/3]

template<typename Arg , typename = typename std::enable_if_t<std::is_constructible< ArrayRef<std::unique_ptr<Region>>, Arg>::value>>
mlir::RegionRange::RegionRange ( Arg &&  arg)
inline

Definition at line 338 of file Region.h.

◆ RegionRange() [3/3]

RegionRange::RegionRange ( ArrayRef< std::unique_ptr< Region >>  regions)

Definition at line 229 of file Region.cpp.


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