0.06/0.23 MAYBE 0.06/0.23 0.06/0.23 Preprocessing Cost Relations 0.06/0.23 ===================================== 0.06/0.23 0.06/0.23 #### Computed strongly connected components 0.06/0.23 0. recursive : [eval_foo_bb1_in/3,eval_foo_bb2_in/3,eval_foo_bb3_in/3,eval_foo_bb4_in/4,eval_foo_bb5_in/4,eval_foo_bb6_in/3,eval_foo_bb7_in/3,eval_foo_bb8_in/3] 0.06/0.23 1. non_recursive : [eval_foo_stop/1] 0.06/0.23 2. non_recursive : [eval_foo_bb9_in/1] 0.06/0.23 3. non_recursive : [eval_foo_bb1_in_loop_cont/2] 0.06/0.23 4. non_recursive : [eval_foo_bb0_in/2] 0.06/0.23 5. non_recursive : [eval_foo_start/3] 0.06/0.23 0.06/0.23 #### Obtained direct recursion through partial evaluation 0.06/0.23 0. SCC is partially evaluated into eval_foo_bb1_in/3 0.06/0.23 1. SCC is completely evaluated into other SCCs 0.06/0.23 2. SCC is completely evaluated into other SCCs 0.06/0.23 3. SCC is completely evaluated into other SCCs 0.06/0.23 4. SCC is partially evaluated into eval_foo_bb0_in/2 0.06/0.23 5. SCC is partially evaluated into eval_foo_start/3 0.06/0.23 0.06/0.23 Control-Flow Refinement of Cost Relations 0.06/0.23 ===================================== 0.06/0.23 0.06/0.23 ### Specialization of cost equations eval_foo_bb1_in/3 0.06/0.23 * CE 7 is refined into CE [8] 0.06/0.23 * CE 3 is refined into CE [9] 0.06/0.23 * CE 6 is refined into CE [10] 0.06/0.23 * CE 5 is refined into CE [11] 0.06/0.23 * CE 4 is refined into CE [12] 0.06/0.23 0.06/0.23 0.06/0.23 ### Cost equations --> "Loop" of eval_foo_bb1_in/3 0.06/0.23 * CEs [10] --> Loop 8 0.06/0.23 * CEs [11] --> Loop 9 0.06/0.23 * CEs [12] --> Loop 10 0.06/0.23 * CEs [9] --> Loop 11 0.06/0.23 * CEs [8] --> Loop 12 0.06/0.23 0.06/0.23 ### Ranking functions of CR eval_foo_bb1_in(V__01,V__0,B) 0.06/0.23 0.06/0.23 #### Partial ranking functions of CR eval_foo_bb1_in(V__01,V__0,B) 0.06/0.23 * Partial RF of phase [8,9,10,11]: 0.06/0.23 - RF of loop [8:1]: 0.06/0.23 V__01-4 depends on loops [9:1,10:1] 0.06/0.23 - RF of loop [9:1]: 0.06/0.23 -V__01+5 depends on loops [8:1,11:1] 0.06/0.23 - RF of loop [10:1]: 0.06/0.23 -V__0+7 0.06/0.23 -V__01+V__0+1 depends on loops [8:1,9:1,11:1] 0.06/0.23 -V__01/2+5/2 depends on loops [8:1,11:1] 0.06/0.23 - RF of loop [11:1]: 0.06/0.23 V__01-1 depends on loops [9:1,10:1] 0.06/0.23 V__01/2-V__0/2 depends on loops [10:1] 0.06/0.23 0.06/0.23 0.06/0.23 ### Specialization of cost equations eval_foo_bb0_in/2 0.06/0.23 * CE 2 is refined into CE [13,14] 0.06/0.23 0.06/0.23 0.06/0.23 ### Cost equations --> "Loop" of eval_foo_bb0_in/2 0.06/0.23 * CEs [14] --> Loop 13 0.06/0.23 * CEs [13] --> Loop 14 0.06/0.23 0.06/0.23 ### Ranking functions of CR eval_foo_bb0_in(V_i,B) 0.06/0.23 0.06/0.23 #### Partial ranking functions of CR eval_foo_bb0_in(V_i,B) 0.06/0.23 0.06/0.23 0.06/0.23 ### Specialization of cost equations eval_foo_start/3 0.06/0.23 * CE 1 is refined into CE [15,16] 0.06/0.23 0.06/0.23 0.06/0.23 ### Cost equations --> "Loop" of eval_foo_start/3 0.06/0.23 * CEs [16] --> Loop 15 0.06/0.23 * CEs [15] --> Loop 16 0.06/0.23 0.06/0.23 ### Ranking functions of CR eval_foo_start(V_i,V_j,B) 0.06/0.23 0.06/0.23 #### Partial ranking functions of CR eval_foo_start(V_i,V_j,B) 0.06/0.23 0.06/0.23 0.06/0.23 Computing Bounds 0.06/0.23 ===================================== 0.06/0.23 0.06/0.23 #### Cost of chains of eval_foo_bb1_in(V__01,V__0,B): 0.06/0.23 * Chain [[8,9,10,11]]...: 2*it(8)+1*it(10)+1*it(11)+0 0.06/0.23 Such that:it(10) =< -V__0+7 0.06/0.23 0.06/0.23 with precondition: [V__0+1>=V__01,V__0>=1,B=2] 0.06/0.23 0.06/0.23 * Chain [12]: 0 0.06/0.23 with precondition: [B=2,V__0=V__01,0>=V__0] 0.06/0.23 0.06/0.23 0.06/0.23 #### Cost of chains of eval_foo_bb0_in(V_i,B): 0.06/0.23 * Chain [14]: 0 0.06/0.23 with precondition: [0>=V_i] 0.06/0.23 0.06/0.23 * Chain [13]...: 1*s(1)+3*s(2)+0 0.06/0.23 Such that:s(1) =< 6 0.06/0.23 s(1) =< -V_i+7 0.06/0.23 0.06/0.23 with precondition: [V_i>=1] 0.06/0.23 0.06/0.23 0.06/0.23 #### Cost of chains of eval_foo_start(V_i,V_j,B): 0.06/0.23 * Chain [16]: 0 0.06/0.23 with precondition: [0>=V_i] 0.06/0.23 0.06/0.23 * Chain [15]...: 1*s(4)+3*s(5)+0 0.06/0.23 Such that:s(4) =< 6 0.06/0.23 s(4) =< -V_i+7 0.06/0.23 0.06/0.23 with precondition: [V_i>=1] 0.06/0.23 0.06/0.23 0.06/0.23 Closed-form bounds of eval_foo_start(V_i,V_j,B): 0.06/0.23 ------------------------------------- 0.06/0.23 * Chain [16] with precondition: [0>=V_i] 0.06/0.23 - Upper bound: 0 0.06/0.23 - Complexity: constant 0.06/0.23 * Chain [15]... with precondition: [V_i>=1] 0.06/0.23 - Upper bound: inf 0.06/0.23 - Complexity: infinity 0.06/0.23 0.06/0.23 ### Maximum cost of eval_foo_start(V_i,V_j,B): inf 0.06/0.23 Asymptotic class: infinity 0.06/0.23 * Total analysis performed in 150 ms. 0.06/0.23 0.06/0.33 EOF