Title :
A clustering-based approach for exploring sequences of compiler optimizations
Author :
Martins, Luiz G. A. ; Nobre, Ricardo ; Delbem, Alexandre C. B. ; Marques, Eduardo ; Cardoso, Joao M. P.
Author_Institution :
Fac. of Comput., Fed. Univ. of Uberlandia, Uberlândia, Brazil
Abstract :
In this paper we present a clustering-based selection approach for reducing the number of compilation passes used in search space during the exploration of optimizations aiming at increasing the performance of a given function and/or code fragment. The basic idea is to identify similarities among functions and to use the passes previously explored each time a new function is being compiled. This subset of compiler optimizations is then used by a Design Space Exploration (DSE) process. The identification of similarities is obtained by a data mining method which is applied to a symbolic code representation that translates the main structures of the source code to a sequence of symbols based on transformation rules. Experiments were performed for evaluating the effectiveness of the proposed approach. The selection of compiler optimization sequences considering a set of 49 compilation passes and targeting a Xilinx MicroBlaze processor was performed aiming at latency improvements for 41 functions from Texas Instruments benchmarks. The results reveal that the passes selection based on our clustering method achieves a significant gain on execution time over the full search space still achieving important performance speedups.
Keywords :
data mining; optimising compilers; pattern clustering; source code (software); DSE; Texas Instruments benchmarks; Xilinx MicroBlaze processor; clustering-based selection approach; code fragment; compiler optimization sequences; data mining method; design space exploration process; search space; similarity identification; source code; symbol sequence; symbolic code representation; transformation rules; Clustering algorithms; DNA; Data mining; Encoding; Feature extraction; Optimization; Phylogeny;
Conference_Titel :
Evolutionary Computation (CEC), 2014 IEEE Congress on
Conference_Location :
Beijing
Print_ISBN :
978-1-4799-6626-4
DOI :
10.1109/CEC.2014.6900634