Title :
An approach for pointer optimization using SSA based intermediate representation
Author :
Barhate, Deodatta ; Sarje, Anil K.
Author_Institution :
Dept. of Electron. & Comput. Eng., Indian Inst. of Technol. Roorkee, Roorkee, India
Abstract :
In optimizing compilers, most of the optimizing algorithms are applied on intermediate representation. Optimizing algorithms such as constant propagation can be applied on intermediate code using data flow analysis which is expensive regarding compilation time. Also for pointer variables, these algorithms cannot be applied directly on pointers as pointers are difficult to analyse. In this paper, new approach for applying optimization algorithms such as constant propagation on pointer variables has been proposed. To avoid data flow analysis, static single assignment (SSA) form is used for intermediate representation and for pointers, alias classes are used. So using SSA and each alias class as a single variable, constant propagation algorithm can be applied on pointer variables very efficiently.
Keywords :
data flow analysis; optimisation; program compilers; SSA based intermediate representation; constant propagation algorithm; data flow analysis; intermediate code; optimization algorithms; pointer optimization; static single assignment; Algorithm design and analysis; Computer languages; Optimization; Optimizing compilers; Process control; Compiler; alias classes; optimization algorithms; static single assignment;
Conference_Titel :
Recent Trends in Information Technology (ICRTIT), 2011 International Conference on
Conference_Location :
Chennai, Tamil Nadu
Print_ISBN :
978-1-4577-0588-5
DOI :
10.1109/ICRTIT.2011.5972428