You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
1.9 KiB
45 lines
1.9 KiB
digraph iCFG {
|
|
11 [label="11: DeclStmt \n *&v:int =3 [line 17]\n " shape="box"]
|
|
|
|
|
|
11 -> 10 ;
|
|
10 [label="10: DeclStmt \n *&vr:int &=&v [line 18]\n " shape="box"]
|
|
|
|
|
|
10 -> 9 ;
|
|
9 [label="9: DeclStmt \n n$2=*&vr:int & [line 19]\n n$3=*n$2:int [line 19]\n *n$2:int =(n$3 + 1) [line 19]\n *&r:int &=n$2 [line 19]\n REMOVE_TEMPS(n$2,n$3); [line 19]\n NULLIFY(&r,false); [line 19]\n " shape="box"]
|
|
|
|
|
|
9 -> 8 ;
|
|
8 [label="8: DeclStmt \n n$0=*&vr:int & [line 20]\n n$1=*n$0:int [line 20]\n *n$0:int =(n$1 - 1) [line 20]\n *&q:int &=n$0 [line 20]\n REMOVE_TEMPS(n$0,n$1); [line 20]\n NULLIFY(&q,false); [line 20]\n NULLIFY(&vr,false); [line 20]\n NULLIFY(&v,false); [line 20]\n APPLY_ABSTRACTION; [line 20]\n " shape="box"]
|
|
|
|
|
|
8 -> 7 ;
|
|
7 [label="7: Exit using_ref \n " color=yellow style=filled]
|
|
|
|
|
|
6 [label="6: Start using_ref\nFormals: \nLocals: q:int & r:int & vr:int & v:int \n DECLARE_LOCALS(&return,&q,&r,&vr,&v); [line 16]\n NULLIFY(&q,false); [line 16]\n NULLIFY(&r,false); [line 16]\n NULLIFY(&vr,false); [line 16]\n " color=yellow style=filled]
|
|
|
|
|
|
6 -> 11 ;
|
|
5 [label="5: DeclStmt \n *&v:int =3 [line 11]\n " shape="box"]
|
|
|
|
|
|
5 -> 4 ;
|
|
4 [label="4: DeclStmt \n n$1=*&v:int [line 12]\n *&v:int =(n$1 + 1) [line 12]\n *&r:int &=&v [line 12]\n REMOVE_TEMPS(n$1); [line 12]\n NULLIFY(&r,false); [line 12]\n " shape="box"]
|
|
|
|
|
|
4 -> 3 ;
|
|
3 [label="3: DeclStmt \n n$0=*&v:int [line 13]\n *&v:int =(n$0 - 1) [line 13]\n *&q:int &=&v [line 13]\n REMOVE_TEMPS(n$0); [line 13]\n NULLIFY(&q,false); [line 13]\n NULLIFY(&v,false); [line 13]\n APPLY_ABSTRACTION; [line 13]\n " shape="box"]
|
|
|
|
|
|
3 -> 2 ;
|
|
2 [label="2: Exit using_value \n " color=yellow style=filled]
|
|
|
|
|
|
1 [label="1: Start using_value\nFormals: \nLocals: q:int & r:int & v:int \n DECLARE_LOCALS(&return,&q,&r,&v); [line 10]\n NULLIFY(&q,false); [line 10]\n NULLIFY(&r,false); [line 10]\n " color=yellow style=filled]
|
|
|
|
|
|
1 -> 5 ;
|
|
}
|