Commit eab5519a authored by Michael Beck's avatar Michael Beck
Browse files

Fixed includes.

More doxygen comments added.

parent 619ccad7
......@@ -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);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment