MLIR 22.0.0git
mlir::OpTrait::AtMostOneChildOf< ChildOps > Class Template Reference

Characterize operations that have at most a single operation of certain types in their region. More...

#include "mlir/Dialect/IRDL/IR/IRDLTraits.h"

Classes

class  Impl

Detailed Description

template<typename... ChildOps>
class mlir::OpTrait::AtMostOneChildOf< ChildOps >

Characterize operations that have at most a single operation of certain types in their region.

This check is only done on the children that are immediate children of the operation, and does not recurse into the children's regions. This trait expects the Op to satisfy the OneRegion trait.

Definition at line 29 of file IRDLTraits.h.


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