used new assure_*() functions
[libfirm] / ir / opt / loop_unrolling.h
index ab2ab0b..5c0c7cb 100644 (file)
@@ -1,7 +1,4 @@
-/**
- *
- * @file loop_unrolling.h
- *
+/*
  * Project:     libFIRM
  * File name:   ir/opt/loop_unrolling.h
  * Purpose:     Loop unrolling.
  * CVS-ID:      $Id$
  * Copyright:   (c) 2004 Universität Karlsruhe
  * Licence:     This file protected by GPL -  GNU GENERAL PUBLIC LICENSE.
- *
- *
- *
- *
  */
 
-
-# ifndef _LOOP_UNROLLING_H_
-# define _LOOP_UNROLLING_H_
-
-# include "irgraph.h"
-
-/** Loop unrolling.
+/**
+ * @file loop_unrolling.h
+ *
+ * Loop unrolling.
  *
+ * @author Beyhan Veliev
  */
+#ifndef _LOOP_UNROLLING_H_
+#define _LOOP_UNROLLING_H_
 
-void optimize_loop_unrolling (ir_graph *irg);
-
-
+#include "irgraph.h"
+/* Make a copy for a ir node.*/
+void copy_irn(ir_node *irn, void *env);
+/**
+ * Do Loop unrolling in the given graph.
+ */
+void optimize_loop_unrolling(ir_graph *irg);
 #endif  /* _LOOP_UNROLLING_H_ */