CPPFLAGS += -I$(top_srcdir)/ir/adt -I$(top_srcdir)/ir/ir -I$(top_srcdir)/ir/common \
-I$(top_srcdir)/ir/ident -I$(top_srcdir)/ir/tr -I$(top_srcdir)/ir/tv \
- -I$(top_srcdir)/ir/debug -I$(top_srcdir)/ir/ana -I$(top_srcdir)/ir/st
+ -I$(top_srcdir)/ir/debug -I$(top_srcdir)/ir/ana -I$(top_srcdir)/ir/st \
+ -I$(top_srcdir)/ir/stat
include $(top_srcdir)/MakeTargets
/* Functionality for part_block */
/*--------------------------------------------------------------------*/
-/* Moves node and all predecessors of node from from_bl to to_bl.
- Does not move predecessors of Phi nodes (or block nodes). */
-
+/**
+ * Moves node and all predecessors of node from from_bl to to_bl.
+ * Does not move predecessors of Phi nodes (or block nodes).
+ */
static void move (ir_node *node, ir_node *from_bl, ir_node *to_bl) {
int i;
ir_node *proj, *pred;
#include "irdump.h"
#include "irflag_t.h"
#include "irop_t.h"
-
#include "irprog_t.h"
+#include "firmstat.h"
+
/* some constants fixing the positions of nodes predecessors
in the in array */
#define CALL_PARAM_OFFSET 2
res->node_nr = get_irp_new_node_nr();
#endif
+ stat_new_node(res);
+
return res;
}
# include "irop_t.h"
# include "irnode_t.h"
+# include "firmstat.h"
# include "xmalloc.h"
res->op_index = op_index;
firm_set_default_operations(res);
+ stat_new_ir_op(res);
return res;
}
void free_ir_op(ir_op *code) {
+ stat_free_ir_op(code);
free(code);
}