Authors
Wei-Ngan Chin, Siau-Cheng Khoo
Publication date
2001/9
Journal
Higher-Order and Symbolic Computation
Volume
14
Issue
2
Pages
261-300
Publisher
Kluwer Academic Publishers
Description
Many program optimizations and analyses, such as array-bounds checking, termination analysis, etc., depend on knowing the size of a function's input and output. However, size information can be difficult to compute. Firstly, accurate size computation requires detecting a size relation between different inputs of a function. Secondly, different optimizations and analyses may require slightly different size information, and thus slightly different computation. Literature in size computation has mainly concentrated on size checking, instead of size inference. In this paper, we provide a generic framework on which different size variants can be expressed and computed. We also describe an effective algorithm for inferring, instead of checking, size information. Size information are expressed in terms of Presburger formulae, and our algorithm utilizes the Omega Calculator to compute as exact a size information as …
Total citations
20012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202499710118101212813951713181223
Scholar articles
WN Chin, SC Khoo - Higher-Order and Symbolic Computation, 2001
WN Chin, SC Khoo - ACM SIGPLAN Notices, 1999