/*
- * 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.
*
#ifndef FIRM_BE_BEUSES_H
#define FIRM_BE_BEUSES_H
-#include "irgraph.h"
-#include "irnode.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
-static INLINE int USES_IS_INFINITE(unsigned time)
+static inline int USES_IS_INFINITE(unsigned time)
{
return time >= USES_INFINITY;
}
-static INLINE int USES_IS_PENDING(unsigned time)
+static inline int USES_IS_PENDING(unsigned time)
{
return time == USES_PENDING;
}