0.78/0.84 WORST_CASE(?,O(1)) 0.78/0.84 0.78/0.84 Preprocessing Cost Relations 0.78/0.84 ===================================== 0.78/0.84 0.78/0.84 #### Computed strongly connected components 0.78/0.84 0. recursive : [f6/7] 0.78/0.84 1. non_recursive : [exit_location/1] 0.78/0.84 2. recursive : [f14/37] 0.78/0.84 3. recursive : [f57/37] 0.78/0.84 4. non_recursive : [f101/21] 0.78/0.84 5. non_recursive : [f57_loop_cont/22] 0.78/0.84 6. non_recursive : [f14_loop_cont/22] 0.78/0.84 7. non_recursive : [f6_loop_cont/22] 0.78/0.84 8. non_recursive : [f0/21] 0.78/0.84 0.78/0.84 #### Obtained direct recursion through partial evaluation 0.78/0.84 0. SCC is partially evaluated into f6/7 0.78/0.84 1. SCC is completely evaluated into other SCCs 0.78/0.84 2. SCC is partially evaluated into f14/37 0.78/0.84 3. SCC is partially evaluated into f57/37 0.78/0.84 4. SCC is completely evaluated into other SCCs 0.78/0.84 5. SCC is partially evaluated into f57_loop_cont/22 0.78/0.84 6. SCC is partially evaluated into f14_loop_cont/22 0.78/0.84 7. SCC is partially evaluated into f6_loop_cont/22 0.78/0.84 8. SCC is partially evaluated into f0/21 0.78/0.84 0.78/0.84 Control-Flow Refinement of Cost Relations 0.78/0.84 ===================================== 0.78/0.84 0.78/0.84 ### Specialization of cost equations f6/7 0.78/0.84 * CE 3 is refined into CE [17] 0.78/0.84 * CE 4 is refined into CE [18] 0.78/0.84 * CE 2 is refined into CE [19] 0.78/0.84 0.78/0.84 0.78/0.84 ### Cost equations --> "Loop" of f6/7 0.78/0.84 * CEs [19] --> Loop 17 0.78/0.84 * CEs [17] --> Loop 18 0.78/0.84 * CEs [18] --> Loop 19 0.78/0.84 0.78/0.84 ### Ranking functions of CR f6(A,B,C,L1,M1,N1,O1) 0.78/0.84 * RF of phase [17]: [-B+64] 0.78/0.84 0.78/0.84 #### Partial ranking functions of CR f6(A,B,C,L1,M1,N1,O1) 0.78/0.84 * Partial RF of phase [17]: 0.78/0.84 - RF of loop [17:1]: 0.78/0.84 -B+64 0.78/0.84 0.78/0.84 0.78/0.84 ### Specialization of cost equations f14/37 0.78/0.84 * CE 8 is refined into CE [20] 0.78/0.84 * CE 9 is refined into CE [21] 0.78/0.84 * CE 7 is refined into CE [22] 0.78/0.84 0.78/0.84 0.78/0.84 ### Cost equations --> "Loop" of f14/37 0.78/0.84 * CEs [22] --> Loop 20 0.78/0.84 * CEs [20] --> Loop 21 0.78/0.84 * CEs [21] --> Loop 22 0.78/0.84 0.78/0.84 ### Ranking functions of CR f14(C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,L1,M1,N1,O1,P1,Q1,R1,S1,T1,U1,V1,W1,X1,Y1,Z1,A2,B2,C2,D2) 0.78/0.84 * RF of phase [20]: [C+1] 0.78/0.84 0.78/0.84 #### Partial ranking functions of CR f14(C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,L1,M1,N1,O1,P1,Q1,R1,S1,T1,U1,V1,W1,X1,Y1,Z1,A2,B2,C2,D2) 0.78/0.84 * Partial RF of phase [20]: 0.78/0.84 - RF of loop [20:1]: 0.78/0.84 C+1 0.78/0.84 0.78/0.84 0.78/0.84 ### Specialization of cost equations f57/37 0.78/0.84 * CE 14 is refined into CE [23] 0.78/0.84 * CE 13 is refined into CE [24] 0.78/0.84 * CE 12 is refined into CE [25] 0.78/0.84 0.78/0.84 0.78/0.84 ### Cost equations --> "Loop" of f57/37 0.78/0.84 * CEs [25] --> Loop 23 0.78/0.84 * CEs [23] --> Loop 24 0.78/0.84 * CEs [24] --> Loop 25 0.78/0.84 0.78/0.84 ### Ranking functions of CR f57(C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,L1,M1,N1,O1,P1,Q1,R1,S1,T1,U1,V1,W1,X1,Y1,Z1,A2,B2,C2,D2) 0.78/0.84 * RF of phase [23]: [C+1] 0.78/0.84 0.78/0.84 #### Partial ranking functions of CR f57(C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,L1,M1,N1,O1,P1,Q1,R1,S1,T1,U1,V1,W1,X1,Y1,Z1,A2,B2,C2,D2) 0.78/0.84 * Partial RF of phase [23]: 0.78/0.84 - RF of loop [23:1]: 0.78/0.84 C+1 0.78/0.84 0.78/0.84 0.78/0.84 ### Specialization of cost equations f57_loop_cont/22 0.78/0.84 * CE 16 is refined into CE [26] 0.78/0.84 * CE 15 is refined into CE [27] 0.78/0.84 0.78/0.84 0.78/0.84 ### Cost equations --> "Loop" of f57_loop_cont/22 0.78/0.84 * CEs [26] --> Loop 26 0.78/0.84 * CEs [27] --> Loop 27 0.78/0.84 0.78/0.84 ### Ranking functions of CR f57_loop_cont(A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V) 0.78/0.84 0.78/0.84 #### Partial ranking functions of CR f57_loop_cont(A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V) 0.78/0.84 0.78/0.84 0.78/0.84 ### Specialization of cost equations f14_loop_cont/22 0.78/0.84 * CE 11 is refined into CE [28,29,30,31] 0.78/0.84 * CE 10 is refined into CE [32] 0.78/0.84 0.78/0.84 0.78/0.84 ### Cost equations --> "Loop" of f14_loop_cont/22 0.78/0.84 * CEs [28,31] --> Loop 28 0.78/0.84 * CEs [29] --> Loop 29 0.78/0.84 * CEs [30] --> Loop 30 0.78/0.84 * CEs [32] --> Loop 31 0.78/0.84 0.78/0.84 ### Ranking functions of CR f14_loop_cont(A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V) 0.78/0.84 0.78/0.84 #### Partial ranking functions of CR f14_loop_cont(A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V) 0.78/0.84 0.78/0.84 0.78/0.84 ### Specialization of cost equations f6_loop_cont/22 0.78/0.84 * CE 6 is refined into CE [33,34,35,36,37,38] 0.78/0.84 * CE 5 is refined into CE [39] 0.78/0.84 0.78/0.84 0.78/0.84 ### Cost equations --> "Loop" of f6_loop_cont/22 0.78/0.84 * CEs [34,37,38] --> Loop 32 0.78/0.84 * CEs [35,36] --> Loop 33 0.78/0.84 * CEs [33] --> Loop 34 0.78/0.84 * CEs [39] --> Loop 35 0.78/0.84 0.78/0.85 ### Ranking functions of CR f6_loop_cont(A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V) 0.78/0.85 0.78/0.85 #### Partial ranking functions of CR f6_loop_cont(A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V) 0.78/0.85 0.78/0.85 0.78/0.85 ### Specialization of cost equations f0/21 0.78/0.85 * CE 1 is refined into CE [40,41,42,43] 0.78/0.85 0.78/0.85 0.78/0.85 ### Cost equations --> "Loop" of f0/21 0.78/0.85 * CEs [40,41,42,43] --> Loop 36 0.78/0.85 0.78/0.85 ### 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,L1) 0.78/0.85 0.78/0.85 #### 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,L1) 0.78/0.85 0.78/0.85 0.78/0.85 Computing Bounds 0.78/0.85 ===================================== 0.78/0.85 0.78/0.85 #### Cost of chains of f6(A,B,C,L1,M1,N1,O1): 0.78/0.85 * Chain [[17],19]: 1*it(17)+0 0.78/0.85 Such that:it(17) =< -B+64 0.78/0.85 0.78/0.85 with precondition: [L1=3,63>=B,B>=0] 0.78/0.85 0.78/0.85 * Chain [[17],18]: 1*it(17)+0 0.78/0.85 Such that:it(17) =< -B+64 0.78/0.85 0.78/0.85 with precondition: [L1=5,N1=64,O1=7,63>=B,B>=0] 0.78/0.85 0.78/0.85 * Chain [19]: 0 0.78/0.85 with precondition: [L1=3,B>=0] 0.78/0.85 0.78/0.85 0.78/0.85 #### Cost of chains of f14(C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,L1,M1,N1,O1,P1,Q1,R1,S1,T1,U1,V1,W1,X1,Y1,Z1,A2,B2,C2,D2): 0.78/0.85 * Chain [[20],22]: 1*it(20)+0 0.78/0.85 Such that:it(20) =< C+1 0.78/0.85 0.78/0.85 with precondition: [L1=3,C>=0] 0.78/0.85 0.78/0.85 * Chain [[20],21]: 1*it(20)+0 0.78/0.85 Such that:it(20) =< C+1 0.78/0.85 0.78/0.85 with precondition: [L1=4,M1=7,P1=R1+Y1,N1=T1+W1,N1+T1=V1,P1+R1=X1,C>=0] 0.78/0.85 0.78/0.85 * Chain [22]: 0 0.78/0.85 with precondition: [L1=3] 0.78/0.85 0.78/0.85 * Chain [21]: 0 0.78/0.85 with precondition: [L1=4,M1=7,N1=D,O1=E,P1=F,Q1=G,R1=H,S1=I,T1=J,U1=K,V1=L,W1=M,X1=N,Y1=O,Z1=P,A2=Q,B2=R,C2=S,D2=T,0>=C+1] 0.78/0.85 0.78/0.85 0.78/0.85 #### Cost of chains of f57(C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,L1,M1,N1,O1,P1,Q1,R1,S1,T1,U1,V1,W1,X1,Y1,Z1,A2,B2,C2,D2): 0.78/0.85 * Chain [[23],25]: 1*it(23)+0 0.78/0.85 Such that:it(23) =< C+1 0.78/0.85 0.78/0.85 with precondition: [L1=2,M1+1=0,P1=R1+Y1,N1=T1+W1,N1+T1=V1,P1+R1=X1,C>=0] 0.78/0.85 0.78/0.85 * Chain [[23],24]: 1*it(23)+0 0.78/0.85 Such that:it(23) =< C+1 0.78/0.85 0.78/0.85 with precondition: [L1=3,C>=0] 0.78/0.85 0.78/0.85 * Chain [25]: 0 0.78/0.85 with precondition: [L1=2,N1=D,O1=E,P1=F,Q1=G,R1=H,S1=I,T1=J,U1=K,V1=L,W1=M,X1=N,Y1=O,Z1=P,A2=Q,B2=R,C2=S,D2=T,C=M1,0>=C+1] 0.78/0.85 0.78/0.85 * Chain [24]: 0 0.78/0.85 with precondition: [L1=3] 0.78/0.85 0.78/0.85 0.78/0.85 #### Cost of chains of f57_loop_cont(A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V): 0.78/0.85 * Chain [27]: 0 0.78/0.85 with precondition: [A=2] 0.78/0.85 0.78/0.85 * Chain [26]: 0 0.78/0.85 with precondition: [A=3] 0.78/0.85 0.78/0.85 0.78/0.85 #### Cost of chains of f14_loop_cont(A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V): 0.78/0.85 * Chain [31]: 0 0.78/0.85 with precondition: [A=3] 0.78/0.85 0.78/0.85 * Chain [30]: 0 0.78/0.85 with precondition: [A=4] 0.78/0.85 0.78/0.85 * Chain [29]: 0 0.78/0.85 with precondition: [A=4,0>=D+1] 0.78/0.85 0.78/0.85 * Chain [28]: 2*s(1)+0 0.78/0.85 Such that:aux(1) =< D+1 0.78/0.85 s(1) =< aux(1) 0.78/0.85 0.78/0.85 with precondition: [A=4,D>=0] 0.78/0.85 0.78/0.85 0.78/0.85 #### Cost of chains of f6_loop_cont(A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V): 0.78/0.85 * Chain [35]: 0 0.78/0.85 with precondition: [A=3] 0.78/0.85 0.78/0.85 * Chain [34]: 0 0.78/0.85 with precondition: [A=5] 0.78/0.85 0.78/0.85 * Chain [33]: 16 0.78/0.85 with precondition: [A=5,0>=D+1] 0.78/0.85 0.78/0.85 * Chain [32]: 3*s(5)+2*s(9)+0 0.78/0.85 Such that:s(8) =< 8 0.78/0.85 aux(2) =< D+1 0.78/0.85 s(5) =< aux(2) 0.78/0.85 s(9) =< s(8) 0.78/0.85 0.78/0.85 with precondition: [A=5,D>=0] 0.78/0.85 0.78/0.85 0.78/0.85 #### 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,L1): 0.78/0.85 * Chain [36]: 232 0.78/0.85 with precondition: [] 0.78/0.85 0.78/0.85 0.78/0.85 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,L1): 0.78/0.85 ------------------------------------- 0.78/0.85 * Chain [36] with precondition: [] 0.78/0.85 - Upper bound: 232 0.78/0.85 - Complexity: constant 0.78/0.85 0.78/0.85 ### Maximum cost of f0(A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,L1): 232 0.78/0.85 Asymptotic class: constant 0.78/0.85 * Total analysis performed in 741 ms. 0.78/0.85 0.85/0.95 EOF