0.02/0.18 MAYBE 0.02/0.18 0.02/0.18 Preprocessing Cost Relations 0.02/0.18 ===================================== 0.02/0.18 0.02/0.18 #### Computed strongly connected components 0.02/0.18 0. recursive : [f2/7] 0.02/0.18 1. non_recursive : [exit_location/1] 0.02/0.18 2. non_recursive : [f300/4] 0.02/0.18 3. non_recursive : [f2_loop_cont/5] 0.02/0.18 4. non_recursive : [f3/4] 0.02/0.18 0.02/0.18 #### Obtained direct recursion through partial evaluation 0.02/0.18 0. SCC is partially evaluated into f2/7 0.02/0.18 1. SCC is completely evaluated into other SCCs 0.02/0.18 2. SCC is completely evaluated into other SCCs 0.02/0.18 3. SCC is partially evaluated into f2_loop_cont/5 0.02/0.18 4. SCC is partially evaluated into f3/4 0.02/0.18 0.02/0.18 Control-Flow Refinement of Cost Relations 0.02/0.18 ===================================== 0.02/0.18 0.02/0.18 ### Specialization of cost equations f2/7 0.02/0.18 * CE 6 is refined into CE [9] 0.02/0.18 * CE 5 is refined into CE [10] 0.02/0.18 * CE 2 is refined into CE [11] 0.02/0.18 * CE 3 is refined into CE [12] 0.02/0.18 * CE 4 is refined into CE [13] 0.02/0.18 0.02/0.18 0.02/0.18 ### Cost equations --> "Loop" of f2/7 0.02/0.18 * CEs [11] --> Loop 9 0.02/0.18 * CEs [12] --> Loop 10 0.02/0.18 * CEs [13] --> Loop 11 0.02/0.18 * CEs [9] --> Loop 12 0.02/0.18 * CEs [10] --> Loop 13 0.02/0.18 0.02/0.18 ### Ranking functions of CR f2(A,B,C,E,F,G,H) 0.02/0.18 0.02/0.18 #### Partial ranking functions of CR f2(A,B,C,E,F,G,H) 0.02/0.18 * Partial RF of phase [9,10,11]: 0.02/0.18 - RF of loop [9:1,10:1]: 0.02/0.18 A+1 0.02/0.18 0.02/0.18 0.02/0.18 ### Specialization of cost equations f2_loop_cont/5 0.02/0.18 * CE 8 is refined into CE [14] 0.02/0.18 * CE 7 is refined into CE [15] 0.02/0.18 0.02/0.18 0.02/0.18 ### Cost equations --> "Loop" of f2_loop_cont/5 0.02/0.18 * CEs [14] --> Loop 14 0.02/0.18 * CEs [15] --> Loop 15 0.02/0.18 0.02/0.18 ### Ranking functions of CR f2_loop_cont(A,B,C,D,E) 0.02/0.18 0.02/0.18 #### Partial ranking functions of CR f2_loop_cont(A,B,C,D,E) 0.02/0.18 0.02/0.18 0.02/0.18 ### Specialization of cost equations f3/4 0.02/0.18 * CE 1 is refined into CE [16,17,18,19,20,21] 0.02/0.18 0.02/0.18 0.02/0.18 ### Cost equations --> "Loop" of f3/4 0.02/0.18 * CEs [20,21] --> Loop 16 0.02/0.18 * CEs [16,19] --> Loop 17 0.02/0.18 * CEs [17] --> Loop 18 0.02/0.18 * CEs [18] --> Loop 19 0.02/0.18 0.02/0.18 ### Ranking functions of CR f3(A,B,C,E) 0.02/0.18 0.02/0.18 #### Partial ranking functions of CR f3(A,B,C,E) 0.02/0.18 0.02/0.18 0.02/0.18 Computing Bounds 0.02/0.18 ===================================== 0.02/0.18 0.02/0.18 #### Cost of chains of f2(A,B,C,E,F,G,H): 0.02/0.18 * Chain [[9,10,11]]...: 2*it(9)+1*it(11)+0 0.02/0.18 Such that:aux(3) =< A+1 0.02/0.18 it(9) =< aux(3) 0.02/0.18 0.02/0.18 with precondition: [A>=0] 0.02/0.18 0.02/0.18 * Chain [[9,10,11],13]: 2*it(9)+1*it(11)+0 0.02/0.18 Such that:aux(4) =< A+1 0.02/0.18 it(9) =< aux(4) 0.02/0.18 0.02/0.18 with precondition: [E=2,F+1=0,A>=0] 0.02/0.18 0.02/0.18 * Chain [[9,10,11],12]: 2*it(9)+1*it(11)+0 0.02/0.18 Such that:aux(5) =< A+1 0.02/0.18 it(9) =< aux(5) 0.02/0.18 0.02/0.18 with precondition: [E=3,A>=0] 0.02/0.18 0.02/0.18 * Chain [13]: 0 0.02/0.18 with precondition: [E=2,G=B,A=F,0>=A+1] 0.02/0.18 0.02/0.18 * Chain [12]: 0 0.02/0.18 with precondition: [E=3] 0.02/0.18 0.02/0.18 0.02/0.18 #### Cost of chains of f2_loop_cont(A,B,C,D,E): 0.02/0.18 * Chain [15]: 0 0.02/0.18 with precondition: [A=2] 0.02/0.18 0.02/0.18 * Chain [14]: 0 0.02/0.18 with precondition: [A=3] 0.02/0.18 0.02/0.18 0.02/0.18 #### Cost of chains of f3(A,B,C,E): 0.02/0.18 * Chain [19]: 0 0.02/0.18 with precondition: [] 0.02/0.18 0.02/0.18 * Chain [18]: 0 0.02/0.18 with precondition: [0>=A+1] 0.02/0.18 0.02/0.18 * Chain [17]: 4*s(2)+2*s(3)+0 0.02/0.18 Such that:aux(6) =< A+1 0.02/0.18 s(2) =< aux(6) 0.02/0.18 0.02/0.18 with precondition: [A>=0] 0.02/0.18 0.02/0.18 * Chain [16]...: 4*s(8)+2*s(9)+0 0.02/0.18 Such that:aux(7) =< A+1 0.02/0.18 s(8) =< aux(7) 0.02/0.18 0.02/0.18 with precondition: [A>=0] 0.02/0.18 0.02/0.18 0.02/0.18 Closed-form bounds of f3(A,B,C,E): 0.02/0.18 ------------------------------------- 0.02/0.18 * Chain [19] with precondition: [] 0.02/0.18 - Upper bound: 0 0.02/0.18 - Complexity: constant 0.02/0.18 * Chain [18] with precondition: [0>=A+1] 0.02/0.18 - Upper bound: 0 0.02/0.18 - Complexity: constant 0.02/0.18 * Chain [17] with precondition: [A>=0] 0.02/0.18 - Upper bound: inf 0.02/0.18 - Complexity: infinity 0.02/0.18 * Chain [16]... with precondition: [A>=0] 0.02/0.18 - Upper bound: inf 0.02/0.18 - Complexity: infinity 0.02/0.18 0.02/0.18 ### Maximum cost of f3(A,B,C,E): inf 0.02/0.18 Asymptotic class: infinity 0.02/0.18 * Total analysis performed in 121 ms. 0.02/0.18 0.02/0.28 EOF