#include "mlir/Dialect/Func/IR/FuncOps.h"
#include "mlir/Dialect/Func/Transforms/Passes.h"
namespace mlir {
namespace {
#define GEN_PASS_DEF_DUPLICATEFUNCTIONELIMINATIONPASS
#include "mlir/Dialect/Func/Transforms/Passes.h.inc"
struct DuplicateFuncOpEquivalenceInfo
: public llvm::DenseMapInfo<func::FuncOp> { … };
struct DuplicateFunctionEliminationPass
: public impl::DuplicateFunctionEliminationPassBase<
DuplicateFunctionEliminationPass> { … };
}
std::unique_ptr<Pass> mlir::func::createDuplicateFunctionEliminationPass() { … }
}