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.
76 lines
3.7 KiB
76 lines
3.7 KiB
10 years ago
|
digraph iCFG {
|
||
|
19 [label="19: DeclStmt \n *&a:int =9 [line 19]\n " shape="box"]
|
||
|
|
||
|
|
||
|
19 -> 18 ;
|
||
|
18 [label="18: DeclStmt \n *&b:int =7 [line 19]\n NULLIFY(&b,false); [line 19]\n " shape="box"]
|
||
|
|
||
|
|
||
|
18 -> 17 ;
|
||
|
17 [label="17: DeclStmt \n *&c:int =3 [line 19]\n NULLIFY(&c,false); [line 19]\n " shape="box"]
|
||
|
|
||
|
|
||
|
17 -> 16 ;
|
||
|
16 [label="16: DeclStmt \n n$13=*&a:int [line 20]\n *&a:int =(n$13 * 2) [line 20]\n n$14=*&a:int [line 20]\n n$15=*&a:int [line 20]\n *&a:int =(n$15 + 1) [line 20]\n *&b:int =(7 * n$15) [line 20]\n n$16=*&b:int [line 20]\n n$17=*&a:int [line 20]\n n$18=*&b:int [line 20]\n *&c:int =((n$17 + n$18) + 9) [line 20]\n n$19=*&c:int [line 20]\n n$20=*&c:int [line 20]\n *&d:int =n$20 [line 20]\n REMOVE_TEMPS(n$13,n$14,n$15,n$16,n$17,n$18,n$19,n$20); [line 20]\n NULLIFY(&a,false); [line 20]\n NULLIFY(&b,false); [line 20]\n NULLIFY(&c,false); [line 20]\n " shape="box"]
|
||
|
|
||
|
|
||
|
16 -> 15 ;
|
||
|
15 [label="15: Return Stmt \n n$12=*&d:int [line 21]\n *&return:int =n$12 [line 21]\n REMOVE_TEMPS(n$12); [line 21]\n NULLIFY(&d,false); [line 21]\n APPLY_ABSTRACTION; [line 21]\n " shape="box"]
|
||
|
|
||
|
|
||
|
15 -> 14 ;
|
||
|
14 [label="14: Exit comma_3 \n " color=yellow style=filled]
|
||
|
|
||
|
|
||
|
13 [label="13: Start comma_3\nFormals: \nLocals: a:int b:int c:int d:int \n DECLARE_LOCALS(&return,&a,&b,&c,&d); [line 18]\n NULLIFY(&a,false); [line 18]\n NULLIFY(&b,false); [line 18]\n NULLIFY(&c,false); [line 18]\n NULLIFY(&d,false); [line 18]\n " color=yellow style=filled]
|
||
|
|
||
|
|
||
|
13 -> 19 ;
|
||
|
12 [label="12: DeclStmt \n *&a:int =9 [line 13]\n " shape="box"]
|
||
|
|
||
|
|
||
|
12 -> 11 ;
|
||
|
11 [label="11: DeclStmt \n *&b:int =7 [line 13]\n NULLIFY(&b,false); [line 13]\n " shape="box"]
|
||
|
|
||
|
|
||
|
11 -> 10 ;
|
||
|
10 [label="10: DeclStmt \n n$6=*&a:int [line 14]\n *&a:int =(n$6 * 2) [line 14]\n n$7=*&a:int [line 14]\n n$8=*&a:int [line 14]\n *&a:int =(n$8 + 1) [line 14]\n *&b:int =(7 * n$8) [line 14]\n n$9=*&b:int [line 14]\n n$10=*&a:int [line 14]\n n$11=*&b:int [line 14]\n *&d:int =((n$10 + n$11) + 9) [line 14]\n REMOVE_TEMPS(n$6,n$7,n$8,n$9,n$10,n$11); [line 14]\n NULLIFY(&a,false); [line 14]\n NULLIFY(&b,false); [line 14]\n " shape="box"]
|
||
|
|
||
|
|
||
|
10 -> 9 ;
|
||
|
9 [label="9: Return Stmt \n n$5=*&d:int [line 15]\n *&return:int =n$5 [line 15]\n REMOVE_TEMPS(n$5); [line 15]\n NULLIFY(&d,false); [line 15]\n APPLY_ABSTRACTION; [line 15]\n " shape="box"]
|
||
|
|
||
|
|
||
|
9 -> 8 ;
|
||
|
8 [label="8: Exit comma_2 \n " color=yellow style=filled]
|
||
|
|
||
|
|
||
|
7 [label="7: Start comma_2\nFormals: \nLocals: a:int b:int d:int \n DECLARE_LOCALS(&return,&a,&b,&d); [line 12]\n NULLIFY(&a,false); [line 12]\n NULLIFY(&b,false); [line 12]\n NULLIFY(&d,false); [line 12]\n " color=yellow style=filled]
|
||
|
|
||
|
|
||
|
7 -> 12 ;
|
||
|
6 [label="6: DeclStmt \n *&a:int =9 [line 7]\n " shape="box"]
|
||
|
|
||
|
|
||
|
6 -> 5 ;
|
||
|
5 [label="5: DeclStmt \n *&b:int =7 [line 7]\n NULLIFY(&b,false); [line 7]\n " shape="box"]
|
||
|
|
||
|
|
||
|
5 -> 4 ;
|
||
|
4 [label="4: DeclStmt \n n$1=*&a:int [line 8]\n *&a:int =(n$1 * 2) [line 8]\n n$2=*&a:int [line 8]\n n$3=*&a:int [line 8]\n *&a:int =(n$3 + 1) [line 8]\n *&b:int =(7 * n$3) [line 8]\n n$4=*&b:int [line 8]\n *&d:int =n$4 [line 8]\n REMOVE_TEMPS(n$1,n$2,n$3,n$4); [line 8]\n NULLIFY(&a,false); [line 8]\n NULLIFY(&b,false); [line 8]\n " shape="box"]
|
||
|
|
||
|
|
||
|
4 -> 3 ;
|
||
|
3 [label="3: Return Stmt \n n$0=*&d:int [line 9]\n *&return:int =n$0 [line 9]\n REMOVE_TEMPS(n$0); [line 9]\n NULLIFY(&d,false); [line 9]\n APPLY_ABSTRACTION; [line 9]\n " shape="box"]
|
||
|
|
||
|
|
||
|
3 -> 2 ;
|
||
|
2 [label="2: Exit comma_1 \n " color=yellow style=filled]
|
||
|
|
||
|
|
||
|
1 [label="1: Start comma_1\nFormals: \nLocals: a:int b:int d:int \n DECLARE_LOCALS(&return,&a,&b,&d); [line 6]\n NULLIFY(&a,false); [line 6]\n NULLIFY(&b,false); [line 6]\n NULLIFY(&d,false); [line 6]\n " color=yellow style=filled]
|
||
|
|
||
|
|
||
|
1 -> 6 ;
|
||
|
}
|