aboutsummaryrefslogtreecommitdiffhomepage
path: root/ir/ir.h
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2025-12-20 17:42:30 +0100
committerlemon <lsof@mailbox.org>2025-12-20 17:42:30 +0100
commit771554e39c047eec8e0451c5d8d7adbf990d356c (patch)
treecf9b10f44a6cd451746dd519684c6c646c951b87 /ir/ir.h
parent96779975f3b8c73e6e1f1e5a07c8c2e386f353ae (diff)
backend: general simplification pass skeleton
Diffstat (limited to 'ir/ir.h')
-rw-r--r--ir/ir.h4
1 files changed, 4 insertions, 0 deletions
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 *);