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"
30 namespace handshaketodc {
38 mlir::Operation *op, HandshakeToDCOptions options,
39 llvm::function_ref<
void(TypeConverter &typeConverter,
43 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, HandshakeToDCOptions options, 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.