summaryrefslogtreecommitdiffhomepage
path: root/ir/be/beuses.h
diff options
context:
space:
mode:
authorChristian Würdig <chriswue@ipd.info.uni-karlsruhe.de>2007-04-30 13:19:41 +0200
committerChristian Würdig <chriswue@ipd.info.uni-karlsruhe.de>2007-04-30 13:19:41 +0200
commit39f3a8dbd0f00f90b7b12a849d1bf7b9c1329479 (patch)
tree9bbb72511b00facbaa76aac4b30b98e6dd2a6265 /ir/be/beuses.h
parent5ebb1e647e34174e9646bed877b636163df153c8 (diff)
unified mein file comments
unified .h #ifndef ... #define ... changed some indenting removed some unused code removed beuses_t.h as unused header [r13559]
Diffstat (limited to 'ir/be/beuses.h')
-rw-r--r--ir/be/beuses.h29
1 files changed, 14 insertions, 15 deletions
diff --git a/ir/be/beuses.h b/ir/be/beuses.h
index 9fb4543..dac174f 100644
--- a/ir/be/beuses.h
+++ b/ir/be/beuses.h
@@ -18,28 +18,27 @@
*/
/**
- * @file beuse.h
- * @date 27.06.2005
- * @author Sebastian Hack, Matthias Braun
- *
- * Determine future usages of values.
- *
- * Copyright (C) 2005 Universitaet Karlsruhe
- * Released under the GPL
+ * @file
+ * @brief Methods to compute when a value will be used again.
+ * @author Sebastian Hack, Matthias Braun
+ * @date 27.06.2005
+ * @version $Id$
*/
-#ifndef _BEUSES_H
-#define _BEUSES_H
+#ifndef FIRM_BE_BEUSES_H
+#define FIRM_BE_BEUSES_H
+
+#include "irgraph.h"
+#include "irnode.h"
-#include "bearch_t.h"
#include "belive.h"
typedef struct _be_next_use_t {
unsigned time;
- int outermost_loop;
+ int outermost_loop;
} be_next_use_t;
-#define USES_INFINITY 10000000
-#define USES_PENDING 9999999
+#define USES_INFINITY 10000000
+#define USES_PENDING 9999999
static INLINE int USES_IS_INFINITE(unsigned time)
{
@@ -61,4 +60,4 @@ be_uses_t *be_begin_uses(ir_graph *irg, const be_lv_t *lv);
void be_end_uses(be_uses_t *uses);
-#endif /* _BEUSES_H */
+#endif /* FIRM_BE_BEUSES_H */