|
MLIR 22.0.0git
|
This class provides APIs for ops that are known to have a single region. More...
#include "mlir/IR/OpDefinition.h"
Public Member Functions | |
| Region & | getRegion () |
| auto | getOps () |
| Returns a range of operations within the region of this operation. | |
| template<typename OpT> | |
| auto | getOps () |
Static Public Member Functions | |
| static LogicalResult | verifyTrait (Operation *op) |
Additional Inherited Members | |
| Protected Member Functions inherited from mlir::OpTrait::TraitBase< ConcreteType, OneRegion > | |
| Operation * | getOperation () |
| Return the ultimate Operation being worked on. | |
This class provides APIs for ops that are known to have a single region.
Definition at line 556 of file OpDefinition.h.
|
inline |
Returns a range of operations within the region of this operation.
Definition at line 561 of file OpDefinition.h.
References mlir::Region::getOps(), and getRegion().
Referenced by getOps().
|
inline |
Definition at line 563 of file OpDefinition.h.
References getOps(), and getRegion().
|
inline |
Definition at line 558 of file OpDefinition.h.
References mlir::OpTrait::TraitBase< ConcreteType, OneRegion >::getOperation(), and mlir::Operation::getRegion().
Referenced by getOps().
|
inlinestatic |
Definition at line 567 of file OpDefinition.h.
References mlir::OpTrait::impl::verifyOneRegion().