|
ABSTRACT
Memory size reduction and memory accesses optimization are crucial issues for embedded systems. In the context of affine programs, these two challenges are classically tackled by array linearization, cache access optimization and memory size computation. Their formalization in the polyhedral model reduce to solving the following problem: count the number of solutions of a Presburger formula.In this paper we propose a novel algorithm that answers this question. We solve the Presburger formula whose solution is a union of parametric Z-polytopes and we propose an algorithm to count points in such a union of parametric Z-polytopes. These algorithms were implemented and we compare them to other existing methods.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
| |
1
|
A. I. Barvinok. Computing the Ehrhart polynomial of a convex lattice polytope. Discrete Comput. Geom., 12:35--48, 1994.
|
| |
2
|
|
| |
3
|
|
| |
4
|
|
| |
5
|
P. Dálberto, A. Veidembaum, A. Nicolau, and R. Gupta. Static analysis of parameterized loop nests for energy efficient use of data caches. In Workshop on Compilers and Operating Systems for Low Power (COLP01), Sept. 2001.
|
| |
6
|
G. B. Dantzig and B. C. Eaves. Fourier-Motzkin elimination and its dual. J. Comb. Theory, Ser. A, 14(3):288--297, 1973.
|
| |
7
|
J. A. De Loera, R. Hemmecke, J. Tauzer, and R. Yoshida. Effective lattice point counting in rational convex polytopes. Journal of Symbolic Computation, 38(4):1273--1302, 2004.
|
| |
8
|
E. Ehrhart. Polynômes arithmétiques et méthode des polyèdres en combinatoire. International Series of Numerical Mathematics, 35, 1977.
|
| |
9
|
P. Feautrier. Parametric integer programming. Operationnelle/Operations Research, 22(3):243--268, 1988.
|
| |
10
|
P. Feautrier, J. Collard, and C. Bastoul. Solving systems of affine (in)equalities. Technical report, PRiSM, Versailles University, 2002.
|
 |
11
|
|
| |
12
|
P. Held. Hipars:a tool for automatic conversion of nested loop programs into single assignment programs. Technical report, Dept. Electrical Engineering, Delft University of Technology, 1994.
|
| |
13
|
W. Kelly, V. Maslov, W. Pugh, E. Rosser, T. Shpeisman, and D. Wonnacott. The Omega Library. Technical report, Institue for advanced computer studies, University of Maryland, College Park, 1996.
|
| |
14
|
V. Loechner. Polylib:A library for manipulating parameterized polyhedra. Technical report, LSIIT - ICPS UMR7005 Univ. Louis Pasteur-CNRS, Mar. 1999.
|
| |
15
|
|
| |
16
|
B. Meister. Projecting periodic polyhedra for loop nest analysis. In Proceedings of the 11th Workshop on Compilers for Parallel Computers (CPC 04), Kloster Seeon, Germany, pages 13--24, July 2004.
|
| |
17
|
B. Meister. Stating and Manipulating Periodicity in the Polytope Model. Applications to Program Analysis and Optimization. PhD thesis, December 2004.
|
| |
18
|
S. P. K. Nookala and T. Risset. A library for Z-polyhedral operations. Technical report, 1330, Irisa, 2000.
|
 |
19
|
P. R. Panda , F. Catthoor , N. D. Dutt , K. Danckaert , E. Brockmeyer , C. Kulkarni , A. Vandercappelle , P. G. Kjeldsberg, Data and memory optimization techniques for embedded systems, ACM Transactions on Design Automation of Electronic Systems (TODAES), v.6 n.2, p.149-206, April 2001
[doi> 10.1145/375977.375978]
|
| |
20
|
E. Parker and S. Chatterjee. An automata-theoretic algorithm for counting solutions to Presburger formulas. In Compiler Construction 2004, volume 2985 of Lecture Notes in Computer Science, pages 104--119, Apr. 2004.
|
 |
21
|
|
 |
22
|
|
| |
23
|
|
| |
24
|
P. Quinton, S. Rajopadhye, and T. Risset. On manipulating Z-polyhedra using a canonical representation. Parallel Processing Letters, 7(2):181--194, 1997.
|
 |
25
|
J. Ramanujam , Jinpyo Hong , Mahmut Kandemir , A. Narayan, Reducing memory requirements of nested loops for embedded systems, Proceedings of the 38th conference on Design automation, p.359-364, June 2001, Las Vegas, Nevada, United States
[doi> 10.1145/378239.378523]
|
| |
26
|
|
| |
27
|
R. Seghir and V. Loechner. Minimizing memory strides using integer transformations of parametric polytopes. Technical report, LSIIT-ICPS UMR7005 ULP-CNRS, oct 2006. http://icps. u-strasbg. fr.
|
| |
28
|
|
| |
29
|
S. Verdoolaege, K. Beyls, M. Bruynooghe, and F. Catthoor. Experiences with enumeration of integer projections of parametric polytopes. In R. Bodik, editor, Compiler Construction:14th International Conference, volume 3443, pages 91--105, Edinburgh, 3 2005. Springer.
|
 |
30
|
Sven Verdoolaege , Rachid Seghir , Kristof Beyls , Vincent Loechner , Maurice Bruynooghe, Analytical computation of Ehrhart polynomials: enabling more compiler analyses and optimizations, Proceedings of the 2004 international conference on Compilers, architecture, and synthesis for embedded systems, September 22-25, 2004, Washington DC, USA
[doi> 10.1145/1023833.1023868]
|
| |
31
|
S. Verdoolaege and K. Woods. Counting with rational generating functions, 2005. http://arxiv. org/abs/math/0504059.
|
| |
32
|
|
| |
33
|
|
|