Exploring the Intermediate Representation of GCC
This week I gained a deeper and clearer understanding about some terminologies and the flow within a compiler that I have posted last week. Frontend Basically it uses a parser to produce the syntax tree abstraction of a given source file. It will translate source codes into intermediate representation (IR) like GENERIC, GIMPLE, and RTL that are used in GCC. GENERIC GENERIC is a common representation that is able to represent programs written in all the languages supported by GCC. It Read more