From 3e83c4280f0b1d72774c522a7e0d135913151b56 Mon Sep 17 00:00:00 2001 From: lemon Date: Mon, 16 Mar 2026 12:15:13 +0100 Subject: ir: blk loop index for spill cost --- ir/ir.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'ir/ir.h') 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 *); -- cgit v1.2.3