MLIR
20.0.0git
|
Utility trait base that provides accessors for derived traits that have multiple regions. More...
#include "mlir/IR/OpDefinition.h"
Public Types | |
using | region_iterator = MutableArrayRef< Region > |
using | region_range = RegionRange |
Public Member Functions | |
unsigned | getNumRegions () |
Return the number of regions. More... | |
Region & | getRegion (unsigned i) |
Return the region at index . More... | |
region_iterator | region_begin () |
Region iterator access. More... | |
region_iterator | region_end () |
region_range | getRegions () |
Additional Inherited Members | |
Protected Member Functions inherited from mlir::OpTrait::TraitBase< ConcreteType, TraitType > | |
Operation * | getOperation () |
Return the ultimate Operation being worked on. More... | |
Utility trait base that provides accessors for derived traits that have multiple regions.
Definition at line 528 of file OpDefinition.h.
using mlir::OpTrait::detail::MultiRegionTraitBase< ConcreteType, TraitType >::region_iterator = MutableArrayRef<Region> |
Definition at line 529 of file OpDefinition.h.
using mlir::OpTrait::detail::MultiRegionTraitBase< ConcreteType, TraitType >::region_range = RegionRange |
Definition at line 530 of file OpDefinition.h.
|
inline |
Return the number of regions.
Definition at line 533 of file OpDefinition.h.
References mlir::Operation::getNumRegions(), and mlir::OpTrait::TraitBase< ConcreteType, TraitType >::getOperation().
|
inline |
Return the region at index
.
Definition at line 536 of file OpDefinition.h.
References mlir::OpTrait::TraitBase< ConcreteType, TraitType >::getOperation(), and mlir::Operation::getRegion().
|
inline |
Definition at line 543 of file OpDefinition.h.
References mlir::OpTrait::TraitBase< ConcreteType, TraitType >::getOperation(), and mlir::Operation::getRegions().
|
inline |
Region iterator access.
Definition at line 539 of file OpDefinition.h.
References mlir::OpTrait::TraitBase< ConcreteType, TraitType >::getOperation().
|
inline |
Definition at line 542 of file OpDefinition.h.
References mlir::OpTrait::TraitBase< ConcreteType, TraitType >::getOperation().