▶️ How to build a compiler with LLVM and MLIR - 17 Custom ORC Layers
In this episode, I talk about ORC layers and how to create a custom layer to add any program representation to our LLVM based JIT engine.
- Website: https://serene-lang.org
- Repository: https://git.sr.ht/~lxsameer/Serene
- Branch: https://git.sr.ht/~lxsameer/Serene/tree/ep17
- Slides: https://git.sr.ht/~lxsameer/Serene/tree/ep17/item/docs/videos.org
Reseurces:
- https://www.llvm.org/docs/ORCv2.html
- https://github.com/llvm/llvm-project/tree/main/llvm/examples/HowToUseLLJIT
- https://github.com/llvm/llvm-project/tree/main/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1
- https://github.com/llvm/llvm-project/tree/main/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1
Videos:
- ORCv2 -- LLVM JIT APIs Deep Dive - https://www.youtube.com/watch?v=i-inxFudrgI
- Updating ORC JIT for Concurrency - https://www.youtube.com/watch?v=MOQG5vkh9J8
- ORC -- LLVM's Next Generation of JIT API - https://www.youtube.com/watch?v=hILdR8XRvdQ