becopyopt: Remove the unnecessary attribute name from struct copy_opt_t.
[libfirm] / ir / be / belower.h
index c6fdc34..ac02daf 100644 (file)
@@ -1,16 +1,34 @@
+/*
+ * This file is part of libFirm.
+ * Copyright (C) 2012 University of Karlsruhe.
+ */
+
 /**
- * Chordal register allocation.
- * @author Christian Wuerdig
- * @date 2005/12/14
- * @cvsid $Id$
+ * @file
+ * @brief       Performs lowering of perm nodes. Inserts copies to assure
+ *              register constraints.
+ * @author      Christian Wuerdig
+ * @date        14.12.2005
  */
+#ifndef FIRM_BE_BELOWER_H
+#define FIRM_BE_BELOWER_H
 
-#ifndef _BELOWER_H_
-#define _BELOWER_H_
+#include "firm_types.h"
 
-#include "beirg.h"
+/**
+ * Walks over all nodes to assure register constraints.
+ *
+ * @param irg  The graph
+ */
+void assure_constraints(ir_graph *irg);
 
-void assure_constraints(be_irg_t *birg);
-void lower_nodes_after_ra(be_irg_t *birg, int do_copy);
+/**
+ * Walks over all blocks in an irg and performs lowering need to be
+ * done after register allocation (e.g. perm lowering).
+ *
+ * @param irg       The graph
+ * @param do_copy   1 == resolve cycles with a free reg if available
+ */
+void lower_nodes_after_ra(ir_graph *irg, int do_copy);
 
-#endif /* _BELOWER_H_ */
+#endif