MLIR
20.0.0git
|
This class adds property that the operation is an involution. More...
#include "mlir/IR/OpDefinition.h"
Static Public Member Functions | |
static LogicalResult | verifyTrait (Operation *op) |
static OpFoldResult | foldTrait (Operation *op, ArrayRef< Attribute > operands) |
Additional Inherited Members | |
Protected Member Functions inherited from mlir::OpTrait::TraitBase< ConcreteType, IsInvolution > | |
Operation * | getOperation () |
Return the ultimate Operation being worked on. More... | |
This class adds property that the operation is an involution.
This means a unary to unary operation "f" that satisfies f(f(x)) = x
Definition at line 1151 of file OpDefinition.h.
|
inlinestatic |
Definition at line 1165 of file OpDefinition.h.
|
inlinestatic |
Definition at line 1153 of file OpDefinition.h.