CIRCT
20.0.0git
|
A dialect interface to get runtime cost estimates of MLIR operations. More...
#include <ArcInterfaces.h>
Public Member Functions | |
RuntimeCostEstimateDialectInterface (mlir::Dialect *dialect) | |
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 hardware times 10 (to allow a bit more fine tuning for high-throughput operations) More... | |
A dialect interface to get runtime cost estimates of MLIR operations.
This is useful for implementing heuristics in optimization passes.
Definition at line 38 of file ArcInterfaces.h.
|
inline |
Definition at line 41 of file ArcInterfaces.h.
|
pure virtual |
Returns a number indicating the expected number of cycles the given operation will take to execute on hardware times 10 (to allow a bit more fine tuning for high-throughput operations)