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.
256 lines
8.4 KiB
256 lines
8.4 KiB
9 years ago
|
/* @generated */
|
||
9 years ago
|
digraph iCFG {
|
||
9 years ago
|
65 [label="65: Return Stmt \n n$0=_fun_div_temp_lvalue(0:int ,1:int ) [line 47]\n *&return:int =n$0 [line 47]\n " shape="box"]
|
||
9 years ago
|
|
||
|
|
||
|
65 -> 64 ;
|
||
|
64 [label="64: Exit div1_temp_lvalue \n " color=yellow style=filled]
|
||
|
|
||
|
|
||
9 years ago
|
63 [label="63: Start div1_temp_lvalue\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 47]\n " color=yellow style=filled]
|
||
9 years ago
|
|
||
|
|
||
|
63 -> 65 ;
|
||
9 years ago
|
62 [label="62: Return Stmt \n n$0=_fun_div_temp_lvalue(1:int ,0:int ) [line 45]\n *&return:int =n$0 [line 45]\n " shape="box"]
|
||
9 years ago
|
|
||
|
|
||
|
62 -> 61 ;
|
||
|
61 [label="61: Exit div0_temp_lvalue \n " color=yellow style=filled]
|
||
|
|
||
|
|
||
9 years ago
|
60 [label="60: Start div0_temp_lvalue\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 45]\n " color=yellow style=filled]
|
||
9 years ago
|
|
||
|
|
||
|
60 -> 62 ;
|
||
9 years ago
|
59 [label="59: Return Stmt \n n$0=_fun_assign_conditional(1:int ) [line 43]\n *&return:int =(1 / n$0) [line 43]\n " shape="box"]
|
||
9 years ago
|
|
||
|
|
||
|
59 -> 58 ;
|
||
|
58 [label="58: Exit div1_assign_conditional \n " color=yellow style=filled]
|
||
|
|
||
|
|
||
9 years ago
|
57 [label="57: Start div1_assign_conditional\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 43]\n " color=yellow style=filled]
|
||
9 years ago
|
|
||
|
|
||
|
57 -> 59 ;
|
||
9 years ago
|
56 [label="56: Return Stmt \n n$0=_fun_assign_conditional(0:int ) [line 41]\n *&return:int =(1 / n$0) [line 41]\n " shape="box"]
|
||
9 years ago
|
|
||
|
|
||
|
56 -> 55 ;
|
||
|
55 [label="55: Exit div0_assign_conditional \n " color=yellow style=filled]
|
||
|
|
||
|
|
||
9 years ago
|
54 [label="54: Start div0_assign_conditional\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 41]\n " color=yellow style=filled]
|
||
9 years ago
|
|
||
|
|
||
|
54 -> 56 ;
|
||
9 years ago
|
53 [label="53: Return Stmt \n n$0=_fun_choose_rvalue(0:int ) [line 39]\n *&return:int =(1 / n$0) [line 39]\n " shape="box"]
|
||
9 years ago
|
|
||
|
|
||
|
53 -> 52 ;
|
||
|
52 [label="52: Exit div1_choose_rvalue \n " color=yellow style=filled]
|
||
|
|
||
|
|
||
9 years ago
|
51 [label="51: Start div1_choose_rvalue\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 39]\n " color=yellow style=filled]
|
||
9 years ago
|
|
||
|
|
||
|
51 -> 53 ;
|
||
9 years ago
|
50 [label="50: Return Stmt \n n$0=_fun_choose_rvalue(1:int ) [line 37]\n *&return:int =(1 / n$0) [line 37]\n " shape="box"]
|
||
9 years ago
|
|
||
|
|
||
|
50 -> 49 ;
|
||
|
49 [label="49: Exit div0_choose_rvalue \n " color=yellow style=filled]
|
||
|
|
||
|
|
||
9 years ago
|
48 [label="48: Start div0_choose_rvalue\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 37]\n " color=yellow style=filled]
|
||
9 years ago
|
|
||
|
|
||
|
48 -> 50 ;
|
||
9 years ago
|
47 [label="47: Return Stmt \n n$0=_fun_choose_lvalue(0:int ) [line 35]\n *&return:int =(1 / n$0) [line 35]\n " shape="box"]
|
||
9 years ago
|
|
||
|
|
||
|
47 -> 46 ;
|
||
|
46 [label="46: Exit div1_choose_lvalue \n " color=yellow style=filled]
|
||
|
|
||
|
|
||
9 years ago
|
45 [label="45: Start div1_choose_lvalue\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 35]\n " color=yellow style=filled]
|
||
9 years ago
|
|
||
|
|
||
|
45 -> 47 ;
|
||
9 years ago
|
44 [label="44: Return Stmt \n n$0=_fun_choose_lvalue(1:int ) [line 33]\n *&return:int =(1 / n$0) [line 33]\n " shape="box"]
|
||
9 years ago
|
|
||
|
|
||
|
44 -> 43 ;
|
||
|
43 [label="43: Exit div0_choose_lvalue \n " color=yellow style=filled]
|
||
|
|
||
|
|
||
|
42 [label="42: Start div0_choose_lvalue\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 33]\n " color=yellow style=filled]
|
||
|
|
||
|
|
||
|
42 -> 44 ;
|
||
9 years ago
|
41 [label="41: DeclStmt \n n$6=*&0$?%__sil_tmpSIL_temp_conditional___n$3:int [line 29]\n *&0$?%__sil_tmpSIL_materialize_temp__n$2:int =n$6 [line 29]\n *&r:int &=&0$?%__sil_tmpSIL_materialize_temp__n$2 [line 29]\n " shape="box"]
|
||
9 years ago
|
|
||
|
|
||
|
41 -> 35 ;
|
||
9 years ago
|
40 [label="40: ConditinalStmt Branch \n *&0$?%__sil_tmpSIL_temp_conditional___n$3:int =1 [line 29]\n " shape="box"]
|
||
9 years ago
|
|
||
|
|
||
|
40 -> 36 ;
|
||
9 years ago
|
39 [label="39: ConditinalStmt Branch \n n$5=*&b:int [line 29]\n *&0$?%__sil_tmpSIL_temp_conditional___n$3:int =n$5 [line 29]\n " shape="box"]
|
||
9 years ago
|
|
||
|
|
||
|
39 -> 36 ;
|
||
9 years ago
|
38 [label="38: Prune (false branch) \n n$4=*&a:int [line 29]\n PRUNE((n$4 == 0), false); [line 29]\n " shape="invhouse"]
|
||
9 years ago
|
|
||
|
|
||
|
38 -> 40 ;
|
||
9 years ago
|
37 [label="37: Prune (true branch) \n n$4=*&a:int [line 29]\n PRUNE((n$4 != 0), true); [line 29]\n " shape="invhouse"]
|
||
9 years ago
|
|
||
|
|
||
|
37 -> 39 ;
|
||
|
36 [label="36: + \n " ]
|
||
|
|
||
|
|
||
|
36 -> 41 ;
|
||
9 years ago
|
35 [label="35: Return Stmt \n n$0=*&r:int & [line 30]\n n$1=*n$0:int [line 30]\n *&return:int =(1 / n$1) [line 30]\n " shape="box"]
|
||
9 years ago
|
|
||
|
|
||
|
35 -> 34 ;
|
||
9 years ago
|
34 [label="34: Exit div_temp_lvalue \n " color=yellow style=filled]
|
||
9 years ago
|
|
||
|
|
||
9 years ago
|
33 [label="33: Start div_temp_lvalue\nFormals: a:int b:int \nLocals: r:int & 0$?%__sil_tmpSIL_materialize_temp__n$2:int 0$?%__sil_tmpSIL_temp_conditional___n$3:int \n DECLARE_LOCALS(&return,&r,&0$?%__sil_tmpSIL_materialize_temp__n$2,&0$?%__sil_tmpSIL_temp_conditional___n$3); [line 28]\n " color=yellow style=filled]
|
||
9 years ago
|
|
||
|
|
||
|
33 -> 37 ;
|
||
|
33 -> 38 ;
|
||
|
32 [label="32: DeclStmt \n *&v1:int =0 [line 23]\n " shape="box"]
|
||
|
|
||
|
|
||
|
32 -> 31 ;
|
||
|
31 [label="31: DeclStmt \n *&v2:int =0 [line 23]\n " shape="box"]
|
||
|
|
||
|
|
||
|
31 -> 26 ;
|
||
|
31 -> 27 ;
|
||
9 years ago
|
30 [label="30: BinaryOperatorStmt: Assign \n n$3=*&0$?%__sil_tmpSIL_temp_conditional___n$1:int & [line 24]\n *n$3:int =1 [line 24]\n " shape="box"]
|
||
9 years ago
|
|
||
|
|
||
|
30 -> 24 ;
|
||
9 years ago
|
29 [label="29: ConditinalStmt Branch \n *&0$?%__sil_tmpSIL_temp_conditional___n$1:int &=&v2 [line 24]\n " shape="box"]
|
||
9 years ago
|
|
||
|
|
||
|
29 -> 25 ;
|
||
9 years ago
|
28 [label="28: ConditinalStmt Branch \n *&0$?%__sil_tmpSIL_temp_conditional___n$1:int &=&v1 [line 24]\n " shape="box"]
|
||
9 years ago
|
|
||
|
|
||
|
28 -> 25 ;
|
||
9 years ago
|
27 [label="27: Prune (false branch) \n n$2=*&a:int [line 24]\n PRUNE((n$2 == 0), false); [line 24]\n " shape="invhouse"]
|
||
9 years ago
|
|
||
|
|
||
|
27 -> 29 ;
|
||
9 years ago
|
26 [label="26: Prune (true branch) \n n$2=*&a:int [line 24]\n PRUNE((n$2 != 0), true); [line 24]\n " shape="invhouse"]
|
||
9 years ago
|
|
||
|
|
||
|
26 -> 28 ;
|
||
|
25 [label="25: + \n " ]
|
||
|
|
||
|
|
||
|
25 -> 30 ;
|
||
9 years ago
|
24 [label="24: Return Stmt \n n$0=*&v1:int [line 25]\n *&return:int =n$0 [line 25]\n " shape="box"]
|
||
9 years ago
|
|
||
|
|
||
|
24 -> 23 ;
|
||
9 years ago
|
23 [label="23: Exit assign_conditional \n " color=yellow style=filled]
|
||
9 years ago
|
|
||
|
|
||
9 years ago
|
22 [label="22: Start assign_conditional\nFormals: a:int \nLocals: 0$?%__sil_tmpSIL_temp_conditional___n$1:int & v2:int v1:int \n DECLARE_LOCALS(&return,&0$?%__sil_tmpSIL_temp_conditional___n$1,&v2,&v1); [line 22]\n " color=yellow style=filled]
|
||
9 years ago
|
|
||
|
|
||
|
22 -> 32 ;
|
||
|
21 [label="21: DeclStmt \n *&v1:int =0 [line 17]\n " shape="box"]
|
||
|
|
||
|
|
||
|
21 -> 16 ;
|
||
|
21 -> 17 ;
|
||
9 years ago
|
20 [label="20: DeclStmt \n n$4=*&0$?%__sil_tmpSIL_temp_conditional___n$1:int [line 18]\n *&v3:int =n$4 [line 18]\n " shape="box"]
|
||
9 years ago
|
|
||
|
|
||
|
20 -> 14 ;
|
||
9 years ago
|
19 [label="19: ConditinalStmt Branch \n *&0$?%__sil_tmpSIL_temp_conditional___n$1:int =1 [line 18]\n " shape="box"]
|
||
9 years ago
|
|
||
|
|
||
|
19 -> 15 ;
|
||
9 years ago
|
18 [label="18: ConditinalStmt Branch \n n$3=*&v1:int [line 18]\n *&0$?%__sil_tmpSIL_temp_conditional___n$1:int =n$3 [line 18]\n " shape="box"]
|
||
9 years ago
|
|
||
|
|
||
|
18 -> 15 ;
|
||
9 years ago
|
17 [label="17: Prune (false branch) \n n$2=*&a:int [line 18]\n PRUNE((n$2 == 0), false); [line 18]\n " shape="invhouse"]
|
||
9 years ago
|
|
||
|
|
||
|
17 -> 19 ;
|
||
9 years ago
|
16 [label="16: Prune (true branch) \n n$2=*&a:int [line 18]\n PRUNE((n$2 != 0), true); [line 18]\n " shape="invhouse"]
|
||
9 years ago
|
|
||
|
|
||
|
16 -> 18 ;
|
||
|
15 [label="15: + \n " ]
|
||
|
|
||
|
|
||
|
15 -> 20 ;
|
||
9 years ago
|
14 [label="14: Return Stmt \n n$0=*&v3:int [line 19]\n *&return:int =n$0 [line 19]\n " shape="box"]
|
||
9 years ago
|
|
||
|
|
||
|
14 -> 13 ;
|
||
|
13 [label="13: Exit choose_rvalue \n " color=yellow style=filled]
|
||
|
|
||
|
|
||
9 years ago
|
12 [label="12: Start choose_rvalue\nFormals: a:int \nLocals: v3:int 0$?%__sil_tmpSIL_temp_conditional___n$1:int v1:int \n DECLARE_LOCALS(&return,&v3,&0$?%__sil_tmpSIL_temp_conditional___n$1,&v1); [line 16]\n " color=yellow style=filled]
|
||
9 years ago
|
|
||
|
|
||
|
12 -> 21 ;
|
||
|
11 [label="11: DeclStmt \n *&v1:int =0 [line 11]\n " shape="box"]
|
||
|
|
||
|
|
||
|
11 -> 10 ;
|
||
|
10 [label="10: DeclStmt \n *&v2:int =1 [line 11]\n " shape="box"]
|
||
|
|
||
|
|
||
|
10 -> 5 ;
|
||
|
10 -> 6 ;
|
||
9 years ago
|
9 [label="9: DeclStmt \n n$3=*&0$?%__sil_tmpSIL_temp_conditional___n$1:int & [line 12]\n n$4=*n$3:int [line 12]\n *&v3:int =n$4 [line 12]\n " shape="box"]
|
||
9 years ago
|
|
||
|
|
||
|
9 -> 3 ;
|
||
9 years ago
|
8 [label="8: ConditinalStmt Branch \n *&0$?%__sil_tmpSIL_temp_conditional___n$1:int &=&v2 [line 12]\n " shape="box"]
|
||
9 years ago
|
|
||
|
|
||
|
8 -> 4 ;
|
||
9 years ago
|
7 [label="7: ConditinalStmt Branch \n *&0$?%__sil_tmpSIL_temp_conditional___n$1:int &=&v1 [line 12]\n " shape="box"]
|
||
9 years ago
|
|
||
|
|
||
|
7 -> 4 ;
|
||
9 years ago
|
6 [label="6: Prune (false branch) \n n$2=*&a:int [line 12]\n PRUNE((n$2 == 0), false); [line 12]\n " shape="invhouse"]
|
||
9 years ago
|
|
||
|
|
||
|
6 -> 8 ;
|
||
9 years ago
|
5 [label="5: Prune (true branch) \n n$2=*&a:int [line 12]\n PRUNE((n$2 != 0), true); [line 12]\n " shape="invhouse"]
|
||
9 years ago
|
|
||
|
|
||
|
5 -> 7 ;
|
||
|
4 [label="4: + \n " ]
|
||
|
|
||
|
|
||
|
4 -> 9 ;
|
||
9 years ago
|
3 [label="3: Return Stmt \n n$0=*&v3:int [line 13]\n *&return:int =n$0 [line 13]\n " shape="box"]
|
||
9 years ago
|
|
||
|
|
||
|
3 -> 2 ;
|
||
9 years ago
|
2 [label="2: Exit choose_lvalue \n " color=yellow style=filled]
|
||
9 years ago
|
|
||
|
|
||
9 years ago
|
1 [label="1: Start choose_lvalue\nFormals: a:int \nLocals: v3:int 0$?%__sil_tmpSIL_temp_conditional___n$1:int & v2:int v1:int \n DECLARE_LOCALS(&return,&v3,&0$?%__sil_tmpSIL_temp_conditional___n$1,&v2,&v1); [line 10]\n " color=yellow style=filled]
|
||
9 years ago
|
|
||
|
|
||
|
1 -> 11 ;
|
||
|
}
|