14#ifndef CIRCT_CONVERSION_HWARITHTOHW_HWARITHTOHW_H
15#define CIRCT_CONVERSION_HWARITHTOHW_HWARITHTOHW_H
18#include "mlir/IR/AttrTypeSubElements.h"
19#include "mlir/Transforms/DialectConversion.h"
28#define GEN_PASS_DECL_HWARITHTOHW
29#include "circt/Conversion/Passes.h.inc"
A helper type converter class that automatically populates the relevant materializations and type con...
bool hasSignednessSemantics(mlir::Type type)
mlir::AttrTypeReplacer signednessReplacer
mlir::Type removeSignedness(mlir::Type type)
HWArithToHWTypeConverter()
bool hasSignednessSemantics(mlir::TypeRange types)
The InstanceGraph op interface, see InstanceGraphInterface.td for more details.
void populateHWArithToHWConversionPatterns(HWArithToHWTypeConverter &typeConverter, RewritePatternSet &patterns)
Get the HWArith to HW conversion patterns.
std::unique_ptr< mlir::Pass > createHWArithToHWPass()