MLIR
20.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. More... | |
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. More... | |
This class provides APIs for ops that are known to have a single region.
Definition at line 549 of file OpDefinition.h.
|
inline |
Returns a range of operations within the region of this operation.
Definition at line 554 of file OpDefinition.h.
References mlir::Region::getOps(), and mlir::OpTrait::OneRegion< ConcreteType >::getRegion().
|
inline |
Definition at line 556 of file OpDefinition.h.
References mlir::OpTrait::OneRegion< ConcreteType >::getRegion().
|
inline |
Definition at line 551 of file OpDefinition.h.
References mlir::OpTrait::TraitBase< ConcreteType, OneRegion >::getOperation(), and mlir::Operation::getRegion().
Referenced by mlir::OpTrait::OneRegion< ConcreteType >::getOps().
|
inlinestatic |
Definition at line 560 of file OpDefinition.h.
References mlir::OpTrait::impl::verifyOneRegion().