MLIR
20.0.0git
|
This class provides the API for a sub-set of ops that are known to be constant-like. 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, ConstantLike > | |
Operation * | getOperation () |
Return the ultimate Operation being worked on. More... | |
This class provides the API for a sub-set of ops that are known to be constant-like.
These are non-side effecting operations with one result and zero operands that can always be folded to a specific attribute value.
Definition at line 1230 of file OpDefinition.h.
|
inlinestatic |
Definition at line 1232 of file OpDefinition.h.