Sciweavers

CC
2001
Springer

Goal-Directed Value Profiling

14 years 3 months ago
Goal-Directed Value Profiling
Compilers can exploit knowledge that a variable has a fixed known value at a program point for optimizations such as code specialization and constant folding. Recent work has shown that it is possible to take advantage of such optimizations, and thereby obtain significant performance improvements, even if a variable cannot be statically guaranteed to have a fixed constant value. To do this profitably, however, it is necessary to take into account information about the runtime distribution of values taken on by variables. This information can be obtained though value profiling. Unfortunately, existing approaches to value profiling incur high overheads, primarily because profiling is carried out without consideration for the way in which the resulting information will be used. In this paper, we describe an approach to reduce the cost of value profiling by making the value profiler aware of the utility of the value profiles being gathered. This allows our profiler to avoid wasting resourc...
Scott A. Watterson, Saumya K. Debray
Added 23 Aug 2010
Updated 23 Aug 2010
Type Conference
Year 2001
Where CC
Authors Scott A. Watterson, Saumya K. Debray
Comments (0)