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.
184 lines
7.0 KiB
184 lines
7.0 KiB
digraph iCFG {
|
|
49 [label="49: Return Stmt \n n$0=_fun_createAndGetVal<X3>() [line 72]\n n$1=_fun_createAndGetVal<X1>() [line 72]\n *&return:int =(n$0 / n$1) [line 72]\n REMOVE_TEMPS(n$0,n$1); [line 72]\n APPLY_ABSTRACTION; [line 72]\n " shape="box"]
|
|
|
|
|
|
49 -> 48 ;
|
|
48 [label="48: Exit div1_create_and_get_val \n " color=yellow style=filled]
|
|
|
|
|
|
47 [label="47: Start div1_create_and_get_val\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 71]\n " color=yellow style=filled]
|
|
|
|
|
|
47 -> 49 ;
|
|
46 [label="46: Return Stmt \n n$0=_fun_createAndGetVal<X1>() [line 68]\n n$1=_fun_createAndGetVal<X3>() [line 68]\n *&return:int =(n$0 / n$1) [line 68]\n REMOVE_TEMPS(n$0,n$1); [line 68]\n APPLY_ABSTRACTION; [line 68]\n " shape="box"]
|
|
|
|
|
|
46 -> 45 ;
|
|
45 [label="45: Exit div0_create_and_get_val \n " color=yellow style=filled]
|
|
|
|
|
|
44 [label="44: Start div0_create_and_get_val\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 67]\n " color=yellow style=filled]
|
|
|
|
|
|
44 -> 46 ;
|
|
43 [label="43: Call _fun_X1_X1 \n _fun_X1_X1(&x1:class X1 *) [line 62]\n " shape="box"]
|
|
|
|
|
|
43 -> 42 ;
|
|
42 [label="42: Call _fun_X3_X3 \n _fun_X3_X3(&x3:class X3 *) [line 63]\n " shape="box"]
|
|
|
|
|
|
42 -> 41 ;
|
|
41 [label="41: Return Stmt \n n$0=_fun_getVal<X3>(&x3:class X3 &) [line 64]\n n$1=_fun_getVal<X1>(&x1:class X1 &) [line 64]\n *&return:int =(n$0 / n$1) [line 64]\n REMOVE_TEMPS(n$0,n$1); [line 64]\n NULLIFY(&x1,false); [line 64]\n NULLIFY(&x3,false); [line 64]\n APPLY_ABSTRACTION; [line 64]\n " shape="box"]
|
|
|
|
|
|
41 -> 40 ;
|
|
40 [label="40: Exit div1_get_val \n " color=yellow style=filled]
|
|
|
|
|
|
39 [label="39: Start div1_get_val\nFormals: \nLocals: x3:class X3 x1:class X1 \n DECLARE_LOCALS(&return,&x3,&x1); [line 61]\n " color=yellow style=filled]
|
|
|
|
|
|
39 -> 43 ;
|
|
38 [label="38: Call _fun_X1_X1 \n _fun_X1_X1(&x1:class X1 *) [line 56]\n " shape="box"]
|
|
|
|
|
|
38 -> 37 ;
|
|
37 [label="37: Call _fun_X3_X3 \n _fun_X3_X3(&x3:class X3 *) [line 57]\n " shape="box"]
|
|
|
|
|
|
37 -> 36 ;
|
|
36 [label="36: Return Stmt \n n$0=_fun_getVal<X1>(&x1:class X1 &) [line 58]\n n$1=_fun_getVal<X3>(&x3:class X3 &) [line 58]\n *&return:int =(n$0 / n$1) [line 58]\n REMOVE_TEMPS(n$0,n$1); [line 58]\n NULLIFY(&x1,false); [line 58]\n NULLIFY(&x3,false); [line 58]\n APPLY_ABSTRACTION; [line 58]\n " shape="box"]
|
|
|
|
|
|
36 -> 35 ;
|
|
35 [label="35: Exit div0_get_val \n " color=yellow style=filled]
|
|
|
|
|
|
34 [label="34: Start div0_get_val\nFormals: \nLocals: x3:class X3 x1:class X1 \n DECLARE_LOCALS(&return,&x3,&x1); [line 55]\n " color=yellow style=filled]
|
|
|
|
|
|
34 -> 38 ;
|
|
33 [label="33: Return Stmt \n n$0=_fun_createAndGetVal<X1>() [line 41]\n *&return:int =(1 / n$0) [line 41]\n REMOVE_TEMPS(n$0); [line 41]\n APPLY_ABSTRACTION; [line 41]\n " shape="box"]
|
|
|
|
|
|
33 -> 32 ;
|
|
32 [label="32: Exit createAndDiv<X1> \n " color=yellow style=filled]
|
|
|
|
|
|
31 [label="31: Start createAndDiv<X1>\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 40]\n " color=yellow style=filled]
|
|
|
|
|
|
31 -> 33 ;
|
|
30 [label="30: Return Stmt \n n$0=_fun_createAndGetVal<X3>() [line 41]\n *&return:int =(1 / n$0) [line 41]\n REMOVE_TEMPS(n$0); [line 41]\n APPLY_ABSTRACTION; [line 41]\n " shape="box"]
|
|
|
|
|
|
30 -> 29 ;
|
|
29 [label="29: Exit createAndDiv<X3> \n " color=yellow style=filled]
|
|
|
|
|
|
28 [label="28: Start createAndDiv<X3>\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 40]\n " color=yellow style=filled]
|
|
|
|
|
|
28 -> 30 ;
|
|
27 [label="27: Call _fun_X1_X1 \n _fun_X1_X1(&x:class X1 *) [line 35]\n " shape="box"]
|
|
|
|
|
|
27 -> 26 ;
|
|
26 [label="26: Return Stmt \n n$0=_fun_getVal<X1>(&x:class X1 &) [line 36]\n *&return:int =n$0 [line 36]\n REMOVE_TEMPS(n$0); [line 36]\n NULLIFY(&x,false); [line 36]\n APPLY_ABSTRACTION; [line 36]\n " shape="box"]
|
|
|
|
|
|
26 -> 25 ;
|
|
25 [label="25: Exit createAndGetVal<X1> \n " color=yellow style=filled]
|
|
|
|
|
|
24 [label="24: Start createAndGetVal<X1>\nFormals: \nLocals: x:class X1 \n DECLARE_LOCALS(&return,&x); [line 34]\n " color=yellow style=filled]
|
|
|
|
|
|
24 -> 27 ;
|
|
23 [label="23: Call _fun_X3_X3 \n _fun_X3_X3(&x:class X3 *) [line 35]\n " shape="box"]
|
|
|
|
|
|
23 -> 22 ;
|
|
22 [label="22: Return Stmt \n n$0=_fun_getVal<X3>(&x:class X3 &) [line 36]\n *&return:int =n$0 [line 36]\n REMOVE_TEMPS(n$0); [line 36]\n NULLIFY(&x,false); [line 36]\n APPLY_ABSTRACTION; [line 36]\n " shape="box"]
|
|
|
|
|
|
22 -> 21 ;
|
|
21 [label="21: Exit createAndGetVal<X3> \n " color=yellow style=filled]
|
|
|
|
|
|
20 [label="20: Start createAndGetVal<X3>\nFormals: \nLocals: x:class X3 \n DECLARE_LOCALS(&return,&x); [line 34]\n " color=yellow style=filled]
|
|
|
|
|
|
20 -> 23 ;
|
|
19 [label="19: Return Stmt \n n$0=*&x:class X3 & [line 30]\n n$1=_fun_X3_get(n$0:class X3 &) [line 30]\n *&return:int =n$1 [line 30]\n REMOVE_TEMPS(n$0,n$1); [line 30]\n NULLIFY(&x,false); [line 30]\n APPLY_ABSTRACTION; [line 30]\n " shape="box"]
|
|
|
|
|
|
19 -> 18 ;
|
|
18 [label="18: Exit getVal<X3> \n " color=yellow style=filled]
|
|
|
|
|
|
17 [label="17: Start getVal<X3>\nFormals: x:class X3 &\nLocals: \n DECLARE_LOCALS(&return); [line 28]\n " color=yellow style=filled]
|
|
|
|
|
|
17 -> 19 ;
|
|
16 [label="16: Return Stmt \n n$0=*&x:class X1 & [line 24]\n n$1=_fun_X1_getVal(n$0:class X1 &) [line 24]\n *&return:int =n$1 [line 24]\n REMOVE_TEMPS(n$0,n$1); [line 24]\n NULLIFY(&x,false); [line 24]\n APPLY_ABSTRACTION; [line 24]\n " shape="box"]
|
|
|
|
|
|
16 -> 15 ;
|
|
15 [label="15: Exit getVal<X1> \n " color=yellow style=filled]
|
|
|
|
|
|
14 [label="14: Start getVal<X1>\nFormals: x:class X1 &\nLocals: \n DECLARE_LOCALS(&return); [line 23]\n " color=yellow style=filled]
|
|
|
|
|
|
14 -> 16 ;
|
|
13 [label="13: Exit X3_X3 \n " color=yellow style=filled]
|
|
|
|
|
|
12 [label="12: Start X3_X3\nFormals: this:class X3 *\nLocals: \n DECLARE_LOCALS(&return); [line 18]\n NULLIFY(&this,false); [line 18]\n " color=yellow style=filled]
|
|
|
|
|
|
12 -> 13 ;
|
|
11 [label="11: Return Stmt \n *&return:int =0 [line 19]\n APPLY_ABSTRACTION; [line 19]\n " shape="box"]
|
|
|
|
|
|
11 -> 10 ;
|
|
10 [label="10: Exit X3_get \n " color=yellow style=filled]
|
|
|
|
|
|
9 [label="9: Start X3_get\nFormals: this:class X3 *\nLocals: \n DECLARE_LOCALS(&return); [line 19]\n NULLIFY(&this,false); [line 19]\n " color=yellow style=filled]
|
|
|
|
|
|
9 -> 11 ;
|
|
8 [label="8: Return Stmt \n *&return:int =0 [line 15]\n APPLY_ABSTRACTION; [line 15]\n " shape="box"]
|
|
|
|
|
|
8 -> 7 ;
|
|
7 [label="7: Exit X2_getVal \n " color=yellow style=filled]
|
|
|
|
|
|
6 [label="6: Start X2_getVal\nFormals: this:class X2 *\nLocals: \n DECLARE_LOCALS(&return); [line 15]\n NULLIFY(&this,false); [line 15]\n " color=yellow style=filled]
|
|
|
|
|
|
6 -> 8 ;
|
|
5 [label="5: Exit X1_X1 \n " color=yellow style=filled]
|
|
|
|
|
|
4 [label="4: Start X1_X1\nFormals: this:class X1 *\nLocals: \n DECLARE_LOCALS(&return); [line 10]\n NULLIFY(&this,false); [line 10]\n " color=yellow style=filled]
|
|
|
|
|
|
4 -> 5 ;
|
|
3 [label="3: Return Stmt \n *&return:int =1 [line 11]\n APPLY_ABSTRACTION; [line 11]\n " shape="box"]
|
|
|
|
|
|
3 -> 2 ;
|
|
2 [label="2: Exit X1_getVal \n " color=yellow style=filled]
|
|
|
|
|
|
1 [label="1: Start X1_getVal\nFormals: this:class X1 *\nLocals: \n DECLARE_LOCALS(&return); [line 11]\n NULLIFY(&this,false); [line 11]\n " color=yellow style=filled]
|
|
|
|
|
|
1 -> 3 ;
|
|
}
|