From 771554e39c047eec8e0451c5d8d7adbf990d356c Mon Sep 17 00:00:00 2001 From: lemon Date: Sat, 20 Dec 2025 17:42:30 +0100 Subject: backend: general simplification pass skeleton --- ir/ir.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ir/ir.h') diff --git a/ir/ir.h b/ir/ir.h index 4049811..ad22eb9 100644 --- a/ir/ir.h +++ b/ir/ir.h @@ -275,6 +275,7 @@ void filluses(struct function *); void delinstr(struct block *, int idx); void delphi(struct block *, int idx); void delnops(struct block *blk); +void delpred(struct block *blk, struct block *p); void fillblkids(struct function *); #define startbbvisit() (void)(++visitmark) #define wasvisited(blk) ((blk)->visit == visitmark) @@ -311,6 +312,9 @@ void filldom(struct function *fn); void abi0(struct function *); void abi0_call(struct function *, struct instr *, struct block *blk, int *curi); +/** simpl.c **/ +void simpl(struct function *); + /** mem2reg.c **/ void mem2reg(struct function *); -- cgit v1.2.3