The major building blocks of LLVM can be subdivided in three logical categories: the frontend, the intermediate representation (IR) and the backend. More in details, LLVM provides an infrastructure that simplifies this process providing tools and APIs to write a compiler for an existing language or to implement a brand new programming language. It’s designed to be very modular and supports all the compilation phases including frontend processing, code generation, optimization, and so forth. By writing our frontend for our language (RPG) we will be able to get executables for all the platforms supported by LLVM, without extra work ![]()
0 Comments
Leave a Reply. |