From a9bc5a59ac608d795d0203ea8baad2c71138d01f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Christian=20W=C3=BCrdig?= Date: Tue, 4 Apr 2006 14:25:08 +0000 Subject: [PATCH] added IA32 backend dbg statistics [r7573] --- ir/stat/firmstat.h | 5 +++++ ir/stat/stat_dmp.c | 7 ++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/ir/stat/firmstat.h b/ir/stat/firmstat.h index 9c45764cf..27ab58570 100644 --- a/ir/stat/firmstat.h +++ b/ir/stat/firmstat.h @@ -66,6 +66,11 @@ enum firmstat_optimizations_t { FS_OPT_MUX_TO_ABS, /**< Mux(a > b, a, b) = Abs(a,b) */ FS_OPT_MUX_TO_SHR, /**< Mux(a > b, a, b) = a >> b */ FS_BE_IA32_LEA, /**< Lea was created */ + FS_BE_IA32_LOAD_LEA, /**< Load merged with a Lea */ + FS_BE_IA32_STORE_LEA, /**< Store merged with a Lea */ + FS_BE_IA32_AM_S, /**< Source address mode node created */ + FS_BE_IA32_AM_D, /**< Destination address mode node created */ + FS_BE_IA32_CJMP, /**< CJmp created to save a cmp/test */ FS_OPT_MAX }; diff --git a/ir/stat/stat_dmp.c b/ir/stat/stat_dmp.c index 3f7847ba9..ea14eb54c 100644 --- a/ir/stat/stat_dmp.c +++ b/ir/stat/stat_dmp.c @@ -76,7 +76,12 @@ static const struct { { FS_OPT_MUX_TO_MAX, "algebraic simplification: Mux(a > b, a, b) = Max(a,b)" }, { FS_OPT_MUX_TO_ABS, "algebraic simplification: Mux(a > b, a, b) = Abs(a,b)" }, { FS_OPT_MUX_TO_SHR, "algebraic simplification: Mux(a > b, a, b) = a >> b" }, - { FS_BE_IA32_LEA, "Backend transformation: Lea was created" }, + { FS_BE_IA32_LEA, "ia32 Backend transformation: Lea was created" }, + { FS_BE_IA32_LOAD_LEA, "ia32 Backend transformation: Load merged with a Lea" }, + { FS_BE_IA32_STORE_LEA, "ia32 Backend transformation: Store merged with a Lea" }, + { FS_BE_IA32_AM_S, "ia32 Backend transformation: Source address mode node created" }, + { FS_BE_IA32_AM_D, "ia32 Backend transformation: Destination address mode node created" }, + { FS_BE_IA32_CJMP, "ia32 Backend transformation: CJmp created to save a cmp/test" }, }; static const char *if_conv_names[IF_RESULT_LAST] = { -- 2.20.1