Speed and precision in range analysis. Campos, V. H. S., Rodrigues, R. E., de Assis Costa, I. R., & Pereira, F. M. Q. In Proc. of the 16th Brazilian Conf. on Programming Languages, pages 42--56, 2012.
abstract   bibtex   
Range analysis is a compiler technique that determines statically the lower and upper values that each integer variable from a target program may assume during this program's execution. This type of inference is very important, because it enables several compiler optimizations, such as dead and redundant code elimination, bitwidth aware register allocation, and detection of program vulnerabilities. In this paper we describe an inter-procedural, context-sensitive range analysis algorithm that we have implemented in the LLVM compiler. During the effort to produce an industrial-quality implementation of our algorithm, we had to face a constant tension between precision and speed. The foremost goal of this paper is to discuss the many engineering choices that, due to this tension, have shaped our implementation. Given the breath of our evaluation, we believe that this paper contains the most comprehensive empirical study of a range analysis algorithm ever presented in the compiler related literature.
@inproceedings{campos_speed_2012,
	title = {Speed and precision in range analysis},
	abstract = {Range analysis is a compiler technique that determines statically the lower and upper values that each integer variable from a target program may assume during this program's execution. This type of inference is very important, because it enables several compiler optimizations, such as dead and redundant code elimination, bitwidth aware register allocation, and detection of program vulnerabilities. In this paper we describe an inter-procedural, context-sensitive range analysis algorithm that we have implemented in the LLVM compiler. During the effort to produce an industrial-quality implementation of our algorithm, we had to face a constant tension between precision and speed. The foremost goal of this paper is to discuss the many engineering choices that, due to this tension, have shaped our implementation. Given the breath of our evaluation, we believe that this paper contains the most comprehensive empirical study of a range analysis algorithm ever presented in the compiler related literature.},
	urldate = {2013-09-18TZ},
	booktitle = {Proc. of the 16th {Brazilian} {Conf}. on {Programming} {Languages}},
	author = {Campos, Victor Hugo Sperle and Rodrigues, Raphael Ernani and de Assis Costa, Igor Rafael and Pereira, Fernando Magno Quintão},
	year = {2012},
	pages = {42--56}
}

Downloads: 0