summaryrefslogtreecommitdiff
path: root/passes/opt
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2013-06-05 07:07:31 +0200
committerClifford Wolf <clifford@clifford.at>2013-06-05 07:07:31 +0200
commitc32b9186815d0f129d923749a3c668c32f343c53 (patch)
tree6b91223c8dc5ac0921c2ae4c22a4913e8bf81603 /passes/opt
parent29d6ebd961442d5df28a39dd907988480400fea6 (diff)
Renamed opt_rmunused to opt_clean
Diffstat (limited to 'passes/opt')
-rw-r--r--passes/opt/Makefile.inc2
-rw-r--r--passes/opt/opt.cc4
-rw-r--r--passes/opt/opt_clean.cc (renamed from passes/opt/opt_rmunused.cc)10
3 files changed, 8 insertions, 8 deletions
diff --git a/passes/opt/Makefile.inc b/passes/opt/Makefile.inc
index 3602b96b..9dfb32c8 100644
--- a/passes/opt/Makefile.inc
+++ b/passes/opt/Makefile.inc
@@ -4,6 +4,6 @@ OBJS += passes/opt/opt_share.o
OBJS += passes/opt/opt_muxtree.o
OBJS += passes/opt/opt_reduce.o
OBJS += passes/opt/opt_rmdff.o
-OBJS += passes/opt/opt_rmunused.o
+OBJS += passes/opt/opt_clean.o
OBJS += passes/opt/opt_const.o
diff --git a/passes/opt/opt.cc b/passes/opt/opt.cc
index ea1c9570..467baf23 100644
--- a/passes/opt/opt.cc
+++ b/passes/opt/opt.cc
@@ -45,7 +45,7 @@ struct OptPass : public Pass {
log(" opt_reduce\n");
log(" opt_share\n");
log(" opt_rmdff\n");
- log(" opt_rmunused\n");
+ log(" opt_clean\n");
log(" opt_const\n");
log(" while [changed design]\n");
log("\n");
@@ -68,7 +68,7 @@ struct OptPass : public Pass {
Pass::call(design, "opt_reduce");
Pass::call(design, "opt_share");
Pass::call(design, "opt_rmdff");
- Pass::call(design, "opt_rmunused");
+ Pass::call(design, "opt_clean");
Pass::call(design, "opt_const");
if (OPT_DID_SOMETHING == false)
break;
diff --git a/passes/opt/opt_rmunused.cc b/passes/opt/opt_clean.cc
index 3d6d755a..0b4defdf 100644
--- a/passes/opt/opt_rmunused.cc
+++ b/passes/opt/opt_clean.cc
@@ -240,13 +240,13 @@ static void rmunused_module(RTLIL::Module *module)
rmunused_module_signals(module);
}
-struct OptRmUnusedPass : public Pass {
- OptRmUnusedPass() : Pass("opt_rmunused", "remove unused cells and wires") { }
+struct OptCleanPass : public Pass {
+ OptCleanPass() : Pass("opt_clean", "remove unused cells and wires") { }
virtual void help()
{
// |---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|
log("\n");
- log(" opt_rmunused [selection]\n");
+ log(" opt_clean [selection]\n");
log("\n");
log("This pass identifies wires and cells that are unused and removes them. Other\n");
log("passes often remove cells but leave the wires in the design or reconnect the\n");
@@ -258,7 +258,7 @@ struct OptRmUnusedPass : public Pass {
}
virtual void execute(std::vector<std::string> args, RTLIL::Design *design)
{
- log_header("Executing OPT_RMUNUSED pass (remove unused cells and wires).\n");
+ log_header("Executing OPT_CLEAN pass (remove unused cells and wires).\n");
log_push();
extra_args(args, 1, design);
@@ -284,5 +284,5 @@ struct OptRmUnusedPass : public Pass {
ct.clear();
log_pop();
}
-} OptRmUnusedPass;
+} OptCleanPass;