summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bera.h
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2014-07-07 16:03:07 +0200
committerMatthias Braun <matze@braunis.de>2014-07-07 16:06:29 +0200
commit9d0b843b08f4ef4360f682427b51bc0cccb36092 (patch)
tree38fc0ad411cf36e1ecde668d40400a10a21def82 /ir/be/bera.h
parent771728a99730d7fbb660d4108dd818792f52b81f (diff)
be: change pre spill prepare phase to work on all register classes at once
- Only iterating over the graph once should be slightly faster - We don't need to insert the middle of register allocation logic but can perform it once before. - We can gather statistics on the prepared graph before spilling/regalloc has happened.
Diffstat (limited to 'ir/be/bera.h')
-rw-r--r--ir/be/bera.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/ir/be/bera.h b/ir/be/bera.h
index ee107fb..13dbeff 100644
--- a/ir/be/bera.h
+++ b/ir/be/bera.h
@@ -25,4 +25,10 @@ void be_register_allocator(const char *name, be_ra_t *allocator);
*/
void be_allocate_registers(ir_graph *irg);
+/**
+ * Adds additional copies in cases where special register constraints make them
+ * unavailable and therefore increase the actual register pressure.
+ */
+void be_add_missing_copies(ir_graph *irg);
+
#endif