aboutsummaryrefslogtreecommitdiff
path: root/ssa.h
diff options
context:
space:
mode:
authorTeddy <ted.sybil@gmail.com>2014-04-29 16:24:26 +0800
committerTeddy <ted.sybil@gmail.com>2014-04-29 16:24:26 +0800
commitc5686107b96e8d796029c9cf4536021066b4001e (patch)
treec4a39a123f547750377b31b355b2427013fe6a42 /ssa.h
parent9ae0ff9fdd9266a6fdf2e463e58204f050a02589 (diff)
dominant frontier
Diffstat (limited to 'ssa.h')
-rw-r--r--ssa.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ssa.h b/ssa.h
index bedf7c8..bf49f0f 100644
--- a/ssa.h
+++ b/ssa.h
@@ -65,7 +65,7 @@ struct CBList {
CBList_t next;
};
-CBlock_t cblock_create();
+CBlock_t cblock_create(int inc);
void cblock_append(CBlock_t cblk, CInst_t inst);
void cblock_pappend(CBlock_t cblk, CPhi_t phi);
CInst_t cblock_getback(CBlock_t cblk);
@@ -90,6 +90,7 @@ typedef CPSet *CPSet_t;
CPSet_t cpset_create();
void cpset_insert(CPSet_t cps, long key);
+int cpset_belongs(CPSet_t cps, long key);
void ssa_generate(CScope_t scope);
#endif