MLIR  20.0.0git
Classes
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: