An intermediate representation (IR) is a data structure or code used internally by compilers or virtual machines to represent source code. It is designed to be accurate and independent of any specific language. This allows for further processing, optimization, and translation, making it possible for different source languages to generate code for various target architectures using compiler systems like GCC and LLVM.
UC Berkeley
Fall 2022
Explores how compilers translate high-level languages into machine-understandable code, offering practical experience with developing compilers for various languages. Also covers reasoning about compiler correctness and understanding runtime errors.
No concepts data
+ 28 more concepts