|
|
|
digraph iCFG {
|
|
|
|
252 [label="252: DeclStmt \n *&i:int =0 [line 182]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
252 -> 251 ;
|
|
|
|
251 [label="251: DeclStmt \n *&j:int =0 [line 182]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
251 -> 250 ;
|
|
|
|
250 [label="250: DeclStmt \n *&k:int =0 [line 182]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
250 -> 248 ;
|
|
|
|
250 -> 249 ;
|
|
|
|
249 [label="249: Prune (false branch) \n n$10=*&q:int [line 183]\n PRUNE((n$10 == 0), false); [line 183]\n REMOVE_TEMPS(n$10); [line 183]\n " shape="invhouse"]
|
|
|
|
|
|
|
|
|
|
|
|
249 -> 247 ;
|
|
|
|
248 [label="248: Prune (true branch) \n n$10=*&q:int [line 183]\n PRUNE((n$10 != 0), true); [line 183]\n REMOVE_TEMPS(n$10); [line 183]\n APPLY_ABSTRACTION; [line 183]\n " shape="invhouse"]
|
|
|
|
|
|
|
|
|
|
|
|
248 -> 245 ;
|
|
|
|
247 [label="247: + \n " ]
|
|
|
|
|
|
|
|
|
|
|
|
247 -> 228 ;
|
|
|
|
246 [label="246: DeclStmt \n n$7=*&i:int [line 187]\n n$8=*&j:int [line 187]\n n$9=*&k:int [line 187]\n *&v:int =((n$7 + n$8) + n$9) [line 187]\n REMOVE_TEMPS(n$7,n$8,n$9); [line 187]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
246 -> 241 ;
|
|
|
|
245 [label="245: Skip GotoLabel_print \n NULLIFY(&q,false); [line 189]\n " color="gray"]
|
|
|
|
|
|
|
|
|
|
|
|
245 -> 244 ;
|
|
|
|
244 [label="244: Call _fun_printf \n n$6=_fun_printf(\"wow\\n\":char *) [line 190]\n REMOVE_TEMPS(n$6); [line 190]\n APPLY_ABSTRACTION; [line 190]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
244 -> 240 ;
|
|
|
|
243 [label="243: Prune (false branch) \n PRUNE(((n$5 >= 15) == 0), false); [line 188]\n REMOVE_TEMPS(n$5); [line 188]\n APPLY_ABSTRACTION; [line 188]\n " shape="invhouse"]
|
|
|
|
|
|
|
|
|
|
|
|
243 -> 240 ;
|
|
|
|
242 [label="242: Prune (true branch) \n PRUNE(((n$5 >= 15) != 0), true); [line 188]\n REMOVE_TEMPS(n$5); [line 188]\n APPLY_ABSTRACTION; [line 188]\n " shape="invhouse"]
|
|
|
|
|
|
|
|
|
|
|
|
242 -> 245 ;
|
|
|
|
241 [label="241: BinaryOperatorStmt: GE \n n$5=*&v:int [line 188]\n NULLIFY(&v,false); [line 188]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
241 -> 242 ;
|
|
|
|
241 -> 243 ;
|
|
|
|
240 [label="240: + \n " ]
|
|
|
|
|
|
|
|
|
|
|
|
240 -> 236 ;
|
|
|
|
239 [label="239: Prune (false branch) \n PRUNE(((n$4 < 10) == 0), false); [line 186]\n REMOVE_TEMPS(n$4); [line 186]\n APPLY_ABSTRACTION; [line 186]\n " shape="invhouse"]
|
|
|
|
|
|
|
|
|
|
|
|
239 -> 232 ;
|
|
|
|
238 [label="238: Prune (true branch) \n PRUNE(((n$4 < 10) != 0), true); [line 186]\n REMOVE_TEMPS(n$4); [line 186]\n " shape="invhouse"]
|
|
|
|
|
|
|
|
|
|
|
|
238 -> 246 ;
|
|
|
|
237 [label="237: BinaryOperatorStmt: LT \n n$4=*&k:int [line 186]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
237 -> 238 ;
|
|
|
|
237 -> 239 ;
|
|
|
|
236 [label="236: + \n " ]
|
|
|
|
|
|
|
|
|
|
|
|
236 -> 237 ;
|
|
|
|
235 [label="235: Prune (false branch) \n PRUNE(((n$3 < 10) == 0), false); [line 185]\n REMOVE_TEMPS(n$3); [line 185]\n APPLY_ABSTRACTION; [line 185]\n " shape="invhouse"]
|
|
|
|
|
|
|
|
|
|
|
|
235 -> 228 ;
|
|
|
|
234 [label="234: Prune (true branch) \n PRUNE(((n$3 < 10) != 0), true); [line 185]\n REMOVE_TEMPS(n$3); [line 185]\n APPLY_ABSTRACTION; [line 185]\n " shape="invhouse"]
|
|
|
|
|
|
|
|
|
|
|
|
234 -> 236 ;
|
|
|
|
233 [label="233: BinaryOperatorStmt: LT \n n$3=*&j:int [line 185]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
233 -> 234 ;
|
|
|
|
233 -> 235 ;
|
|
|
|
232 [label="232: + \n " ]
|
|
|
|
|
|
|
|
|
|
|
|
232 -> 233 ;
|
|
|
|
231 [label="231: Prune (false branch) \n PRUNE(((n$2 < 10) == 0), false); [line 184]\n REMOVE_TEMPS(n$2); [line 184]\n " shape="invhouse"]
|
|
|
|
|
|
|
|
|
|
|
|
231 -> 227 ;
|
|
|
|
230 [label="230: Prune (true branch) \n PRUNE(((n$2 < 10) != 0), true); [line 184]\n REMOVE_TEMPS(n$2); [line 184]\n APPLY_ABSTRACTION; [line 184]\n " shape="invhouse"]
|
|
|
|
|
|
|
|
|
|
|
|
230 -> 232 ;
|
|
|
|
229 [label="229: BinaryOperatorStmt: LT \n NULLIFY(&q,false); [line 184]\n n$2=*&i:int [line 184]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
229 -> 230 ;
|
|
|
|
229 -> 231 ;
|
|
|
|
228 [label="228: + \n " ]
|
|
|
|
|
|
|
|
|
|
|
|
228 -> 229 ;
|
|
|
|
227 [label="227: Skip GotoLabel_out \n NULLIFY(&i,false); [line 196]\n NULLIFY(&j,false); [line 196]\n NULLIFY(&k,false); [line 196]\n " color="gray"]
|
|
|
|
|
|
|
|
|
|
|
|
227 -> 226 ;
|
|
|
|
226 [label="226: Call _fun_printf \n n$1=_fun_printf(\"out!\\n\":char *) [line 197]\n REMOVE_TEMPS(n$1); [line 197]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
226 -> 225 ;
|
|
|
|
225 [label="225: Skip GotoLabel_terminate \n " color="gray"]
|
|
|
|
|
|
|
|
|
|
|
|
225 -> 224 ;
|
|
|
|
224 [label="224: Call _fun_printf \n n$0=_fun_printf(\"terminating!\\n\":char *) [line 199]\n REMOVE_TEMPS(n$0); [line 199]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
224 -> 223 ;
|
|
|
|
223 [label="223: Return Stmt \n *&return:int =2 [line 200]\n APPLY_ABSTRACTION; [line 200]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
223 -> 222 ;
|
|
|
|
222 [label="222: Exit g8 \n " color=yellow style=filled]
|
|
|
|
|
|
|
|
|
|
|
|
221 [label="221: Start g8\nFormals: q:int \nLocals: i:int j:int k:int v:int \n DECLARE_LOCALS(&return,&i,&j,&k,&v); [line 180]\n NULLIFY(&i,false); [line 180]\n NULLIFY(&j,false); [line 180]\n NULLIFY(&k,false); [line 180]\n NULLIFY(&v,false); [line 180]\n " color=yellow style=filled]
|
|
|
|
|
|
|
|
|
|
|
|
221 -> 252 ;
|
|
|
|
220 [label="220: DeclStmt \n *&i:int =0 [line 158]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
220 -> 219 ;
|
|
|
|
219 [label="219: DeclStmt \n *&j:int =0 [line 158]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
219 -> 218 ;
|
|
|
|
218 [label="218: DeclStmt \n *&k:int =0 [line 158]\n APPLY_ABSTRACTION; [line 158]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
218 -> 200 ;
|
|
|
|
217 [label="217: DeclStmt \n n$7=*&i:int [line 162]\n n$8=*&j:int [line 162]\n n$9=*&k:int [line 162]\n *&v:int =((n$7 + n$8) + n$9) [line 162]\n REMOVE_TEMPS(n$7,n$8,n$9); [line 162]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
217 -> 213 ;
|
|
|
|
216 [label="216: Call _fun_printf \n n$6=_fun_printf(\"wow\\n\":char *) [line 166]\n REMOVE_TEMPS(n$6); [line 166]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
216 -> 196 ;
|
|
|
|
215 [label="215: Prune (false branch) \n PRUNE(((n$5 >= 15) == 0), false); [line 163]\n REMOVE_TEMPS(n$5); [line 163]\n " shape="invhouse"]
|
|
|
|
|
|
|
|
|
|
|
|
215 -> 212 ;
|
|
|
|
214 [label="214: Prune (true branch) \n PRUNE(((n$5 >= 15) != 0), true); [line 163]\n REMOVE_TEMPS(n$5); [line 163]\n APPLY_ABSTRACTION; [line 163]\n " shape="invhouse"]
|
|
|
|
|
|
|
|
|
|
|
|
214 -> 199 ;
|
|
|
|
213 [label="213: BinaryOperatorStmt: GE \n n$5=*&v:int [line 163]\n NULLIFY(&v,false); [line 163]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
213 -> 214 ;
|
|
|
|
213 -> 215 ;
|
|
|
|
212 [label="212: + \n " ]
|
|
|
|
|
|
|
|
|
|
|
|
212 -> 208 ;
|
|
|
|
211 [label="211: Prune (false branch) \n PRUNE(((n$4 < 10) == 0), false); [line 161]\n REMOVE_TEMPS(n$4); [line 161]\n APPLY_ABSTRACTION; [line 161]\n " shape="invhouse"]
|
|
|
|
|
|
|
|
|
|
|
|
211 -> 204 ;
|
|
|
|
210 [label="210: Prune (true branch) \n PRUNE(((n$4 < 10) != 0), true); [line 161]\n REMOVE_TEMPS(n$4); [line 161]\n " shape="invhouse"]
|
|
|
|
|
|
|
|
|
|
|
|
210 -> 217 ;
|
|
|
|
209 [label="209: BinaryOperatorStmt: LT \n n$4=*&k:int [line 161]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
209 -> 210 ;
|
|
|
|
209 -> 211 ;
|
|
|
|
208 [label="208: + \n " ]
|
|
|
|
|
|
|
|
|
|
|
|
208 -> 209 ;
|
|
|
|
207 [label="207: Prune (false branch) \n PRUNE(((n$3 < 10) == 0), false); [line 160]\n REMOVE_TEMPS(n$3); [line 160]\n APPLY_ABSTRACTION; [line 160]\n " shape="invhouse"]
|
|
|
|
|
|
|
|
|
|
|
|
207 -> 200 ;
|
|
|
|
206 [label="206: Prune (true branch) \n PRUNE(((n$3 < 10) != 0), true); [line 160]\n REMOVE_TEMPS(n$3); [line 160]\n APPLY_ABSTRACTION; [line 160]\n " shape="invhouse"]
|
|
|
|
|
|
|
|
|
|
|
|
206 -> 208 ;
|
|
|
|
205 [label="205: BinaryOperatorStmt: LT \n n$3=*&j:int [line 160]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
205 -> 206 ;
|
|
|
|
205 -> 207 ;
|
|
|
|
204 [label="204: + \n " ]
|
|
|
|
|
|
|
|
|
|
|
|
204 -> 205 ;
|
|
|
|
203 [label="203: Prune (false branch) \n PRUNE(((n$2 < 10) == 0), false); [line 159]\n REMOVE_TEMPS(n$2); [line 159]\n APPLY_ABSTRACTION; [line 159]\n " shape="invhouse"]
|
|
|
|
|
|
|
|
|
|
|
|
203 -> 199 ;
|
|
|
|
202 [label="202: Prune (true branch) \n PRUNE(((n$2 < 10) != 0), true); [line 159]\n REMOVE_TEMPS(n$2); [line 159]\n APPLY_ABSTRACTION; [line 159]\n " shape="invhouse"]
|
|
|
|
|
|
|
|
|
|
|
|
202 -> 204 ;
|
|
|
|
201 [label="201: BinaryOperatorStmt: LT \n n$2=*&i:int [line 159]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
201 -> 202 ;
|
|
|
|
201 -> 203 ;
|
|
|
|
200 [label="200: + \n " ]
|
|
|
|
|
|
|
|
|
|
|
|
200 -> 201 ;
|
|
|
|
199 [label="199: Skip GotoLabel_out \n NULLIFY(&i,false); [line 172]\n NULLIFY(&j,false); [line 172]\n NULLIFY(&k,false); [line 172]\n " color="gray"]
|
|
|
|
|
|
|
|
|
|
|
|
199 -> 198 ;
|
|
|
|
198 [label="198: Call _fun_printf \n n$1=_fun_printf(\"out!\\n\":char *) [line 173]\n REMOVE_TEMPS(n$1); [line 173]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
198 -> 197 ;
|
|
|
|
197 [label="197: Skip GotoLabel_print \n " color="gray"]
|
|
|
|
|
|
|
|
|
|
|
|
197 -> 216 ;
|
|
|
|
196 [label="196: Skip GotoLabel_terminate \n " color="gray"]
|
|
|
|
|
|
|
|
|
|
|
|
196 -> 195 ;
|
|
|
|
195 [label="195: Call _fun_printf \n n$0=_fun_printf(\"terminating!\\n\":char *) [line 176]\n REMOVE_TEMPS(n$0); [line 176]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
195 -> 194 ;
|
|
|
|
194 [label="194: Return Stmt \n *&return:int =2 [line 177]\n APPLY_ABSTRACTION; [line 177]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
194 -> 193 ;
|
|
|
|
193 [label="193: Exit g7 \n " color=yellow style=filled]
|
|
|
|
|
|
|
|
|
|
|
|
192 [label="192: Start g7\nFormals: \nLocals: i:int j:int k:int v:int \n DECLARE_LOCALS(&return,&i,&j,&k,&v); [line 156]\n NULLIFY(&i,false); [line 156]\n NULLIFY(&j,false); [line 156]\n NULLIFY(&k,false); [line 156]\n NULLIFY(&v,false); [line 156]\n " color=yellow style=filled]
|
|
|
|
|
|
|
|
|
|
|
|
192 -> 220 ;
|
|
|
|
191 [label="191: Call _fun_printf \n n$7=_fun_printf(\"B\\n\":char *) [line 135]\n REMOVE_TEMPS(n$7); [line 135]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
191 -> 184 ;
|
|
|
|
190 [label="190: Prune (false branch) \n n$6=*&SIL_temp_conditional___183:int [line 137]\n NULLIFY(&SIL_temp_conditional___183,true); [line 137]\n PRUNE((n$6 == 0), false); [line 137]\n REMOVE_TEMPS(n$6); [line 137]\n " shape="invhouse"]
|
|
|
|
|
|
|
|
|
|
|
|
190 -> 182 ;
|
|
|
|
189 [label="189: Prune (true branch) \n n$6=*&SIL_temp_conditional___183:int [line 137]\n NULLIFY(&SIL_temp_conditional___183,true); [line 137]\n PRUNE((n$6 != 0), true); [line 137]\n REMOVE_TEMPS(n$6); [line 137]\n APPLY_ABSTRACTION; [line 137]\n " shape="invhouse"]
|
|
|
|
|
|
|
|
|
|
|
|
189 -> 164 ;
|
|
|
|
188 [label="188: ConditinalStmt Branch \n DECLARE_LOCALS(&SIL_temp_conditional___183); [line 137]\n *&SIL_temp_conditional___183:int =1 [line 137]\n APPLY_ABSTRACTION; [line 137]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
188 -> 183 ;
|
|
|
|
187 [label="187: ConditinalStmt Branch \n DECLARE_LOCALS(&SIL_temp_conditional___183); [line 137]\n *&SIL_temp_conditional___183:int =0 [line 137]\n APPLY_ABSTRACTION; [line 137]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
187 -> 183 ;
|
|
|
|
186 [label="186: Prune (false branch) \n PRUNE((n$5 == 0), false); [line 137]\n REMOVE_TEMPS(n$5); [line 137]\n " shape="invhouse"]
|
|
|
|
|
|
|
|
|
|
|
|
186 -> 188 ;
|
|
|
|
185 [label="185: Prune (true branch) \n PRUNE((n$5 != 0), true); [line 137]\n REMOVE_TEMPS(n$5); [line 137]\n " shape="invhouse"]
|
|
|
|
|
|
|
|
|
|
|
|
185 -> 187 ;
|
|
|
|
184 [label="184: Call _fun_getValue \n n$5=_fun_getValue() [line 137]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
184 -> 185 ;
|
|
|
|
184 -> 186 ;
|
|
|
|
183 [label="183: + \n " ]
|
|
|
|
|
|
|
|
|
|
|
|
183 -> 189 ;
|
|
|
|
183 -> 190 ;
|
|
|
|
182 [label="182: + \n " ]
|
|
|
|
|
|
|
|
|
|
|
|
182 -> 175 ;
|
|
|
|
181 [label="181: Prune (false branch) \n n$4=*&SIL_temp_conditional___174:int [line 139]\n NULLIFY(&SIL_temp_conditional___174,true); [line 139]\n PRUNE((n$4 == 0), false); [line 139]\n REMOVE_TEMPS(n$4); [line 139]\n " shape="invhouse"]
|
|
|
|
|
|
|
|
|
|
|
|
181 -> 173 ;
|
|
|
|
180 [label="180: Prune (true branch) \n n$4=*&SIL_temp_conditional___174:int [line 139]\n NULLIFY(&SIL_temp_conditional___174,true); [line 139]\n PRUNE((n$4 != 0), true); [line 139]\n REMOVE_TEMPS(n$4); [line 139]\n APPLY_ABSTRACTION; [line 139]\n " shape="invhouse"]
|
|
|
|
|
|
|
|
|
|
|
|
180 -> 162 ;
|
|
|
|
179 [label="179: ConditinalStmt Branch \n DECLARE_LOCALS(&SIL_temp_conditional___174); [line 139]\n *&SIL_temp_conditional___174:int =1 [line 139]\n APPLY_ABSTRACTION; [line 139]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
179 -> 174 ;
|
|
|
|
178 [label="178: ConditinalStmt Branch \n DECLARE_LOCALS(&SIL_temp_conditional___174); [line 139]\n *&SIL_temp_conditional___174:int =0 [line 139]\n APPLY_ABSTRACTION; [line 139]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
178 -> 174 ;
|
|
|
|
177 [label="177: Prune (false branch) \n PRUNE((n$3 == 0), false); [line 139]\n REMOVE_TEMPS(n$3); [line 139]\n " shape="invhouse"]
|
|
|
|
|
|
|
|
|
|
|
|
177 -> 179 ;
|
|
|
|
176 [label="176: Prune (true branch) \n PRUNE((n$3 != 0), true); [line 139]\n REMOVE_TEMPS(n$3); [line 139]\n " shape="invhouse"]
|
|
|
|
|
|
|
|
|
|
|
|
176 -> 178 ;
|
|
|
|
175 [label="175: Call _fun_getValue \n n$3=_fun_getValue() [line 139]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
175 -> 176 ;
|
|
|
|
175 -> 177 ;
|
|
|
|
174 [label="174: + \n " ]
|
|
|
|
|
|
|
|
|
|
|
|
174 -> 180 ;
|
|
|
|
174 -> 181 ;
|
|
|
|
173 [label="173: + \n " ]
|
|
|
|
|
|
|
|
|
|
|
|
173 -> 169 ;
|
|
|
|
172 [label="172: Skip GotoLabel_stepB \n " color="gray"]
|
|
|
|
|
|
|
|
|
|
|
|
172 -> 191 ;
|
|
|
|
171 [label="171: Prune (false branch) \n PRUNE(((n$2 > 1) == 0), false); [line 141]\n REMOVE_TEMPS(n$2); [line 141]\n " shape="invhouse"]
|
|
|
|
|
|
|
|
|
|
|
|
171 -> 168 ;
|
|
|
|
170 [label="170: Prune (true branch) \n PRUNE(((n$2 > 1) != 0), true); [line 141]\n REMOVE_TEMPS(n$2); [line 141]\n APPLY_ABSTRACTION; [line 141]\n " shape="invhouse"]
|
|
|
|
|
|
|
|
|
|
|
|
170 -> 172 ;
|
|
|
|
169 [label="169: BinaryOperatorStmt: GT \n n$2=_fun_getValue() [line 141]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
169 -> 170 ;
|
|
|
|
169 -> 171 ;
|
|
|
|
168 [label="168: + \n " ]
|
|
|
|
|
|
|
|
|
|
|
|
168 -> 164 ;
|
|
|
|
167 [label="167: DeclStmt \n *&a:int =2 [line 146]\n NULLIFY(&a,false); [line 146]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
167 -> 166 ;
|
|
|
|
166 [label="166: Call _fun_printf \n n$1=_fun_printf(\"A\\n\":char *) [line 147]\n REMOVE_TEMPS(n$1); [line 147]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
166 -> 165 ;
|
|
|
|
165 [label="165: Return Stmt \n *&return:int =1 [line 149]\n APPLY_ABSTRACTION; [line 149]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
165 -> 161 ;
|
|
|
|
164 [label="164: Skip GotoLabel_exit_step \n " color="gray"]
|
|
|
|
|
|
|
|
|
|
|
|
164 -> 163 ;
|
|
|
|
163 [label="163: Call _fun_printf \n n$0=_fun_printf(\"exit\\n\":char *) [line 151]\n REMOVE_TEMPS(n$0); [line 151]\n APPLY_ABSTRACTION; [line 151]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
163 -> 162 ;
|
|
|
|
162 [label="162: Skip GotoLabel_stepA \n " color="gray"]
|
|
|
|
|
|
|
|
|
|
|
|
162 -> 167 ;
|
|
|
|
161 [label="161: Exit g6 \n " color=yellow style=filled]
|
|
|
|
|
|
|
|
|
|
|
|
160 [label="160: Start g6\nFormals: \nLocals: a:int \n DECLARE_LOCALS(&return,&a); [line 132]\n NULLIFY(&a,false); [line 132]\n " color=yellow style=filled]
|
|
|
|
|
|
|
|
|
|
|
|
160 -> 172 ;
|
|
|
|
159 [label="159: Call _fun_printf \n n$7=_fun_printf(\"B\\n\":char *) [line 112]\n REMOVE_TEMPS(n$7); [line 112]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
159 -> 152 ;
|
|
|
|
158 [label="158: Prune (false branch) \n n$6=*&SIL_temp_conditional___151:int [line 114]\n NULLIFY(&SIL_temp_conditional___151,true); [line 114]\n PRUNE((n$6 == 0), false); [line 114]\n REMOVE_TEMPS(n$6); [line 114]\n " shape="invhouse"]
|
|
|
|
|
|
|
|
|
|
|
|
158 -> 150 ;
|
|
|
|
157 [label="157: Prune (true branch) \n n$6=*&SIL_temp_conditional___151:int [line 114]\n NULLIFY(&SIL_temp_conditional___151,true); [line 114]\n PRUNE((n$6 != 0), true); [line 114]\n REMOVE_TEMPS(n$6); [line 114]\n APPLY_ABSTRACTION; [line 114]\n " shape="invhouse"]
|
|
|
|
|
|
|
|
|
|
|
|
157 -> 132 ;
|
|
|
|
156 [label="156: ConditinalStmt Branch \n DECLARE_LOCALS(&SIL_temp_conditional___151); [line 114]\n *&SIL_temp_conditional___151:int =1 [line 114]\n APPLY_ABSTRACTION; [line 114]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
156 -> 151 ;
|
|
|
|
155 [label="155: ConditinalStmt Branch \n DECLARE_LOCALS(&SIL_temp_conditional___151); [line 114]\n *&SIL_temp_conditional___151:int =0 [line 114]\n APPLY_ABSTRACTION; [line 114]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
155 -> 151 ;
|
|
|
|
154 [label="154: Prune (false branch) \n PRUNE((n$5 == 0), false); [line 114]\n REMOVE_TEMPS(n$5); [line 114]\n " shape="invhouse"]
|
|
|
|
|
|
|
|
|
|
|
|
154 -> 156 ;
|
|
|
|
153 [label="153: Prune (true branch) \n PRUNE((n$5 != 0), true); [line 114]\n REMOVE_TEMPS(n$5); [line 114]\n " shape="invhouse"]
|
|
|
|
|
|
|
|
|
|
|
|
153 -> 155 ;
|
|
|
|
152 [label="152: Call _fun_getValue \n n$5=_fun_getValue() [line 114]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
152 -> 153 ;
|
|
|
|
152 -> 154 ;
|
|
|
|
151 [label="151: + \n " ]
|
|
|
|
|
|
|
|
|
|
|
|
151 -> 157 ;
|
|
|
|
151 -> 158 ;
|
|
|
|
150 [label="150: + \n " ]
|
|
|
|
|
|
|
|
|
|
|
|
150 -> 143 ;
|
|
|
|
149 [label="149: Prune (false branch) \n n$4=*&SIL_temp_conditional___142:int [line 116]\n NULLIFY(&SIL_temp_conditional___142,true); [line 116]\n PRUNE((n$4 == 0), false); [line 116]\n REMOVE_TEMPS(n$4); [line 116]\n " shape="invhouse"]
|
|
|
|
|
|
|
|
|
|
|
|
149 -> 141 ;
|
|
|
|
148 [label="148: Prune (true branch) \n n$4=*&SIL_temp_conditional___142:int [line 116]\n NULLIFY(&SIL_temp_conditional___142,true); [line 116]\n PRUNE((n$4 != 0), true); [line 116]\n REMOVE_TEMPS(n$4); [line 116]\n APPLY_ABSTRACTION; [line 116]\n " shape="invhouse"]
|
|
|
|
|
|
|
|
|
|
|
|
148 -> 130 ;
|
|
|
|
147 [label="147: ConditinalStmt Branch \n DECLARE_LOCALS(&SIL_temp_conditional___142); [line 116]\n *&SIL_temp_conditional___142:int =1 [line 116]\n APPLY_ABSTRACTION; [line 116]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
147 -> 142 ;
|
|
|
|
146 [label="146: ConditinalStmt Branch \n DECLARE_LOCALS(&SIL_temp_conditional___142); [line 116]\n *&SIL_temp_conditional___142:int =0 [line 116]\n APPLY_ABSTRACTION; [line 116]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
146 -> 142 ;
|
|
|
|
145 [label="145: Prune (false branch) \n PRUNE((n$3 == 0), false); [line 116]\n REMOVE_TEMPS(n$3); [line 116]\n " shape="invhouse"]
|
|
|
|
|
|
|
|
|
|
|
|
145 -> 147 ;
|
|
|
|
144 [label="144: Prune (true branch) \n PRUNE((n$3 != 0), true); [line 116]\n REMOVE_TEMPS(n$3); [line 116]\n " shape="invhouse"]
|
|
|
|
|
|
|
|
|
|
|
|
144 -> 146 ;
|
|
|
|
143 [label="143: Call _fun_getValue \n n$3=_fun_getValue() [line 116]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
143 -> 144 ;
|
|
|
|
143 -> 145 ;
|
|
|
|
142 [label="142: + \n " ]
|
|
|
|
|
|
|
|
|
|
|
|
142 -> 148 ;
|
|
|
|
142 -> 149 ;
|
|
|
|
141 [label="141: + \n " ]
|
|
|
|
|
|
|
|
|
|
|
|
141 -> 137 ;
|
|
|
|
140 [label="140: Skip GotoLabel_stepB \n " color="gray"]
|
|
|
|
|
|
|
|
|
|
|
|
140 -> 159 ;
|
|
|
|
139 [label="139: Prune (false branch) \n PRUNE(((n$2 > 1) == 0), false); [line 118]\n REMOVE_TEMPS(n$2); [line 118]\n " shape="invhouse"]
|
|
|
|
|
|
|
|
|
|
|
|
139 -> 136 ;
|
|
|
|
138 [label="138: Prune (true branch) \n PRUNE(((n$2 > 1) != 0), true); [line 118]\n REMOVE_TEMPS(n$2); [line 118]\n APPLY_ABSTRACTION; [line 118]\n " shape="invhouse"]
|
|
|
|
|
|
|
|
|
|
|
|
138 -> 140 ;
|
|
|
|
137 [label="137: BinaryOperatorStmt: GT \n n$2=_fun_getValue() [line 118]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
137 -> 138 ;
|
|
|
|
137 -> 139 ;
|
|
|
|
136 [label="136: + \n " ]
|
|
|
|
|
|
|
|
|
|
|
|
136 -> 132 ;
|
|
|
|
135 [label="135: DeclStmt \n *&a:int =2 [line 123]\n NULLIFY(&a,false); [line 123]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
135 -> 134 ;
|
|
|
|
134 [label="134: Call _fun_printf \n n$1=_fun_printf(\"A\\n\":char *) [line 124]\n REMOVE_TEMPS(n$1); [line 124]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
134 -> 133 ;
|
|
|
|
133 [label="133: Return Stmt \n *&return:int =1 [line 125]\n APPLY_ABSTRACTION; [line 125]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
133 -> 129 ;
|
|
|
|
132 [label="132: Skip GotoLabel_exit_step \n " color="gray"]
|
|
|
|
|
|
|
|
|
|
|
|
132 -> 131 ;
|
|
|
|
131 [label="131: Call _fun_printf \n n$0=_fun_printf(\"exit\\n\":char *) [line 128]\n REMOVE_TEMPS(n$0); [line 128]\n APPLY_ABSTRACTION; [line 128]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
131 -> 130 ;
|
|
|
|
130 [label="130: Skip GotoLabel_stepA \n " color="gray"]
|
|
|
|
|
|
|
|
|
|
|
|
130 -> 135 ;
|
|
|
|
129 [label="129: Exit g5 \n " color=yellow style=filled]
|
|
|
|
|
|
|
|
|
|
|
|
128 [label="128: Start g5\nFormals: \nLocals: a:int \n DECLARE_LOCALS(&return,&a); [line 109]\n NULLIFY(&a,false); [line 109]\n " color=yellow style=filled]
|
|
|
|
|
|
|
|
|
|
|
|
128 -> 140 ;
|
|
|
|
127 [label="127: Call _fun_printf \n n$8=_fun_printf(\"B\\n\":char *) [line 90]\n REMOVE_TEMPS(n$8); [line 90]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
127 -> 120 ;
|
|
|
|
126 [label="126: Prune (false branch) \n n$7=*&SIL_temp_conditional___119:int [line 92]\n NULLIFY(&SIL_temp_conditional___119,true); [line 92]\n PRUNE((n$7 == 0), false); [line 92]\n REMOVE_TEMPS(n$7); [line 92]\n " shape="invhouse"]
|
|
|
|
|
|
|
|
|
|
|
|
126 -> 118 ;
|
|
|
|
125 [label="125: Prune (true branch) \n n$7=*&SIL_temp_conditional___119:int [line 92]\n NULLIFY(&SIL_temp_conditional___119,true); [line 92]\n PRUNE((n$7 != 0), true); [line 92]\n REMOVE_TEMPS(n$7); [line 92]\n APPLY_ABSTRACTION; [line 92]\n " shape="invhouse"]
|
|
|
|
|
|
|
|
|
|
|
|
125 -> 99 ;
|
|
|
|
124 [label="124: ConditinalStmt Branch \n DECLARE_LOCALS(&SIL_temp_conditional___119); [line 92]\n *&SIL_temp_conditional___119:int =1 [line 92]\n APPLY_ABSTRACTION; [line 92]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
124 -> 119 ;
|
|
|
|
123 [label="123: ConditinalStmt Branch \n DECLARE_LOCALS(&SIL_temp_conditional___119); [line 92]\n *&SIL_temp_conditional___119:int =0 [line 92]\n APPLY_ABSTRACTION; [line 92]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
123 -> 119 ;
|
|
|
|
122 [label="122: Prune (false branch) \n PRUNE((n$6 == 0), false); [line 92]\n REMOVE_TEMPS(n$6); [line 92]\n " shape="invhouse"]
|
|
|
|
|
|
|
|
|
|
|
|
122 -> 124 ;
|
|
|
|
121 [label="121: Prune (true branch) \n PRUNE((n$6 != 0), true); [line 92]\n REMOVE_TEMPS(n$6); [line 92]\n " shape="invhouse"]
|
|
|
|
|
|
|
|
|
|
|
|
121 -> 123 ;
|
|
|
|
120 [label="120: Call _fun_getValue \n n$6=_fun_getValue() [line 92]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
120 -> 121 ;
|
|
|
|
120 -> 122 ;
|
|
|
|
119 [label="119: + \n " ]
|
|
|
|
|
|
|
|
|
|
|
|
119 -> 125 ;
|
|
|
|
119 -> 126 ;
|
|
|
|
118 [label="118: + \n " ]
|
|
|
|
|
|
|
|
|
|
|
|
118 -> 111 ;
|
|
|
|
117 [label="117: Prune (false branch) \n n$5=*&SIL_temp_conditional___110:int [line 94]\n NULLIFY(&SIL_temp_conditional___110,true); [line 94]\n PRUNE((n$5 == 0), false); [line 94]\n REMOVE_TEMPS(n$5); [line 94]\n " shape="invhouse"]
|
|
|
|
|
|
|
|
|
|
|
|
117 -> 109 ;
|
|
|
|
116 [label="116: Prune (true branch) \n n$5=*&SIL_temp_conditional___110:int [line 94]\n NULLIFY(&SIL_temp_conditional___110,true); [line 94]\n PRUNE((n$5 != 0), true); [line 94]\n REMOVE_TEMPS(n$5); [line 94]\n APPLY_ABSTRACTION; [line 94]\n " shape="invhouse"]
|
|
|
|
|
|
|
|
|
|
|
|
116 -> 102 ;
|
|
|
|
115 [label="115: ConditinalStmt Branch \n DECLARE_LOCALS(&SIL_temp_conditional___110); [line 94]\n *&SIL_temp_conditional___110:int =1 [line 94]\n APPLY_ABSTRACTION; [line 94]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
115 -> 110 ;
|
|
|
|
114 [label="114: ConditinalStmt Branch \n DECLARE_LOCALS(&SIL_temp_conditional___110); [line 94]\n *&SIL_temp_conditional___110:int =0 [line 94]\n APPLY_ABSTRACTION; [line 94]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
114 -> 110 ;
|
|
|
|
113 [label="113: Prune (false branch) \n PRUNE((n$4 == 0), false); [line 94]\n REMOVE_TEMPS(n$4); [line 94]\n " shape="invhouse"]
|
|
|
|
|
|
|
|
|
|
|
|
113 -> 115 ;
|
|
|
|
112 [label="112: Prune (true branch) \n PRUNE((n$4 != 0), true); [line 94]\n REMOVE_TEMPS(n$4); [line 94]\n " shape="invhouse"]
|
|
|
|
|
|
|
|
|
|
|
|
112 -> 114 ;
|
|
|
|
111 [label="111: Call _fun_getValue \n n$4=_fun_getValue() [line 94]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
111 -> 112 ;
|
|
|
|
111 -> 113 ;
|
|
|
|
110 [label="110: + \n " ]
|
|
|
|
|
|
|
|
|
|
|
|
110 -> 116 ;
|
|
|
|
110 -> 117 ;
|
|
|
|
109 [label="109: + \n " ]
|
|
|
|
|
|
|
|
|
|
|
|
109 -> 105 ;
|
|
|
|
108 [label="108: Skip GotoLabel_stepB \n " color="gray"]
|
|
|
|
|
|
|
|
|
|
|
|
108 -> 127 ;
|
|
|
|
107 [label="107: Prune (false branch) \n PRUNE(((n$3 > 1) == 0), false); [line 96]\n REMOVE_TEMPS(n$3); [line 96]\n " shape="invhouse"]
|
|
|
|
|
|
|
|
|
|
|
|
107 -> 104 ;
|
|
|
|
106 [label="106: Prune (true branch) \n PRUNE(((n$3 > 1) != 0), true); [line 96]\n REMOVE_TEMPS(n$3); [line 96]\n APPLY_ABSTRACTION; [line 96]\n " shape="invhouse"]
|
|
|
|
|
|
|
|
|
|
|
|
106 -> 108 ;
|
|
|
|
105 [label="105: BinaryOperatorStmt: GT \n n$3=_fun_getValue() [line 96]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
105 -> 106 ;
|
|
|
|
105 -> 107 ;
|
|
|
|
104 [label="104: + \n " ]
|
|
|
|
|
|
|
|
|
|
|
|
104 -> 103 ;
|
|
|
|
103 [label="103: Call _fun_printf \n n$2=_fun_printf(\"g4\\n\":char *) [line 98]\n REMOVE_TEMPS(n$2); [line 98]\n APPLY_ABSTRACTION; [line 98]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
103 -> 102 ;
|
|
|
|
102 [label="102: Skip GotoLabel_stepA \n " color="gray"]
|
|
|
|
|
|
|
|
|
|
|
|
102 -> 101 ;
|
|
|
|
101 [label="101: DeclStmt \n *&a:int =2 [line 101]\n NULLIFY(&a,false); [line 101]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
101 -> 100 ;
|
|
|
|
100 [label="100: Call _fun_printf \n n$1=_fun_printf(\"A\\n\":char *) [line 102]\n REMOVE_TEMPS(n$1); [line 102]\n APPLY_ABSTRACTION; [line 102]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
100 -> 99 ;
|
|
|
|
99 [label="99: Skip GotoLabel_exit_step \n " color="gray"]
|
|
|
|
|
|
|
|
|
|
|
|
99 -> 98 ;
|
|
|
|
98 [label="98: Call _fun_printf \n n$0=_fun_printf(\"exit\\n\":char *) [line 105]\n REMOVE_TEMPS(n$0); [line 105]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
98 -> 97 ;
|
|
|
|
97 [label="97: Return Stmt \n *&return:int =1 [line 106]\n APPLY_ABSTRACTION; [line 106]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
97 -> 96 ;
|
|
|
|
96 [label="96: Exit g4 \n " color=yellow style=filled]
|
|
|
|
|
|
|
|
|
|
|
|
95 [label="95: Start g4\nFormals: \nLocals: a:int \n DECLARE_LOCALS(&return,&a); [line 87]\n NULLIFY(&a,false); [line 87]\n " color=yellow style=filled]
|
|
|
|
|
|
|
|
|
|
|
|
95 -> 108 ;
|
|
|
|
94 [label="94: Call _fun_printf \n n$8=_fun_printf(\"B\\n\":char *) [line 67]\n REMOVE_TEMPS(n$8); [line 67]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
94 -> 87 ;
|
|
|
|
93 [label="93: Prune (false branch) \n n$7=*&SIL_temp_conditional___86:int [line 69]\n NULLIFY(&SIL_temp_conditional___86,true); [line 69]\n PRUNE((n$7 == 0), false); [line 69]\n REMOVE_TEMPS(n$7); [line 69]\n " shape="invhouse"]
|
|
|
|
|
|
|
|
|
|
|
|
93 -> 85 ;
|
|
|
|
92 [label="92: Prune (true branch) \n n$7=*&SIL_temp_conditional___86:int [line 69]\n NULLIFY(&SIL_temp_conditional___86,true); [line 69]\n PRUNE((n$7 != 0), true); [line 69]\n REMOVE_TEMPS(n$7); [line 69]\n APPLY_ABSTRACTION; [line 69]\n " shape="invhouse"]
|
|
|
|
|
|
|
|
|
|
|
|
92 -> 65 ;
|
|
|
|
91 [label="91: ConditinalStmt Branch \n DECLARE_LOCALS(&SIL_temp_conditional___86); [line 69]\n *&SIL_temp_conditional___86:int =1 [line 69]\n APPLY_ABSTRACTION; [line 69]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
91 -> 86 ;
|
|
|
|
90 [label="90: ConditinalStmt Branch \n DECLARE_LOCALS(&SIL_temp_conditional___86); [line 69]\n *&SIL_temp_conditional___86:int =0 [line 69]\n APPLY_ABSTRACTION; [line 69]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
90 -> 86 ;
|
|
|
|
89 [label="89: Prune (false branch) \n PRUNE((n$6 == 0), false); [line 69]\n REMOVE_TEMPS(n$6); [line 69]\n " shape="invhouse"]
|
|
|
|
|
|
|
|
|
|
|
|
89 -> 91 ;
|
|
|
|
88 [label="88: Prune (true branch) \n PRUNE((n$6 != 0), true); [line 69]\n REMOVE_TEMPS(n$6); [line 69]\n " shape="invhouse"]
|
|
|
|
|
|
|
|
|
|
|
|
88 -> 90 ;
|
|
|
|
87 [label="87: Call _fun_getValue \n n$6=_fun_getValue() [line 69]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
87 -> 88 ;
|
|
|
|
87 -> 89 ;
|
|
|
|
86 [label="86: + \n " ]
|
|
|
|
|
|
|
|
|
|
|
|
86 -> 92 ;
|
|
|
|
86 -> 93 ;
|
|
|
|
85 [label="85: + \n " ]
|
|
|
|
|
|
|
|
|
|
|
|
85 -> 78 ;
|
|
|
|
84 [label="84: Prune (false branch) \n n$5=*&SIL_temp_conditional___77:int [line 71]\n NULLIFY(&SIL_temp_conditional___77,true); [line 71]\n PRUNE((n$5 == 0), false); [line 71]\n REMOVE_TEMPS(n$5); [line 71]\n " shape="invhouse"]
|
|
|
|
|
|
|
|
|
|
|
|
84 -> 76 ;
|
|
|
|
83 [label="83: Prune (true branch) \n n$5=*&SIL_temp_conditional___77:int [line 71]\n NULLIFY(&SIL_temp_conditional___77,true); [line 71]\n PRUNE((n$5 != 0), true); [line 71]\n REMOVE_TEMPS(n$5); [line 71]\n " shape="invhouse"]
|
|
|
|
|
|
|
|
|
|
|
|
83 -> 68 ;
|
|
|
|
82 [label="82: ConditinalStmt Branch \n DECLARE_LOCALS(&SIL_temp_conditional___77); [line 71]\n *&SIL_temp_conditional___77:int =1 [line 71]\n APPLY_ABSTRACTION; [line 71]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
82 -> 77 ;
|
|
|
|
81 [label="81: ConditinalStmt Branch \n DECLARE_LOCALS(&SIL_temp_conditional___77); [line 71]\n *&SIL_temp_conditional___77:int =0 [line 71]\n APPLY_ABSTRACTION; [line 71]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
81 -> 77 ;
|
|
|
|
80 [label="80: Prune (false branch) \n PRUNE((n$4 == 0), false); [line 71]\n REMOVE_TEMPS(n$4); [line 71]\n " shape="invhouse"]
|
|
|
|
|
|
|
|
|
|
|
|
80 -> 82 ;
|
|
|
|
79 [label="79: Prune (true branch) \n PRUNE((n$4 != 0), true); [line 71]\n REMOVE_TEMPS(n$4); [line 71]\n " shape="invhouse"]
|
|
|
|
|
|
|
|
|
|
|
|
79 -> 81 ;
|
|
|
|
78 [label="78: Call _fun_getValue \n n$4=_fun_getValue() [line 71]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
78 -> 79 ;
|
|
|
|
78 -> 80 ;
|
|
|
|
77 [label="77: + \n " ]
|
|
|
|
|
|
|
|
|
|
|
|
77 -> 83 ;
|
|
|
|
77 -> 84 ;
|
|
|
|
76 [label="76: + \n " ]
|
|
|
|
|
|
|
|
|
|
|
|
76 -> 72 ;
|
|
|
|
75 [label="75: Skip GotoLabel_stepB \n " color="gray"]
|
|
|
|
|
|
|
|
|
|
|
|
75 -> 94 ;
|
|
|
|
74 [label="74: Prune (false branch) \n PRUNE(((n$3 > 1) == 0), false); [line 73]\n REMOVE_TEMPS(n$3); [line 73]\n " shape="invhouse"]
|
|
|
|
|
|
|
|
|
|
|
|
74 -> 71 ;
|
|
|
|
73 [label="73: Prune (true branch) \n PRUNE(((n$3 > 1) != 0), true); [line 73]\n REMOVE_TEMPS(n$3); [line 73]\n APPLY_ABSTRACTION; [line 73]\n " shape="invhouse"]
|
|
|
|
|
|
|
|
|
|
|
|
73 -> 75 ;
|
|
|
|
72 [label="72: BinaryOperatorStmt: GT \n n$3=_fun_getValue() [line 73]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
72 -> 73 ;
|
|
|
|
72 -> 74 ;
|
|
|
|
71 [label="71: + \n " ]
|
|
|
|
|
|
|
|
|
|
|
|
71 -> 70 ;
|
|
|
|
70 [label="70: Call _fun_printf \n n$2=_fun_printf(\"g3\\n\":char *) [line 75]\n REMOVE_TEMPS(n$2); [line 75]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
70 -> 69 ;
|
|
|
|
69 [label="69: Return Stmt \n *&return:int =0 [line 76]\n APPLY_ABSTRACTION; [line 76]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
69 -> 62 ;
|
|
|
|
68 [label="68: Skip GotoLabel_stepA \n " color="gray"]
|
|
|
|
|
|
|
|
|
|
|
|
68 -> 67 ;
|
|
|
|
67 [label="67: DeclStmt \n *&a:int =2 [line 79]\n NULLIFY(&a,false); [line 79]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
67 -> 66 ;
|
|
|
|
66 [label="66: Call _fun_printf \n n$1=_fun_printf(\"A\\n\":char *) [line 80]\n REMOVE_TEMPS(n$1); [line 80]\n APPLY_ABSTRACTION; [line 80]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
66 -> 65 ;
|
|
|
|
65 [label="65: Skip GotoLabel_exit_step \n " color="gray"]
|
|
|
|
|
|
|
|
|
|
|
|
65 -> 64 ;
|
|
|
|
64 [label="64: Call _fun_printf \n n$0=_fun_printf(\"exit\\n\":char *) [line 83]\n REMOVE_TEMPS(n$0); [line 83]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
64 -> 63 ;
|
|
|
|
63 [label="63: Return Stmt \n *&return:int =1 [line 84]\n APPLY_ABSTRACTION; [line 84]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
63 -> 62 ;
|
|
|
|
62 [label="62: Exit g3 \n " color=yellow style=filled]
|
|
|
|
|
|
|
|
|
|
|
|
61 [label="61: Start g3\nFormals: \nLocals: a:int \n DECLARE_LOCALS(&return,&a); [line 64]\n NULLIFY(&a,false); [line 64]\n " color=yellow style=filled]
|
|
|
|
|
|
|
|
|
|
|
|
61 -> 75 ;
|
|
|
|
60 [label="60: DeclStmt \n *&a:int =0 [line 43]\n NULLIFY(&a,false); [line 43]\n APPLY_ABSTRACTION; [line 43]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
60 -> 40 ;
|
|
|
|
59 [label="59: BinaryOperatorStmt: Assign \n *&a:int =1 [line 45]\n NULLIFY(&a,false); [line 45]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
59 -> 52 ;
|
|
|
|
58 [label="58: Prune (false branch) \n n$4=*&SIL_temp_conditional___51:int [line 47]\n NULLIFY(&SIL_temp_conditional___51,true); [line 47]\n PRUNE((n$4 == 0), false); [line 47]\n REMOVE_TEMPS(n$4); [line 47]\n " shape="invhouse"]
|
|
|
|
|
|
|
|
|
|
|
|
58 -> 50 ;
|
|
|
|
57 [label="57: Prune (true branch) \n n$4=*&SIL_temp_conditional___51:int [line 47]\n NULLIFY(&SIL_temp_conditional___51,true); [line 47]\n PRUNE((n$4 != 0), true); [line 47]\n REMOVE_TEMPS(n$4); [line 47]\n " shape="invhouse"]
|
|
|
|
|
|
|
|
|
|
|
|
57 -> 31 ;
|
|
|
|
56 [label="56: ConditinalStmt Branch \n DECLARE_LOCALS(&SIL_temp_conditional___51); [line 47]\n *&SIL_temp_conditional___51:int =1 [line 47]\n APPLY_ABSTRACTION; [line 47]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
56 -> 51 ;
|
|
|
|
55 [label="55: ConditinalStmt Branch \n DECLARE_LOCALS(&SIL_temp_conditional___51); [line 47]\n *&SIL_temp_conditional___51:int =0 [line 47]\n APPLY_ABSTRACTION; [line 47]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
55 -> 51 ;
|
|
|
|
54 [label="54: Prune (false branch) \n PRUNE((n$3 == 0), false); [line 47]\n REMOVE_TEMPS(n$3); [line 47]\n " shape="invhouse"]
|
|
|
|
|
|
|
|
|
|
|
|
54 -> 56 ;
|
|
|
|
53 [label="53: Prune (true branch) \n PRUNE((n$3 != 0), true); [line 47]\n REMOVE_TEMPS(n$3); [line 47]\n " shape="invhouse"]
|
|
|
|
|
|
|
|
|
|
|
|
53 -> 55 ;
|
|
|
|
52 [label="52: Call _fun_getValue \n n$3=_fun_getValue() [line 47]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
52 -> 53 ;
|
|
|
|
52 -> 54 ;
|
|
|
|
51 [label="51: + \n " ]
|
|
|
|
|
|
|
|
|
|
|
|
51 -> 57 ;
|
|
|
|
51 -> 58 ;
|
|
|
|
50 [label="50: + \n " ]
|
|
|
|
|
|
|
|
|
|
|
|
50 -> 43 ;
|
|
|
|
49 [label="49: Prune (false branch) \n n$2=*&SIL_temp_conditional___42:int [line 49]\n NULLIFY(&SIL_temp_conditional___42,true); [line 49]\n PRUNE((n$2 == 0), false); [line 49]\n REMOVE_TEMPS(n$2); [line 49]\n " shape="invhouse"]
|
|
|
|
|
|
|
|
|
|
|
|
49 -> 41 ;
|
|
|
|
48 [label="48: Prune (true branch) \n n$2=*&SIL_temp_conditional___42:int [line 49]\n NULLIFY(&SIL_temp_conditional___42,true); [line 49]\n PRUNE((n$2 != 0), true); [line 49]\n REMOVE_TEMPS(n$2); [line 49]\n " shape="invhouse"]
|
|
|
|
|
|
|
|
|
|
|
|
48 -> 34 ;
|
|
|
|
47 [label="47: ConditinalStmt Branch \n DECLARE_LOCALS(&SIL_temp_conditional___42); [line 49]\n *&SIL_temp_conditional___42:int =1 [line 49]\n APPLY_ABSTRACTION; [line 49]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
47 -> 42 ;
|
|
|
|
46 [label="46: ConditinalStmt Branch \n DECLARE_LOCALS(&SIL_temp_conditional___42); [line 49]\n *&SIL_temp_conditional___42:int =0 [line 49]\n APPLY_ABSTRACTION; [line 49]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
46 -> 42 ;
|
|
|
|
45 [label="45: Prune (false branch) \n PRUNE((n$1 == 0), false); [line 49]\n REMOVE_TEMPS(n$1); [line 49]\n " shape="invhouse"]
|
|
|
|
|
|
|
|
|
|
|
|
45 -> 47 ;
|
|
|
|
44 [label="44: Prune (true branch) \n PRUNE((n$1 != 0), true); [line 49]\n REMOVE_TEMPS(n$1); [line 49]\n " shape="invhouse"]
|
|
|
|
|
|
|
|
|
|
|
|
44 -> 46 ;
|
|
|
|
43 [label="43: Call _fun_getValue \n n$1=_fun_getValue() [line 49]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
43 -> 44 ;
|
|
|
|
43 -> 45 ;
|
|
|
|
42 [label="42: + \n " ]
|
|
|
|
|
|
|
|
|
|
|
|
42 -> 48 ;
|
|
|
|
42 -> 49 ;
|
|
|
|
41 [label="41: + \n " ]
|
|
|
|
|
|
|
|
|
|
|
|
41 -> 37 ;
|
|
|
|
40 [label="40: Skip GotoLabel_stepB \n " color="gray"]
|
|
|
|
|
|
|
|
|
|
|
|
40 -> 59 ;
|
|
|
|
39 [label="39: Prune (false branch) \n PRUNE(((n$0 > 1) == 0), false); [line 51]\n REMOVE_TEMPS(n$0); [line 51]\n " shape="invhouse"]
|
|
|
|
|
|
|
|
|
|
|
|
39 -> 36 ;
|
|
|
|
38 [label="38: Prune (true branch) \n PRUNE(((n$0 > 1) != 0), true); [line 51]\n REMOVE_TEMPS(n$0); [line 51]\n APPLY_ABSTRACTION; [line 51]\n " shape="invhouse"]
|
|
|
|
|
|
|
|
|
|
|
|
38 -> 40 ;
|
|
|
|
37 [label="37: BinaryOperatorStmt: GT \n n$0=_fun_getValue() [line 51]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
37 -> 38 ;
|
|
|
|
37 -> 39 ;
|
|
|
|
36 [label="36: + \n " ]
|
|
|
|
|
|
|
|
|
|
|
|
36 -> 35 ;
|
|
|
|
35 [label="35: Return Stmt \n *&return:int =0 [line 53]\n APPLY_ABSTRACTION; [line 53]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
35 -> 28 ;
|
|
|
|
34 [label="34: Skip GotoLabel_stepA \n " color="gray"]
|
|
|
|
|
|
|
|
|
|
|
|
34 -> 33 ;
|
|
|
|
33 [label="33: BinaryOperatorStmt: Assign \n *&a:int =2 [line 56]\n NULLIFY(&a,false); [line 56]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
33 -> 32 ;
|
|
|
|
32 [label="32: Return Stmt \n *&return:int =2 [line 57]\n APPLY_ABSTRACTION; [line 57]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
32 -> 28 ;
|
|
|
|
31 [label="31: Skip GotoLabel_exit_step \n " color="gray"]
|
|
|
|
|
|
|
|
|
|
|
|
31 -> 30 ;
|
|
|
|
30 [label="30: BinaryOperatorStmt: Assign \n *&a:int =3 [line 60]\n NULLIFY(&a,false); [line 60]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
30 -> 29 ;
|
|
|
|
29 [label="29: Return Stmt \n *&return:int =1 [line 61]\n APPLY_ABSTRACTION; [line 61]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
29 -> 28 ;
|
|
|
|
28 [label="28: Exit g2 \n " color=yellow style=filled]
|
|
|
|
|
|
|
|
|
|
|
|
27 [label="27: Start g2\nFormals: \nLocals: a:int \n DECLARE_LOCALS(&return,&a); [line 41]\n NULLIFY(&a,false); [line 41]\n " color=yellow style=filled]
|
|
|
|
|
|
|
|
|
|
|
|
27 -> 60 ;
|
|
|
|
26 [label="26: DeclStmt \n *&a:int =0 [line 31]\n NULLIFY(&a,false); [line 31]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
26 -> 23 ;
|
|
|
|
25 [label="25: Prune (false branch) \n PRUNE(((n$0 > 1) == 0), false); [line 32]\n REMOVE_TEMPS(n$0); [line 32]\n " shape="invhouse"]
|
|
|
|
|
|
|
|
|
|
|
|
25 -> 22 ;
|
|
|
|
24 [label="24: Prune (true branch) \n PRUNE(((n$0 > 1) != 0), true); [line 32]\n REMOVE_TEMPS(n$0); [line 32]\n " shape="invhouse"]
|
|
|
|
|
|
|
|
|
|
|
|
24 -> 20 ;
|
|
|
|
23 [label="23: BinaryOperatorStmt: GT \n n$0=_fun_getValue() [line 32]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
23 -> 24 ;
|
|
|
|
23 -> 25 ;
|
|
|
|
22 [label="22: + \n " ]
|
|
|
|
|
|
|
|
|
|
|
|
22 -> 21 ;
|
|
|
|
21 [label="21: Return Stmt \n *&return:int =0 [line 34]\n APPLY_ABSTRACTION; [line 34]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
21 -> 17 ;
|
|
|
|
20 [label="20: Skip GotoLabel_stepB \n " color="gray"]
|
|
|
|
|
|
|
|
|
|
|
|
20 -> 19 ;
|
|
|
|
19 [label="19: BinaryOperatorStmt: Assign \n *&a:int =1 [line 37]\n NULLIFY(&a,false); [line 37]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
19 -> 18 ;
|
|
|
|
18 [label="18: Return Stmt \n *&return:int =1 [line 38]\n APPLY_ABSTRACTION; [line 38]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
18 -> 17 ;
|
|
|
|
17 [label="17: Exit g1 \n " color=yellow style=filled]
|
|
|
|
|
|
|
|
|
|
|
|
16 [label="16: Start g1\nFormals: \nLocals: a:int \n DECLARE_LOCALS(&return,&a); [line 29]\n NULLIFY(&a,false); [line 29]\n " color=yellow style=filled]
|
|
|
|
|
|
|
|
|
|
|
|
16 -> 26 ;
|
|
|
|
15 [label="15: DeclStmt \n *&a:int =0 [line 18]\n NULLIFY(&a,false); [line 18]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
15 -> 12 ;
|
|
|
|
14 [label="14: Prune (false branch) \n PRUNE(((n$0 > 1) == 0), false); [line 19]\n REMOVE_TEMPS(n$0); [line 19]\n " shape="invhouse"]
|
|
|
|
|
|
|
|
|
|
|
|
14 -> 11 ;
|
|
|
|
13 [label="13: Prune (true branch) \n PRUNE(((n$0 > 1) != 0), true); [line 19]\n REMOVE_TEMPS(n$0); [line 19]\n APPLY_ABSTRACTION; [line 19]\n " shape="invhouse"]
|
|
|
|
|
|
|
|
|
|
|
|
13 -> 9 ;
|
|
|
|
12 [label="12: BinaryOperatorStmt: GT \n n$0=_fun_getValue() [line 19]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
12 -> 13 ;
|
|
|
|
12 -> 14 ;
|
|
|
|
11 [label="11: + \n " ]
|
|
|
|
|
|
|
|
|
|
|
|
11 -> 10 ;
|
|
|
|
10 [label="10: Skip GotoLabel_stepB \n APPLY_ABSTRACTION; [line 22]\n " color="gray"]
|
|
|
|
|
|
|
|
|
|
|
|
10 -> 9 ;
|
|
|
|
9 [label="9: Skip GotoLabel_stepC \n " color="gray"]
|
|
|
|
|
|
|
|
|
|
|
|
9 -> 8 ;
|
|
|
|
8 [label="8: Skip GotoLabel_stepD \n " color="gray"]
|
|
|
|
|
|
|
|
|
|
|
|
8 -> 7 ;
|
|
|
|
7 [label="7: BinaryOperatorStmt: Assign \n *&a:int =1 [line 25]\n NULLIFY(&a,false); [line 25]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
7 -> 6 ;
|
|
|
|
6 [label="6: Return Stmt \n *&return:int =1 [line 26]\n APPLY_ABSTRACTION; [line 26]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
6 -> 5 ;
|
|
|
|
5 [label="5: Exit g0 \n " color=yellow style=filled]
|
|
|
|
|
|
|
|
|
|
|
|
4 [label="4: Start g0\nFormals: \nLocals: a:int \n DECLARE_LOCALS(&return,&a); [line 16]\n NULLIFY(&a,false); [line 16]\n " color=yellow style=filled]
|
|
|
|
|
|
|
|
|
|
|
|
4 -> 15 ;
|
|
|
|
3 [label="3: Return Stmt \n *&return:int =2 [line 13]\n APPLY_ABSTRACTION; [line 13]\n " shape="box"]
|
|
|
|
|
|
|
|
|
|
|
|
3 -> 2 ;
|
|
|
|
2 [label="2: Exit getValue \n " color=yellow style=filled]
|
|
|
|
|
|
|
|
|
|
|
|
1 [label="1: Start getValue\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 12]\n " color=yellow style=filled]
|
|
|
|
|
|
|
|
|
|
|
|
1 -> 3 ;
|
|
|
|
}
|