1.22/1.23 MAYBE 1.22/1.23 1.22/1.23 Preprocessing Cost Relations 1.22/1.23 ===================================== 1.22/1.23 1.22/1.23 #### Computed strongly connected components 1.22/1.23 0. recursive : [f11/40] 1.22/1.23 1. non_recursive : [exit_location/1] 1.22/1.23 2. recursive : [f51/1] 1.22/1.23 3. non_recursive : [f51_loop_cont/2] 1.22/1.23 4. non_recursive : [f37/23] 1.22/1.23 5. non_recursive : [f11_loop_cont/24] 1.22/1.23 6. non_recursive : [f0/23] 1.22/1.23 1.22/1.23 #### Obtained direct recursion through partial evaluation 1.22/1.23 0. SCC is partially evaluated into f11/40 1.22/1.23 1. SCC is completely evaluated into other SCCs 1.22/1.23 2. SCC is partially evaluated into f51/1 1.22/1.23 3. SCC is completely evaluated into other SCCs 1.22/1.23 4. SCC is partially evaluated into f37/23 1.22/1.23 5. SCC is partially evaluated into f11_loop_cont/24 1.22/1.23 6. SCC is partially evaluated into f0/23 1.22/1.23 1.22/1.23 Control-Flow Refinement of Cost Relations 1.22/1.23 ===================================== 1.22/1.23 1.22/1.23 ### Specialization of cost equations f11/40 1.22/1.23 * CE 4 is refined into CE [16] 1.22/1.23 * CE 5 is refined into CE [17] 1.22/1.23 * CE 3 is refined into CE [18] 1.22/1.23 * CE 2 is refined into CE [19] 1.22/1.23 * CE 7 is refined into CE [20] 1.22/1.23 * CE 6 is refined into CE [21] 1.22/1.23 1.22/1.23 1.22/1.23 ### Cost equations --> "Loop" of f11/40 1.22/1.23 * CEs [21] --> Loop 16 1.22/1.23 * CEs [16] --> Loop 17 1.22/1.23 * CEs [17] --> Loop 18 1.22/1.23 * CEs [18] --> Loop 19 1.22/1.23 * CEs [19] --> Loop 20 1.22/1.23 * CEs [20] --> Loop 21 1.22/1.23 1.22/1.23 ### Ranking functions of CR f11(A,B,C,D,E,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,B1,C1,D1,E1,F1,G1,H1,I1,J1,K1,L1,M1,N1,O1,P1,Q1,R1,S1,T1,U1) 1.22/1.23 * RF of phase [16]: [-A+B] 1.22/1.23 1.22/1.23 #### Partial ranking functions of CR f11(A,B,C,D,E,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,B1,C1,D1,E1,F1,G1,H1,I1,J1,K1,L1,M1,N1,O1,P1,Q1,R1,S1,T1,U1) 1.22/1.23 * Partial RF of phase [16]: 1.22/1.23 - RF of loop [16:1]: 1.22/1.23 -A+B 1.22/1.23 1.22/1.23 1.22/1.23 ### Specialization of cost equations f51/1 1.22/1.23 * CE 15 is refined into CE [22] 1.22/1.23 * CE 14 is refined into CE [23] 1.22/1.23 1.22/1.23 1.22/1.23 ### Cost equations --> "Loop" of f51/1 1.22/1.23 * CEs [23] --> Loop 22 1.22/1.23 * CEs [22] --> Loop 23 1.22/1.23 1.22/1.23 ### Ranking functions of CR f51(B1) 1.22/1.23 1.22/1.23 #### Partial ranking functions of CR f51(B1) 1.22/1.23 1.22/1.23 1.22/1.23 ### Specialization of cost equations f37/23 1.22/1.23 * CE 11 is refined into CE [24,25] 1.22/1.23 * CE 12 is refined into CE [26,27] 1.22/1.23 * CE 13 is refined into CE [28,29] 1.22/1.23 1.22/1.23 1.22/1.23 ### Cost equations --> "Loop" of f37/23 1.22/1.23 * CEs [25] --> Loop 24 1.22/1.23 * CEs [27] --> Loop 25 1.22/1.23 * CEs [29] --> Loop 26 1.22/1.23 * CEs [24] --> Loop 27 1.22/1.23 * CEs [26] --> Loop 28 1.22/1.23 * CEs [28] --> Loop 29 1.22/1.23 1.22/1.23 ### Ranking functions of CR f37(A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,B1) 1.22/1.23 1.22/1.23 #### Partial ranking functions of CR f37(A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,B1) 1.22/1.23 1.22/1.23 1.22/1.23 ### Specialization of cost equations f11_loop_cont/24 1.22/1.23 * CE 8 is refined into CE [30,31,32,33,34,35] 1.22/1.23 * CE 10 is refined into CE [36,37] 1.22/1.23 * CE 9 is refined into CE [38] 1.22/1.23 1.22/1.23 1.22/1.23 ### Cost equations --> "Loop" of f11_loop_cont/24 1.22/1.23 * CEs [32] --> Loop 30 1.22/1.23 * CEs [31] --> Loop 31 1.22/1.23 * CEs [30] --> Loop 32 1.22/1.23 * CEs [36] --> Loop 33 1.22/1.23 * CEs [38] --> Loop 34 1.22/1.23 * CEs [35] --> Loop 35 1.22/1.23 * CEs [34] --> Loop 36 1.22/1.23 * CEs [33] --> Loop 37 1.22/1.23 * CEs [37] --> Loop 38 1.22/1.23 1.22/1.23 ### Ranking functions of CR f11_loop_cont(A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X) 1.22/1.23 1.22/1.23 #### Partial ranking functions of CR f11_loop_cont(A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X) 1.22/1.23 1.22/1.23 1.22/1.23 ### Specialization of cost equations f0/23 1.22/1.23 * CE 1 is refined into CE [39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60] 1.22/1.23 1.22/1.23 1.22/1.23 ### Cost equations --> "Loop" of f0/23 1.22/1.23 * CEs [48] --> Loop 39 1.22/1.23 * CEs [44,56,59,60] --> Loop 40 1.22/1.23 * CEs [42,46,50,53,54] --> Loop 41 1.22/1.23 * CEs [47] --> Loop 42 1.22/1.23 * CEs [43,55,57,58] --> Loop 43 1.22/1.23 * CEs [40,41,45,49,51,52] --> Loop 44 1.22/1.23 * CEs [39] --> Loop 45 1.22/1.23 1.22/1.23 ### Ranking functions of CR f0(A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,B1) 1.22/1.23 1.22/1.23 #### Partial ranking functions of CR f0(A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,B1) 1.22/1.23 1.22/1.23 1.22/1.23 Computing Bounds 1.22/1.23 ===================================== 1.22/1.23 1.22/1.23 #### Cost of chains of f11(A,B,C,D,E,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,B1,C1,D1,E1,F1,G1,H1,I1,J1,K1,L1,M1,N1,O1,P1,Q1,R1,S1,T1,U1): 1.22/1.23 * Chain [[16],21]: 1*it(16)+0 1.22/1.23 Such that:it(16) =< -A+B 1.22/1.23 1.22/1.23 with precondition: [C=0,B1=2,B>=A+1] 1.22/1.23 1.22/1.23 * Chain [[16],20]: 1*it(16)+0 1.22/1.23 Such that:it(16) =< -A+B 1.22/1.23 1.22/1.23 with precondition: [C=0,B1=3,D1=0,E1=0,F1=1,R1=1,S1=1,T1=1,U1=0,B=C1,D=K1,G1=L1,G1=M1,G1=N1,G1=O1,Q=P1,Q=Q1,0>=G1,B>=A+1] 1.22/1.23 1.22/1.23 * Chain [[16],19]: 1*it(16)+0 1.22/1.23 Such that:it(16) =< -A+C1 1.22/1.23 1.22/1.23 with precondition: [C=0,B1=3,D1=0,E1=0,F1=1,R1=1,S1=1,T1=1,U1=0,D=K1,G1=L1,G1=M1,G1=N1,Q=P1,Q=Q1,0>=O1,G1>=1,C1>=A+1,B>=C1+1] 1.22/1.23 1.22/1.23 * Chain [[16],18]: 1*it(16)+0 1.22/1.23 Such that:it(16) =< -A+C1 1.22/1.23 1.22/1.23 with precondition: [C=0,B1=4,D1=0,Q1=0,U1=0,D=E1,D=K1,G1=L1,G1=M1,G1=N1,G1=O1,Q=P1,F1=R1,F1=S1,F1=T1,0>=F1,0>=G1,C1>=A+1,B>=C1+1] 1.22/1.23 1.22/1.23 * Chain [[16],17]: 1*it(16)+0 1.22/1.23 Such that:it(16) =< -A+C1 1.22/1.23 1.22/1.23 with precondition: [C=0,B1=4,D1=0,Q1=0,U1=0,D=E1,D=K1,G1=L1,G1=M1,G1=N1,G1=O1,Q=P1,F1=R1,F1=S1,F1=T1,0>=G1,F1>=2,C1>=A+1,B>=C1+1] 1.22/1.23 1.22/1.23 * Chain [21]: 0 1.22/1.23 with precondition: [C=0,B1=2] 1.22/1.23 1.22/1.23 * Chain [20]: 0 1.22/1.23 with precondition: [C=0,B1=3,D1=0,E1=0,F1=E,G1=G,H1=H,I1=I,J1=J,K1=K,L1=L,M1=M,N1=N,O1=O,P1=P,Q1=Q,R1=R,S1=S,T1=T,U1=U,A=C1,A>=B] 1.22/1.23 1.22/1.23 * Chain [19]: 0 1.22/1.23 with precondition: [C=0,B1=3,D1=0,E1=0,K1=D,F1=E,O1=O,P1=P,Q1=Q,R1=R,S1=S,T1=T,U1=U,A=C1,G1=L1,G1=M1,G1=N1,G1>=1,B>=A+1] 1.22/1.23 1.22/1.23 * Chain [18]: 0 1.22/1.23 with precondition: [C=0,B1=4,D1=0,Q1=0,U1=0,P1=Q,A=C1,D=E1,D=K1,G1=L1,G1=M1,G1=N1,G1=O1,F1=R1,F1=S1,F1=T1,0>=F1,0>=G1,B>=A+1] 1.22/1.23 1.22/1.23 * Chain [17]: 0 1.22/1.23 with precondition: [C=0,B1=4,D1=0,Q1=0,U1=0,P1=Q,A=C1,D=E1,D=K1,G1=L1,G1=M1,G1=N1,G1=O1,F1=R1,F1=S1,F1=T1,0>=G1,F1>=2,B>=A+1] 1.22/1.23 1.22/1.23 1.22/1.23 #### Cost of chains of f51(B1): 1.22/1.23 * Chain [[22]]...: 1*it(22)+0 1.22/1.23 with precondition: [B1=2] 1.22/1.23 1.22/1.23 * Chain [[22],23]: 1*it(22)+0 1.22/1.23 with precondition: [B1=2] 1.22/1.23 1.22/1.23 * Chain [23]: 0 1.22/1.23 with precondition: [B1=2] 1.22/1.23 1.22/1.23 1.22/1.23 #### Cost of chains of f37(A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,B1): 1.22/1.23 * Chain [29]: 1*s(2)+0 1.22/1.23 with precondition: [E=2,V=0] 1.22/1.23 1.22/1.23 * Chain [28]: 1*s(3)+0 1.22/1.23 with precondition: [V=0,1>=E] 1.22/1.23 1.22/1.23 * Chain [27]: 1*s(4)+0 1.22/1.23 with precondition: [V=0,E>=3] 1.22/1.23 1.22/1.23 * Chain [26]...: 1*s(5)+0 1.22/1.23 with precondition: [E=2,V=0] 1.22/1.23 1.22/1.23 * Chain [25]...: 1*s(6)+0 1.22/1.23 with precondition: [V=0,1>=E] 1.22/1.23 1.22/1.23 * Chain [24]...: 1*s(7)+0 1.22/1.23 with precondition: [V=0,E>=3] 1.22/1.23 1.22/1.23 1.22/1.23 #### Cost of chains of f11_loop_cont(A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X): 1.22/1.23 * Chain [38]...: 1*s(8)+0 1.22/1.23 with precondition: [A=3,W=0] 1.22/1.23 1.22/1.23 * Chain [37]...: 1*s(9)+0 1.22/1.23 with precondition: [A=4,F=2,W=0] 1.22/1.23 1.22/1.23 * Chain [36]...: 1*s(10)+0 1.22/1.23 with precondition: [A=4,W=0,1>=F] 1.22/1.23 1.22/1.23 * Chain [35]...: 1*s(11)+0 1.22/1.23 with precondition: [A=4,W=0,F>=3] 1.22/1.23 1.22/1.23 * Chain [34]: 0 1.22/1.23 with precondition: [A=2,W=0] 1.22/1.23 1.22/1.23 * Chain [33]: 1*s(12)+0 1.22/1.23 with precondition: [A=3,W=0] 1.22/1.23 1.22/1.23 * Chain [32]: 1*s(13)+0 1.22/1.23 with precondition: [A=4,F=2,W=0] 1.22/1.23 1.22/1.23 * Chain [31]: 1*s(14)+0 1.22/1.23 with precondition: [A=4,W=0,1>=F] 1.22/1.23 1.22/1.23 * Chain [30]: 1*s(15)+0 1.22/1.23 with precondition: [A=4,W=0,F>=3] 1.22/1.23 1.22/1.23 1.22/1.23 #### Cost of chains of f0(A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,B1): 1.22/1.23 * Chain [45]: 0 1.22/1.23 with precondition: [] 1.22/1.23 1.22/1.23 * Chain [44]: 2*s(16)+5*s(18)+0 1.22/1.23 Such that:aux(2) =< -A+B 1.22/1.23 s(16) =< aux(2) 1.22/1.23 1.22/1.23 with precondition: [B>=A+1] 1.22/1.23 1.22/1.23 * Chain [43]: 4*s(23)+4*s(24)+0 1.22/1.23 Such that:aux(3) =< -A+B 1.22/1.23 s(23) =< aux(3) 1.22/1.23 1.22/1.23 with precondition: [B>=A+2] 1.22/1.23 1.22/1.23 * Chain [42]: 1*s(31)+0 1.22/1.23 with precondition: [A>=B] 1.22/1.23 1.22/1.23 * Chain [41]...: 1*s(32)+5*s(33)+0 1.22/1.23 Such that:s(32) =< -A+B 1.22/1.23 1.22/1.23 with precondition: [B>=A+1] 1.22/1.23 1.22/1.23 * Chain [40]...: 4*s(38)+4*s(39)+0 1.22/1.23 Such that:aux(4) =< -A+B 1.22/1.23 s(38) =< aux(4) 1.22/1.23 1.22/1.23 with precondition: [B>=A+2] 1.22/1.23 1.22/1.23 * Chain [39]...: 1*s(46)+0 1.22/1.23 with precondition: [A>=B] 1.22/1.23 1.22/1.23 1.22/1.23 Closed-form bounds of f0(A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,B1): 1.22/1.23 ------------------------------------- 1.22/1.23 * Chain [45] with precondition: [] 1.22/1.23 - Upper bound: 0 1.22/1.23 - Complexity: constant 1.22/1.23 * Chain [44] with precondition: [B>=A+1] 1.22/1.23 - Upper bound: inf 1.22/1.23 - Complexity: infinity 1.22/1.23 * Chain [43] with precondition: [B>=A+2] 1.22/1.23 - Upper bound: inf 1.22/1.23 - Complexity: infinity 1.22/1.23 * Chain [42] with precondition: [A>=B] 1.22/1.23 - Upper bound: inf 1.22/1.23 - Complexity: infinity 1.22/1.23 * Chain [41]... with precondition: [B>=A+1] 1.22/1.23 - Upper bound: inf 1.22/1.23 - Complexity: infinity 1.22/1.23 * Chain [40]... with precondition: [B>=A+2] 1.22/1.23 - Upper bound: inf 1.22/1.23 - Complexity: infinity 1.22/1.23 * Chain [39]... with precondition: [A>=B] 1.22/1.23 - Upper bound: inf 1.22/1.23 - Complexity: infinity 1.22/1.23 1.22/1.23 ### Maximum cost of f0(A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,B1): inf 1.22/1.23 Asymptotic class: infinity 1.22/1.23 * Total analysis performed in 1110 ms. 1.22/1.23 1.23/1.33 EOF