projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
start register allocator again, fix typo
[libfirm]
/
ir
/
be
/
beuses.h
diff --git
a/ir/be/beuses.h
b/ir/be/beuses.h
index
604ae0d
..
68f4b57
100644
(file)
--- a/
ir/be/beuses.h
+++ b/
ir/be/beuses.h
@@
-14,7
+14,12
@@
#include "bearch.h"
#include "belive.h"
#include "bearch.h"
#include "belive.h"
-#define USES_INFINITY 1000000
+typedef struct _be_next_use_t {
+ unsigned time;
+ int outermost_loop;
+} be_next_use_t;
+
+#define USES_INFINITY 10000000
static INLINE int USES_IS_INFINITE(unsigned time)
{
static INLINE int USES_IS_INFINITE(unsigned time)
{
@@
-23,12
+28,11
@@
static INLINE int USES_IS_INFINITE(unsigned time)
typedef struct _be_uses_t be_uses_t;
typedef struct _be_uses_t be_uses_t;
-
unsigned be_get_next_use(be_uses_t *uses, const
ir_node *from,
+
be_next_use_t be_get_next_use(be_uses_t *uses,
ir_node *from,
unsigned from_step, const ir_node *def,
int skip_from_uses);
unsigned from_step, const ir_node *def,
int skip_from_uses);
-be_uses_t *be_begin_uses(ir_graph *irg, const exec_freq_t *execfreqs,
- const be_lv_t *lv);
+be_uses_t *be_begin_uses(ir_graph *irg, const be_lv_t *lv);
void be_end_uses(be_uses_t *uses);
void be_end_uses(be_uses_t *uses);