From eab5519a7663d027d9f0cd5fa45516698c450226 Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Thu, 26 Apr 2007 22:16:07 +0000 Subject: [PATCH] Fixed includes. More doxygen comments added. [r13498] --- ir/ir/irphase_t.h | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/ir/ir/irphase_t.h b/ir/ir/irphase_t.h index f393b8e6c..2ed2e97ce 100644 --- a/ir/ir/irphase_t.h +++ b/ir/ir/irphase_t.h @@ -14,21 +14,25 @@ #define _FIRM_IR_PHASE_T_H #include "firm_types.h" -#include "obstack.h" +#include "obst.h" #include "irgraph_t.h" #include "irtools.h" -#include "irtools.h" +/** + * For statistics: A type containing statistic data of a phase object. + */ typedef struct { - unsigned node_slots; - unsigned node_slots_used; - unsigned node_data_bytes; - unsigned node_map_bytes; - unsigned overall_bytes; + unsigned node_slots; /**< The number of allocated node slots. */ + unsigned node_slots_used; /**< The number of used node slots, ie. nodes that have node data. */ + unsigned node_map_bytes; /**< Number of used bytes for the node map. */ + unsigned overall_bytes; /**< Overall number of used bytes for the phase. */ } phase_stat_t; /** - * Phase statistics. + * Collect Phase statistics. + * + * @param phase The phase. + * @param stat Will be filled with the statistical data. */ phase_stat_t *phase_stat(const ir_phase *phase, phase_stat_t *stat); -- 2.20.1