|
MLIR 22.0.0git
|
This class provides verification for ops that are known to have the same operand and result type. More...
#include "mlir/IR/OpDefinition.h"
Static Public Member Functions | |
| static LogicalResult | verifyTrait (Operation *op) |
Additional Inherited Members | |
| Protected Member Functions inherited from mlir::OpTrait::TraitBase< ConcreteType, SameOperandsAndResultType > | |
| Operation * | getOperation () |
| Return the ultimate Operation being worked on. | |
This class provides verification for ops that are known to have the same operand and result type.
Note: this trait subsumes the SameOperandsAndResultShape and SameOperandsAndResultElementType traits.
Definition at line 1099 of file OpDefinition.h.
|
inlinestatic |
Definition at line 1102 of file OpDefinition.h.
References mlir::OpTrait::impl::verifySameOperandsAndResultType().