โ† Back to Research

Research Area

Compiler Technologies

Building the compiler infrastructure that empowers scientists and engineers to transform, analyze, and optimize large-scale scientific codes โ€” without needing to become compiler experts themselves. The ROSE compiler framework is Chunhua's flagship contribution to this space, enabling a new generation of HPC tooling.

๐Ÿ“– Overview

Compiler technology is the invisible backbone of every high-performance application โ€” but historically, building compiler tools required deep, specialized expertise that put them out of reach for most developers. Chunhua's work on the ROSE compiler infrastructure fundamentally changed this by providing a mature, open-source framework for constructing program analysis and transformation tools for C, C++, Fortran, Ada, and Java. ROSE empowers domain scientists, HPC engineers, and tool builders to write powerful source-to-source transformations without needing to understand the full complexity of compiler internals.

A key insight behind ROSE's design is the source-to-source transformation approach: rather than operating on low-level intermediate representations (IRs), ROSE works at the source-code level. This preserves developer intent, keeps generated code readable and maintainable, and allows transformations to be validated by human experts. This philosophy makes ROSE uniquely suited for scientific computing, where code longevity and human understandability are paramount.

More recently, Chunhua has expanded this vision by integrating Large Language Models (LLMs) into compiler workflows โ€” using AI to interpret compiler optimization reports, suggest code transformations, and assist with language migrations. This intersection of classical compiler theory and modern AI represents the frontier of his current research, culminating in tools like CompilerGPT that make compiler intelligence accessible to every HPC developer.

๐Ÿ“„ Key Publications

2025 C3PO-HPC @ ISC 2025

CompilerGPT: Leveraging LLMs for Compiler Optimization Reports

Chunhua Liao et al.

Introduces CompilerGPT, a system that uses large language models to interpret, explain, and act upon compiler optimization reports โ€” bridging the gap between cryptic compiler feedback and actionable developer guidance. Directly extends ROSE's mission of making compiler technology accessible.

2024 2024

Ada Language Support in the ROSE Compiler Infrastructure

Chunhua Liao et al.

Extends ROSE's language coverage to Ada, enabling static analysis and transformation of safety-critical and legacy Ada codebases used in defense and aerospace applications. Demonstrates ROSE's extensibility as a multi-language platform.

2025 PLDI 2025

Reductive Analysis with Compiler-Guided LLMs for Code Optimizations

Chunhua Liao et al.

A novel compiler-AI integration technique that uses reductive analysis โ€” progressively simplifying program context โ€” to guide LLMs in identifying and applying code optimizations in complex scientific programs. Published at PLDI, the premier programming languages venue.

2009 R&D 100 Award

ROSE: An Open Source Compiler Infrastructure for Scientific Computing

Dan Quinlan, Chunhua Liao, et al. โ€” Lawrence Livermore National Laboratory

The foundational work describing the ROSE compiler infrastructure for source-to-source analysis and transformation. Recognized with the prestigious R&D 100 Award in 2009, ROSE has been deployed in numerous DOE laboratory projects and academic institutions worldwide.

๐Ÿ’ป Software & Tools

๐Ÿค–

CompilerGPT

AI-Powered Compiler Tools

LLM-powered tool that translates compiler optimization reports into plain-English explanations โ€” helping HPC developers understand what the compiler did (or couldn't do) and how to improve their code. Built on top of ROSE analysis.

LLMPythonCompilersHPC

๐Ÿ’ก Impact & Insights

Compiler technology should not require a PhD in compilers. ROSE was built on the principle that scientists and engineers โ€” not just compiler researchers โ€” should be able to analyze and transform their own code.
  • The source-to-source approach preserves developer intent and produces human-readable output โ€” a critical differentiator for scientific codebases where maintainability matters as much as performance.
  • By building a high-level API over compiler internals, ROSE enables domain scientists to write analysis tools in days rather than months, democratizing access to compiler technology.
  • The R&D 100 Award recognition validates ROSE's impact beyond academia โ€” it has become production infrastructure at multiple national laboratories.
  • The pivot to LLM-augmented compiler tools (CompilerGPT, PLDI 2025) marks a new frontier: using AI to interpret and communicate compiler intelligence to developers in natural language.
  • Multi-language support (C, C++, Fortran, Ada, Java) means ROSE addresses the real-world heterogeneity of HPC codebases, including legacy code that other tools ignore.