ia32: Simplify ia32_register_saved_by().
[libfirm] / ir / be / beutil.h
index 4017114..5a0c4f0 100644 (file)
  * @file
  * @brief       Contains some useful function for the backend.
  * @author      Sebastian Hack
- * @version     $Id$
  */
 #ifndef FIRM_BE_BEUTIL_H
 #define FIRM_BE_BEUTIL_H
 
-#include <stdio.h>
-
 #include "firm_types.h"
-#include "pset.h"
-
-#include "bearch.h"
-
-/* iterate over a list of ir_nodes linked by link field */
-#define foreach_linked_irns(head, iter) for ((iter) = (head); (iter); (iter) = get_irn_link((iter)))
 
 /**
  * Convenient block getter.
@@ -59,13 +50,6 @@ static inline const ir_node *get_block_const(const ir_node *irn)
  */
 void be_clear_links(ir_graph *irg);
 
-/**
- * Returns the number of reachable nodes in an irg.
- * @param irg The irg.
- * @return The number of reachable nodes.
- */
-unsigned get_num_reachable_nodes(ir_graph *irg);
-
 /**
  * Gets the Proj with number pn from irn.
  */