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