Part 4
LLVM IR to Machine IR
Now that the secrets of the Machine intermediate representation (IR) have been uncovered, you are ready to learn how to produce it from the LLVM IR.
This part focuses on LLVM IR to Machine IR translation. This translation is called instruction selection and the LLVM infrastructure features several instruction selection frameworks to choose from.
In this part, you will learn about the different instruction selection frameworks, how to use them, and how to provide the necessary target-specific information that they need to function.
The target-specific information that you will learn to provide includes the application binary interface (ABI) of your target, which instructions are supported, and how you get from LLVM ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access