14 #ifndef CIRCT_CONVERSION_HANDSHAKETODC_H
15 #define CIRCT_CONVERSION_HANDSHAKETODC_H
18 #include "mlir/IR/Builders.h"
27 #define GEN_PASS_DECL_HANDSHAKETODC
28 #include "circt/Conversion/Passes.h.inc"
32 namespace handshaketodc {
41 llvm::function_ref<
void(TypeConverter &typeConverter,
45 llvm::function_ref<
void(mlir::ConversionTarget &)> configureTarget = {});
Type toValidType(Type t)
Converts 't' into a valid HW type.
DenseSet< Operation * > ConvertedOps
LogicalResult runHandshakeToDC(mlir::Operation *op, llvm::function_ref< void(TypeConverter &typeConverter, ConvertedOps &convertedOps, RewritePatternSet &patterns)> patternBuilder, llvm::function_ref< void(mlir::ConversionTarget &)> configureTarget={})
The InstanceGraph op interface, see InstanceGraphInterface.td for more details.
std::unique_ptr< mlir::Pass > createHandshakeToDCPass()