Enhancing GCC Compiler Optimization Through Natural Language Processing-Driven Automation

Compiler optimization is crucial, for enhancing program performance. However manually choosing the optimization flags can be quite challenging for developers. This paper introduces an approach that uses Natural Language Processing (NLP) to automate the selection of GCC optimization flags based on user commands. By converting natural language inputs into compiler flags the system simplifies the optimization process and makes it more accessible to a broader audience of developers. The method involves phases starting from preparing a relevant dataset then training machine learning models and ultimately integrating these models with the GCC compiler. The results from experiments show that this approach significantly enhances both compilation efficiency and overall code performance. These results illustrate how effectively the system aligns developers intentions with what the compiler can achieve making the optimization process more intuitive and effective. This research not only streamlines compiler optimization but also paves the way for enhancing the usability of compiler tools, in future advancements.

Authors

Institutions

Publication Details

Published
2024-11-18
DOI
https://doi.org/10.1109/icdici62993.2024.10810996
Citations
2
Primary Topic
Parallel Computing and Optimization Techniques
Type
article
Field-Weighted Citation Impact
0.98
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Enhancing GCC Compiler Optimization Through Natural Language Processing-Driven Automation

C. R. Kavitha, S. Anirudh
2 citations
Parallel Computing and Optimization Techniques
0.98
article

Enhancing GCC Compiler Optimization Through Natural Language Processing-Driven Automation

C. R. Kavitha, S. Anirudh
article en
2 citations

Abstract

Compiler optimization is crucial, for enhancing program performance. However manually choosing the optimization flags can be quite challenging for developers. This paper introduces an approach that uses Natural Language Processing (NLP) to automate the selection of GCC optimization flags based on user commands. By converting natural language inputs into compiler flags the system simplifies the optimization process and makes it more accessible to a broader audience of developers. The method involves phases starting from preparing a relevant dataset then training machine learning models and ultimately integrating these models with the GCC compiler. The results from experiments show that this approach significantly enhances both compilation efficiency and overall code performance. These results illustrate how effectively the system aligns developers intentions with what the compiler can achieve making the optimization process more intuitive and effective. This research not only streamlines compiler optimization but also paves the way for enhancing the usability of compiler tools, in future advancements.

Amrita Vishwa Vidyapeetham (IN)
Quality Education
Openalex Percentile: Top 22%
Parallel Computing and Optimization Techniques
0.98
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.