High-Reliability Compilation Optimization Sequence Generation Framework Based ANN

Wu Jiang,Xu Jianjun,Meng Xiankai,Zhang Zhuo,Zhang Nan,Zhang Haoyu
DOI: https://doi.org/10.1109/QRS51102.2020.00053
2020-01-01
Abstract:Traditional methods include iterative compilation can make the compilation optimization sequence selection process automatically, and execute as many different versions of the program as possible within the allowed time and space. However, this method is a mechanical search. It lacks the use of previously acquired experience and requires larger implementation overhead. Therefore, there is a need for a compilation optimization method that can automatically predict the reliability of the target program after transformation without actually running the program. This paper proposes a method for compilation optimization sequence generation: ROPO (reliability oriented phase ordering) ANN. This method extracts program features based on the LLVM compilation framework and searches the compilation optimization space to find the best compilation optimization sequence for the current program version. The experimental results show that when comparing ROPOANN with existing iterative compilation methods and the non-iterative generation algorithms, the reliability improvement has also been greatly improved.
What problem does this paper attempt to address?