MLIR
20.0.0git
|
#include "mlir/Dialect/IRDL/IR/IRDLTraits.h"
Public Member Functions | |
template<typename OpT > | |
std::enable_if_t< std::disjunction< std::is_same< OpT, ChildOps >... >::value, std::optional< OpT > > | getOp () |
Get the unique operation of a specific op that is in the operation region. More... | |
Static Public Member Functions | |
static LogicalResult | verifyTrait (Operation *op) |
Additional Inherited Members | |
Protected Member Functions inherited from mlir::OpTrait::TraitBase< ConcreteType, AtMostOneChildOf< ChildOps... >::Impl > | |
Operation * | getOperation () |
Return the ultimate Operation being worked on. More... | |
Definition at line 32 of file IRDLTraits.h.
|
inline |
Get the unique operation of a specific op that is in the operation region.
Definition at line 68 of file IRDLTraits.h.
References mlir::OpTrait::TraitBase< ConcreteType, AtMostOneChildOf< ChildOps... >::Impl >::getOperation().
|
inlinestatic |
Definition at line 35 of file IRDLTraits.h.
References mlir::Operation::emitError().