Skip to content

Lexicon Entry

IR

Intermediate Representation (IR) is the data structure or code used internally by a compiler or virtual machine to represent source code before translating it to target machine code.

Related Knowledge & Cross-References

Guide

The Ultimate Guide to Compiler Optimization Passes: Boosting Performance with -O2

You have written your code, but how does the compiler make it run three times faster when you enable optimizations? We demystify compiler optimization passes and see exactly what happens under the hood.