|
|
|
/* @generated */
|
|
|
|
digraph cfg {
|
|
|
|
"main.fad58de7366495db4650cfefac2fcd61_1" [label="1: Start main\nFormals: \nLocals: k:int i:int \n " color=yellow style=filled]
|
|
|
|
|
|
|
|
|
|
|
|
"main.fad58de7366495db4650cfefac2fcd61_1" -> "main.fad58de7366495db4650cfefac2fcd61_15" ;
|
|
|
|
"main.fad58de7366495db4650cfefac2fcd61_2" [label="2: Exit main \n " color=yellow style=filled]
|
|
|
|
|
|
|
|
|
|
|
|
"main.fad58de7366495db4650cfefac2fcd61_3" [label="3: Return Stmt \n *&return:int=0 [line 17, column 3]\n APPLY_ABSTRACTION; [line 17, column 3]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
"main.fad58de7366495db4650cfefac2fcd61_3" -> "main.fad58de7366495db4650cfefac2fcd61_2" ;
|
|
|
|
"main.fad58de7366495db4650cfefac2fcd61_4" [label="4: + \n " ]
|
|
|
|
|
|
|
|
|
|
|
|
"main.fad58de7366495db4650cfefac2fcd61_4" -> "main.fad58de7366495db4650cfefac2fcd61_5" ;
|
|
|
|
"main.fad58de7366495db4650cfefac2fcd61_5" [label="5: BinaryOperatorStmt: LE \n n$0=*&i:int [line 11, column 10]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
"main.fad58de7366495db4650cfefac2fcd61_5" -> "main.fad58de7366495db4650cfefac2fcd61_6" ;
|
|
|
|
"main.fad58de7366495db4650cfefac2fcd61_5" -> "main.fad58de7366495db4650cfefac2fcd61_7" ;
|
|
|
|
"main.fad58de7366495db4650cfefac2fcd61_6" [label="6: Prune (true branch, while) \n PRUNE((n$0 <= 10), true); [line 11, column 10]\n REMOVE_TEMPS(n$0); [line 11, column 10]\n APPLY_ABSTRACTION; [line 11, column 10]\n " shape="invhouse"]
|
|
|
|
|
|
|
|
|
|
|
|
"main.fad58de7366495db4650cfefac2fcd61_6" -> "main.fad58de7366495db4650cfefac2fcd61_9" ;
|
|
|
|
"main.fad58de7366495db4650cfefac2fcd61_7" [label="7: Prune (false branch, while) \n PRUNE(!(n$0 <= 10), false); [line 11, column 10]\n REMOVE_TEMPS(n$0); [line 11, column 10]\n NULLIFY(&i); [line 11, column 10]\n NULLIFY(&k); [line 11, column 10]\n " shape="invhouse"]
|
|
|
|
|
|
|
|
|
|
|
|
"main.fad58de7366495db4650cfefac2fcd61_7" -> "main.fad58de7366495db4650cfefac2fcd61_3" ;
|
|
|
|
"main.fad58de7366495db4650cfefac2fcd61_8" [label="8: UnaryOperator \n n$1=*&i:int [line 15, column 5]\n *&i:int=(n$1 + 1) [line 15, column 5]\n REMOVE_TEMPS(n$1); [line 15, column 5]\n APPLY_ABSTRACTION; [line 15, column 5]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
"main.fad58de7366495db4650cfefac2fcd61_8" -> "main.fad58de7366495db4650cfefac2fcd61_4" ;
|
|
|
|
"main.fad58de7366495db4650cfefac2fcd61_9" [label="9: + \n " ]
|
|
|
|
|
|
|
|
|
|
|
|
"main.fad58de7366495db4650cfefac2fcd61_9" -> "main.fad58de7366495db4650cfefac2fcd61_10" ;
|
|
|
|
"main.fad58de7366495db4650cfefac2fcd61_10" [label="10: BinaryOperatorStmt: LE \n n$2=*&k:int [line 12, column 12]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
"main.fad58de7366495db4650cfefac2fcd61_10" -> "main.fad58de7366495db4650cfefac2fcd61_11" ;
|
|
|
|
"main.fad58de7366495db4650cfefac2fcd61_10" -> "main.fad58de7366495db4650cfefac2fcd61_12" ;
|
|
|
|
"main.fad58de7366495db4650cfefac2fcd61_11" [label="11: Prune (true branch, while) \n PRUNE((n$2 <= 5), true); [line 12, column 12]\n REMOVE_TEMPS(n$2); [line 12, column 12]\n " shape="invhouse"]
|
|
|
|
|
|
|
|
|
|
|
|
"main.fad58de7366495db4650cfefac2fcd61_11" -> "main.fad58de7366495db4650cfefac2fcd61_13" ;
|
|
|
|
"main.fad58de7366495db4650cfefac2fcd61_12" [label="12: Prune (false branch, while) \n PRUNE(!(n$2 <= 5), false); [line 12, column 12]\n REMOVE_TEMPS(n$2); [line 12, column 12]\n " shape="invhouse"]
|
|
|
|
|
|
|
|
|
|
|
|
"main.fad58de7366495db4650cfefac2fcd61_12" -> "main.fad58de7366495db4650cfefac2fcd61_8" ;
|
|
|
|
"main.fad58de7366495db4650cfefac2fcd61_13" [label="13: UnaryOperator \n n$3=*&k:int [line 13, column 7]\n *&k:int=(n$3 + 1) [line 13, column 7]\n REMOVE_TEMPS(n$3); [line 13, column 7]\n APPLY_ABSTRACTION; [line 13, column 7]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
"main.fad58de7366495db4650cfefac2fcd61_13" -> "main.fad58de7366495db4650cfefac2fcd61_9" ;
|
|
|
|
"main.fad58de7366495db4650cfefac2fcd61_14" [label="14: DeclStmt \n n$6=_fun___variable_initialization(&k:int) [line 10, column 3]\n *&k:int=0 [line 10, column 3]\n REMOVE_TEMPS(n$6); [line 10, column 3]\n APPLY_ABSTRACTION; [line 10, column 3]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
"main.fad58de7366495db4650cfefac2fcd61_14" -> "main.fad58de7366495db4650cfefac2fcd61_4" ;
|
|
|
|
"main.fad58de7366495db4650cfefac2fcd61_15" [label="15: DeclStmt \n n$7=_fun___variable_initialization(&i:int) [line 9, column 3]\n *&i:int=0 [line 9, column 3]\n REMOVE_TEMPS(n$7); [line 9, column 3]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
"main.fad58de7366495db4650cfefac2fcd61_15" -> "main.fad58de7366495db4650cfefac2fcd61_14" ;
|
|
|
|
}
|