LLVM Optimization Passes: Function Analysis & Local Optimizations
May 15, 2025 · 10 min read · Compilers LLVM Compiler Optimization IR Analysis Code Generation Loop Analysis Optimization Passes ·Course: Compiler Optimization | Semester: Spring 2025 Technical Focus: IR Analysis, Pass Infrastructure, Optimization Algorithms Problem Statement & Motivation LLVM's optimization infrastructure provides extensibility but lacks accessible tutorials for custom passes. Students must navigate complex APIs: Function, …
Read MoreRegister Allocation Optimization through Coalescing & Live Range Splitting
May 15, 2025 · 11 min read · Compilers Register Allocation Code Generation LLVM Optimization Compiler Algorithms Performance Tuning ·Course: Compiler Design - Advanced Topics | Semester: Spring 2025 Technical Focus: Graph Coloring, Register Pressure, Code Generation Problem Statement & Motivation Register allocation is the compiler's final opportunity to improve code quality before machine code generation. Modern CPUs have 16-32 integer registers, …
Read More