LLVM
summary
Modular compiler infrastructure that splits frontends, an SSA-based LLVM IR bitcode middle layer and pluggable backends; used by Swift, Julia, Rust and companies like Apple, Google, Nvidia and Intel. Specific tools: clang compiler (claims parity or better than GCC for generated code), lli JIT runtime, LLD linker enabling link-time optimization, LLDB debugger and sanitizers. Example flows show compiling C to .ll, converting to bitcode, linking cross-language modules and running via JIT; Apple’s x86→ARM transition is largely just recompilation thanks to LLVM backends.
AI-written summary · about
chapters (8)
- 0:00Introduction to LLVM
- 2:05LLVM's origins and impact
- 7:07Modular compiler architecture
- 13:30Performance and cross-platform use
- 23:06Intermediate representation demo
- 33:39Optimization techniques
- 44:44Extending LLVM
- 51:44Summary and next talk
related talks
06mLightning Talk: Keeping Up to LLVM IR: An Introduction to LLVM IR
38mFireside chat
24mCompilers and LLVM Demystified
32mGetting started with LLVM using Swift
49mLLVMLinux: The Linux Kernel with Dragon Wings
24mRISC V LLVM: Towards A Production-Ready LLVM-Based Toolchain
46mWhat LLVM Is and What It Has to Do with Java
43mLLVMLinux: Compiling the Linux Kernel with LLVM
