projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Example for optimizing non-strict programs using combo.
[libfirm]
/
ir
/
be
/
beloopana.h
diff --git
a/ir/be/beloopana.h
b/ir/be/beloopana.h
index
627c54d
..
29778f2
100644
(file)
--- a/
ir/be/beloopana.h
+++ b/
ir/be/beloopana.h
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (C) 1995-200
7
University of Karlsruhe. All right reserved.
+ * Copyright (C) 1995-200
8
University of Karlsruhe. All right reserved.
*
* This file is part of libFirm.
*
*
* This file is part of libFirm.
*
@@
-43,11
+43,14
@@
typedef struct _be_loopana_t be_loopana_t;
be_loopana_t *be_new_loop_pressure_cls(be_irg_t *birg, const arch_register_class_t *cls);
/**
be_loopana_t *be_new_loop_pressure_cls(be_irg_t *birg, const arch_register_class_t *cls);
/**
- * Compute the register pressure
for all classes
of all loops in the birg.
+ * Compute the register pressure of all loops in the birg.
* @param birg The backend irg object
* @param birg The backend irg object
+ * @param cls register class to compute loop pressure for,
+ * if NULL computes for all classes
* @return The loop analysis object.
*/
* @return The loop analysis object.
*/
-be_loopana_t *be_new_loop_pressure(be_irg_t *birg);
+be_loopana_t *be_new_loop_pressure(be_irg_t *birg,
+ const arch_register_class_t *cls);
/**
* Returns the computed register pressure for the given class and loop.
/**
* Returns the computed register pressure for the given class and loop.