跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 程序设计语言

arXiv:2602.06142 (cs)
[提交于 2026年2月5日 (v1),最后修订于 2026年6月11日 (此版本, v3)]

标题:Protean Compiler: An Agile Framework to Drive Fine-grain Phase Ordering

作者:Amir H. Ashouri, Shayan Shirahmad Gale Bagi, Kavin Satheeskumar, Tejas Srikanth, Jonathan Zhao, Ibrahim Saidoun, Ziwen Wang, Bryan Chan, Tomasz S. Czajkowski
查看论文《Protean Compiler: An Agile Framework to Drive Fine-grain Phase Ordering》的 PDF
查看中文 PDF 查看原文 PDF EasyResearch 阅读
摘要:The phase ordering problem has been a long-standing challenge since the late 1970s, yet it remains an open problem due to having a vast optimization space and an unbounded nature, making it an open-ended problem without a finite solution, one can limit the scope by reducing the number and the length of optimizations. Traditionally, such locally optimized decisions are made by hand-coded algorithms tuned for a small number of benchmarks, often requiring significant effort to be retuned when the benchmark suite changes. In the past 20 years, Machine Learning has been employed to construct performance models to improve the selection and ordering of compiler optimizations, however, the approaches are not baked into the compiler seamlessly and never materialized to be leveraged at a fine-grained scope of code segments. This paper presents Protean Compiler: An agile framework to enable LLVM with built-in phase-ordering capabilities at a fine-grained scope. The framework also comprises a complete library of more than 140 handcrafted static feature collection methods at varying scopes, and the experimental results showcase speedup gains of up to 4.1% on average and up to 15.7% on select Cbench applications wrt LLVM's O3 by just incurring a few extra seconds of build time on Cbench. Additionally, Protean compiler allows for an easy integration with third-party ML frameworks and other Large Language Models, and two applications of this two-step optimization show a gain of 10.1\% and 8.5\% speedup w.r.t. -O3 on CBench's Susan and Jpeg applications. Protean compiler is seamlessly integrated into LLVM and can be used as a new, enhanced, full-fledged compiler. We plan to release the project to the open-source community in the near future.
评论: Version 3: Preprint version of the accepted work at ACM TACO 2026
主题: 程序设计语言 (cs.PL); 人工智能 (cs.AI); 计算与语言 (cs.CL); 机器学习 (cs.LG); 性能 (cs.PF)
引用方式: arXiv:2602.06142 [cs.PL]
  (或者 arXiv:2602.06142v3 [cs.PL] 对于此版本)
  https://doi.org/10.48550/arXiv.2602.06142

提交历史

来自:Amir Ashouri
[v1] 2026年2月5日 星期四 19:24:05 UTC (1,124 KB)
[v2] 2026年2月17日 星期二 19:29:16 UTC (1,124 KB)
[v3] 2026年6月11日 星期四 23:01:47 UTC (1,381 KB)
全文链接:

访问论文:

  • 查看中文 PDF
  • 查看原文 PDF
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.AI
< 上一篇   |   下一篇 >
最新 | 近期 | 2026-06
切换浏览方式为:
cs
cs.PL
cs.CL
cs.LG
cs.PF

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站