Compilergym: Robust, performant compiler optimization environments for ai research

C Cummins, B Wasti, J Guo, B Cui… - 2022 IEEE/ACM …, 2022 - ieeexplore.ieee.org
Interest in applying Artificial Intelligence (AI) techniques to compiler optimizations is
increasing rapidly, but compiler research has a high entry barrier. Unlike in other domains …

Compile: A large ir dataset from production sources

A Grossman, L Paehler, K Parasyris, T Ben-Nun… - arXiv preprint arXiv …, 2023 - arxiv.org
Code is increasingly becoming a core data modality of modern machine learning research
impacting not only the way we write code with conversational agents like OpenAI's ChatGPT …

Learning intermediate representations using graph neural networks for numa and prefetchers optimization

A TehraniJamsaz, M Popov, A Dutta… - 2022 IEEE …, 2022 - ieeexplore.ieee.org
There is a large space of NUMA and hardware prefetcher configurations that can
significantly impact the performance of an application. Previous studies have demonstrated …

Loop rolling for code size reduction

RCO Rocha, P Petoumenos, B Franke… - 2022 IEEE/ACM …, 2022 - ieeexplore.ieee.org
Code size is critical for resource-constrained devices, where memory and storage are
limited. Compilers, therefore, should offer optimizations aimed at code reduction. One such …

SLaDe: A Portable Small Language Model Decompiler for Optimized Assembly

J Armengol-Estapé, J Woodruff… - 2024 IEEE/ACM …, 2024 - ieeexplore.ieee.org
Decompilation is a well-studied area with numerous high-quality tools available. These are
frequently used for security tasks and to port legacy code. However, they regularly generate …

Compiler generated feedback for Large Language Models

D Grubisic, C Cummins, V Seeker… - arXiv preprint arXiv …, 2024 - arxiv.org
We introduce a novel paradigm in compiler optimization powered by Large Language
Models with compiler feedback to optimize the code size of LLVM assembly. The model …

Learning compiler pass orders using coreset and normalized value prediction

Y Liang, K Stone, A Shameli… - International …, 2023 - proceedings.mlr.press
Finding the optimal pass sequence of compilation can lead to a significant reduction in
program size. Prior works on compilation pass ordering have two major drawbacks. They …

Program representations for predictive compilation: State of affairs in the early 20's

AF da Silva, E Borin, FMQ Pereira, NLQ Junior… - Journal of Computer …, 2022 - Elsevier
In the last five years, predictive compilation has advanced with long strides. Contributions in
the field include new program embeddings, new learning architectures, and datasets with …

Learning c to x86 translation: An experiment in neural compilation

J Armengol-Estapé, MFP O'Boyle - arXiv preprint arXiv:2108.07639, 2021 - arxiv.org
Deep learning has had a significant impact on many fields. Recently, code-to-code neural
models have been used in code translation, code refinement and decompilation. However …

Supercompiler Code Optimization with Zero-Shot Reinforcement Learning

J Wu, C Deng, J Wang, M Long - arXiv preprint arXiv:2404.16077, 2024 - arxiv.org
Effective code optimization in compilers plays a central role in computer and software
engineering. While compilers can be made to automatically search the optimization space …