15 #include "mlir/IR/DialectImplementation.h"
16 #include "mlir/Transforms/InliningUtils.h"
18 using namespace circt;
26 struct HWArithInlinerInterface :
public mlir::DialectInlinerInterface {
27 using mlir::DialectInlinerInterface::DialectInlinerInterface;
30 bool isLegalToInline(Operation *, Region *,
bool, IRMapping &)
const final {
40 void HWArithDialect::initialize() {
44 #include "circt/Dialect/HWArith/HWArith.cpp.inc"
48 addInterfaces<HWArithInlinerInterface>();
52 #include "circt/Dialect/HWArith/HWArithEnums.cpp.inc"
54 #include "circt/Dialect/HWArith/HWArithDialect.cpp.inc"
The InstanceGraph op interface, see InstanceGraphInterface.td for more details.