MLIR
20.0.0git
|
This class adds property that the operation is commutative. More...
#include "mlir/IR/OpDefinition.h"
Static Public Member Functions | |
static LogicalResult | foldTrait (Operation *op, ArrayRef< Attribute > operands, SmallVectorImpl< OpFoldResult > &results) |
Additional Inherited Members | |
Protected Member Functions inherited from mlir::OpTrait::TraitBase< ConcreteType, IsCommutative > | |
Operation * | getOperation () |
Return the ultimate Operation being worked on. More... | |
This class adds property that the operation is commutative.
Definition at line 1140 of file OpDefinition.h.
|
inlinestatic |
Definition at line 1142 of file OpDefinition.h.
References mlir::OpTrait::impl::foldCommutative().