11#include "mlir/Pass/Pass.h"
12#include "llvm/Support/Debug.h"
16#define GEN_PASS_DEF_STRIPOMPASS
17#include "circt/Dialect/OM/OMPasses.h.inc"
25struct StripOMPass :
public om::impl::StripOMPassBase<StripOMPass> {
26 void runOnOperation()
override {
27 for (
auto &op : llvm::make_early_inc_range(getOperation().getOps()))
28 if (isa_and_nonnull<om::OMDialect>(op.getDialect()))
The InstanceGraph op interface, see InstanceGraphInterface.td for more details.