aboutsummaryrefslogtreecommitdiff
path: root/ssa.h
diff options
context:
space:
mode:
authorTeddy <ted.sybil@gmail.com>2014-04-30 21:32:08 +0800
committerTeddy <ted.sybil@gmail.com>2014-04-30 21:32:08 +0800
commit09bd5680d97c5ef36158938c8d65eec455263557 (patch)
treee055e67ea7b61918020a2518f236b9019cae58d2 /ssa.h
parent6806fa4ff4a896f56fa69c37b9e45c6347cedf54 (diff)
interval merging
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;