aboutsummaryrefslogtreecommitdiff
path: root/ssa.h
diff options
context:
space:
mode:
Diffstat (limited to 'ssa.h')
-rw-r--r--ssa.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ssa.h b/ssa.h
index 4e745d2..67ce3a4 100644
--- a/ssa.h
+++ b/ssa.h
@@ -28,9 +28,12 @@ struct COpr {
int imm;
char *str;
} info;
+
int sub;
CInst_t def;
CRange_t range;
+ int reg; /* -1 for spilled */
+ COpr_t par; /* union-find */
};
typedef struct COList COList;
@@ -60,6 +63,7 @@ struct CInst {
COpr_t dest, src1, src2;
CInst_t next, prev;
int id;
+ int is_def;
};
typedef struct CPhi CPhi;