Please use this identifier to cite or link to this item:
https://scholarbank.nus.edu.sg/handle/10635/39942
Title: | Calculating sized types | Authors: | Chin, Wei-Ngan Khoo, Siau-Cheng |
Issue Date: | 2000 | Citation: | Chin, Wei-Ngan,Khoo, Siau-Cheng (2000). Calculating sized types. Proceedings of the ACM SIGPLAN Symposium on Partial Evaluation and Semantics-Based Program Manipulation : 62-72. ScholarBank@NUS Repository. | Abstract: | Many program optimizations and analyses, such as array-bound 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 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 inferencing. 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 possible, within the linear arithmetic capability. | Source Title: | Proceedings of the ACM SIGPLAN Symposium on Partial Evaluation and Semantics-Based Program Manipulation | URI: | http://scholarbank.nus.edu.sg/handle/10635/39942 |
Appears in Collections: | Staff Publications |
Show full item record
Files in This Item:
There are no files associated with this item.
Google ScholarTM
Check
Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.