How The Flang Frontend Works - Introduction to the Interior of the Open-Source Fortran Frontend for LLVM
Workshop: LLVM-HPC2017: Fourth Workshop on the LLVM Compiler Infrastructure in HPC
Authors: Paul Osmialowski (ARM Ltd)
Abstract: In May 2017, PGI publicized Flang, an Open–Source Fortran frontend for LLVM along with a complementary runtime library. The ultimate goal set for Flang is to make it part of the whole LLVM ecosystem with level of support and attention equal to that experienced by the Clang frontend. To come closer to this goal, it is important to make Flang widely known and more visible. A good introduction to the frontend interior could serve such a purpose and the intention of this presentation is to describe how Flang works and how its source code is structured.