- Building Your First LLVM Optimization Pass
Published: Tags: llvm C++ LLVM is a powerful toolchain used by many modern programming languages such as Rust and Swift, but even older languages like C/C++ can make effective use of it. It not only translates intermediate code into machine-specific instructions but also optimizes it through a series of analysis and transformation passes.
This blog post aims to demystify LLVM optimization passes and guide you through writing your first one.
- Ieads Definitive Guide to LLVM Backends (I)
Published: Last Modified: Tags: llvm C++ VM When writing my first llvm backend at my last job I quickly found out that there is only very material assisting the creation of a custom backend. The posts and tutorials only cover the basics and stop as soon as it starts to become really interesting. This series of posts serves to fill the void left by others and to teach how to customice and tailor different aspects of a backend to your needs.