aboutsummaryrefslogtreecommitdiff
path: root/all.h
diff options
context:
space:
mode:
authorRoland Paterson-Jones <[email protected]>2024-11-20 16:05:51 +0200
committerQuentin Carbonneaux <[email protected]>2025-03-14 13:07:40 +0100
commit1cb255cb045d1e531d5e7e6961ac90bb6f7a0474 (patch)
tree148e1199407ff41a88d4b60944258edac83c84f0 /all.h
parentc2ff93e75e5f6df8e1679120b18f0d5884deab2b (diff)
Get rid of movins() infra.
Diffstat (limited to 'all.h')
-rw-r--r--all.h24
1 files changed, 2 insertions, 22 deletions
diff --git a/all.h b/all.h
index ceb7520..6da6330 100644
--- a/all.h
+++ b/all.h
@@ -355,8 +355,6 @@ struct Tmp {
} width;
int visit;
uint gcmbid;
- uint gcminsn; // TODO get rid
- uint gcmdefinsn; // TODO get rid
};
struct Con {
@@ -463,20 +461,6 @@ struct Dat {
char isstr;
};
-typedef struct InsLoc InsLoc;
-
-struct InsLoc {
- uint bid;
- uint insn;
-};
-
-typedef struct InsMov InsMov;
-
-struct InsMov {
- InsLoc from;
- InsLoc to;
-};
-
/* main.c */
extern Target T;
extern char debug['Z'+1];
@@ -497,6 +481,8 @@ void freeall(void);
void *vnew(ulong, size_t, Pool);
void vfree(void *);
void vgrow(void *, ulong);
+void addins(Ins **, uint *, Ins *);
+void addbins(Blk *, Ins **, uint *);
void strf(char[NString], char *, ...);
uint32_t intern(char *);
char *str(uint32_t);
@@ -616,12 +602,6 @@ void gvn(Fn *);
int isfixed(Fn *, Ins *);
void gcm(Fn *);
-/* ins.c */
-void addins(Ins **, uint *, Ins *);
-void addbins(Blk *, Ins **, uint *);
-void nopunused(Fn *);
-void movins(Fn *, InsMov *, uint, int);
-
/* reassoc.c */
void reassoc(Fn *);