summary refs log tree commit diff
path: root/lisc/lisc.h
diff options
context:
space:
mode:
authorQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2015-07-10 13:55:47 -0400
committerQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2015-09-15 23:01:27 -0400
commit851e79f9590b705a0fb168d16755caad03650348 (patch)
treee74b6dd89f53b4bd81661387cc6cbdea23836b63 /lisc/lisc.h
parent11db0b61d95d63830e1e87f20464b10c5d316d0f (diff)
downloadroux-851e79f9590b705a0fb168d16755caad03650348.tar.gz
add rpo information to functions
Diffstat (limited to 'lisc/lisc.h')
-rw-r--r--lisc/lisc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lisc/lisc.h b/lisc/lisc.h
index da735f0..a26dc1e 100644
--- a/lisc/lisc.h
+++ b/lisc/lisc.h
@@ -89,6 +89,7 @@ struct Blk {
 	Blk *link;
 
 	char name[NString];
+	int rpo;
 	Blk **preds;
 	int npreds;
 };
@@ -108,6 +109,8 @@ struct Fn {
 	Blk *start;
 	Sym *sym;
 	int ntemp;
+	int nblk;
+	Blk **rpo;
 };
 
 
@@ -117,3 +120,4 @@ Fn *parsefn(FILE *);
 
 /* ssa.c */
 void fillpreds(Fn *);
+void fillrpo(Fn *);