aboutsummaryrefslogtreecommitdiffhomepage
path: root/ir/ir.h
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2026-03-16 12:15:13 +0100
committerlemon <lsof@mailbox.org>2026-03-16 12:15:13 +0100
commit3e83c4280f0b1d72774c522a7e0d135913151b56 (patch)
treebd80eeae4386e269d09aeaf18590d306c83c646d /ir/ir.h
parent5e6f97a1cadb1a1f8a1ed7cb4bd44bd1c79c150a (diff)
ir: blk loop index for spill cost
Diffstat (limited to 'ir/ir.h')
-rw-r--r--ir/ir.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/ir/ir.h b/ir/ir.h
index a4da8ad..e7eb62a 100644
--- a/ir/ir.h
+++ b/ir/ir.h
@@ -130,6 +130,7 @@ struct block {
int id;
int npred;
int visit;
+ ushort loop;
int inumstart;
union {
struct block *_pred0;
@@ -322,8 +323,9 @@ void mem2reg(struct function *);
void copyopt(struct function *);
/** cfg.c **/
-void sortrpo(struct function *fn);
-void filldom(struct function *fn);
+void sortrpo(struct function *);
+void filldom(struct function *);
+void fillloop(struct function *);
/** abi0.c **/
void abi0(struct function *);