/*
- * Copyright (C) 1995-2007 University of Karlsruhe. All right reserved.
+ * Copyright (C) 1995-2008 University of Karlsruhe. All right reserved.
*
* This file is part of libFirm.
*
*/
/**
- * @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 "bearch_t.h"
+#include "firm_types.h"
#include "belive.h"
typedef struct _be_next_use_t {
- unsigned time;
- int outermost_loop;
+ unsigned time;
+ int outermost_loop;
+ const ir_node *before;
} 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)
{
void be_end_uses(be_uses_t *uses);
-#endif /* _BEUSES_H */
+#endif /* FIRM_BE_BEUSES_H */