Title :
Modification of the SSAPRE algorithm for semantic code motion
Author :
Gurchenkov, Denis S.
Author_Institution :
Inst. of Inf. Syst., Novosibirsk, Russia
fDate :
26 June-3 July 2004
Abstract :
Code motion (CM) is a technique for program transformation aimed at removing program statements that are redundant due to recomputing previously produced values. Such transformations improve the program performance and decrease its size, so redundancy elimination is employed by all optimizing compilers. Most of the algorithms used in production compilers perform syntactic code motion [1] in the sense that they find and remove redundancy between lexically identical expressions. This paper presents an improvement over the well-known SSAPRE algorithm that was previously limited to syntactic code motion. The proposed modification increases the algorithm strength by capturing the redundancy carried through assignment statements, including code patterns that cannot be optimized by any existing CM technique. The presented algorithm can be thought of as semantic code motion.
Keywords :
program compilers; program debugging; programming language semantics; redundancy; software reliability; lexically identical expressions; production compilers; program transformation; semantic code motion; static single assignment partial redundancy elimination algorithm; syntactic code motion; Algorithm design and analysis; Data analysis; Data flow computing; Man machine systems; Motion analysis; Optimizing compilers; Performance analysis; Production; Program processors; Symbiosis;
Conference_Titel :
Science and Technology, 2004. KORUS 2004. Proceedings. The 8th Russian-Korean International Symposium on
Print_ISBN :
0-7803-8383-4
DOI :
10.1109/KORUS.2004.1555271