[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 9/9] tcg/optimize: rename tcg_constant_folding
From: |
Richard Henderson |
Subject: |
[Qemu-devel] [PULL 9/9] tcg/optimize: rename tcg_constant_folding |
Date: |
Tue, 9 Jun 2015 07:13:05 -0700 |
From: Aurelien Jarno <address@hidden>
The tcg_constant_folding folding ends up doing all the optimizations
(which is a good thing to avoid looping on all ops multiple time), so
make it clear and just rename it tcg_optimize.
Cc: Richard Henderson <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>
---
tcg/optimize.c | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/tcg/optimize.c b/tcg/optimize.c
index 859a6c1..0f6f700 100644
--- a/tcg/optimize.c
+++ b/tcg/optimize.c
@@ -574,7 +574,7 @@ static bool swap_commutative2(TCGArg *p1, TCGArg *p2)
}
/* Propagate constants and copies, fold constant expressions. */
-static void tcg_constant_folding(TCGContext *s)
+void tcg_optimize(TCGContext *s)
{
int oi, oi_next, nb_temps, nb_globals;
@@ -1328,8 +1328,3 @@ static void tcg_constant_folding(TCGContext *s)
}
}
}
-
-void tcg_optimize(TCGContext *s)
-{
- tcg_constant_folding(s);
-}
--
2.4.2
- [Qemu-devel] [PULL 0/9] tcg patch queue, Richard Henderson, 2015/06/09
- [Qemu-devel] [PULL 1/9] tcg: Mask TCGMemOp appropriately for indexing, Richard Henderson, 2015/06/09
- [Qemu-devel] [PULL 2/9] tcg: Handle MO_AMASK in tcg_dump_ops, Richard Henderson, 2015/06/09
- [Qemu-devel] [PULL 3/9] tcg: fix register allocation with two aliased dead inputs, Richard Henderson, 2015/06/09
- [Qemu-devel] [PULL 4/9] tcg: fix dead computation for repeated input arguments, Richard Henderson, 2015/06/09
- [Qemu-devel] [PULL 5/9] tcg/optimize: remove opc argument from tcg_opt_gen_movi, Richard Henderson, 2015/06/09
- [Qemu-devel] [PULL 7/9] tcg/optimize: fold temp copies test in tcg_opt_gen_mov, Richard Henderson, 2015/06/09
- [Qemu-devel] [PULL 6/9] tcg/optimize: remove opc argument from tcg_opt_gen_mov, Richard Henderson, 2015/06/09
- [Qemu-devel] [PULL 9/9] tcg/optimize: rename tcg_constant_folding,
Richard Henderson <=
- [Qemu-devel] [PULL 8/9] tcg/optimize: fold constant test in tcg_opt_gen_mov, Richard Henderson, 2015/06/09
- Re: [Qemu-devel] [PULL 0/9] tcg patch queue, Peter Maydell, 2015/06/09