13 #ifndef CIRCT_DIALECT_ARC_ARCINTERFACES_H
14 #define CIRCT_DIALECT_ARC_ARCINTERFACES_H
16 #include "mlir/IR/DialectInterface.h"
20 class DialectRegistry;
A dialect interface to get runtime cost estimates of MLIR operations.
virtual uint32_t getCostEstimate(mlir::Operation *op) const =0
Returns a number indicating the expected number of cycles the given operation will take to execute on...
RuntimeCostEstimateDialectInterface(mlir::Dialect *dialect)
void initAllExternalInterfaces(mlir::DialectRegistry ®istry)
void registerCombRuntimeCostEstimateInterface(mlir::DialectRegistry ®istry)
void registerSCFRuntimeCostEstimateInterface(mlir::DialectRegistry ®istry)
void registerHWRuntimeCostEstimateInterface(mlir::DialectRegistry ®istry)
The InstanceGraph op interface, see InstanceGraphInterface.td for more details.