▶️ How to build a compiler with LLVM and MLIR - 15 LLVM ORC JIT
In this episode, I talk about high level API of ORC. The LLVM JIT library that we are using in the Serene compiler. I go through some of the examples of LLJIT and ORCv2.
Also It is funny that l can't say "MaterializationUnit", I've messed it up quite a lot :)).
- Website: https://serene-lang.org
- Repository: https://git.sr.ht/~lxsameer/Serene
- Branch: https://git.sr.ht/~lxsameer/Serene/tree/ep15
- Slides: https://git.sr.ht/~lxsameer/Serene/tree/ep15/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/OrcV2Examples/LLJITDumpObjects
- https://github.com/llvm/llvm-project/tree/main/llvm/examples/OrcV2Examples/LLJITWithInitializers
- https://github.com/llvm/llvm-project/tree/main/llvm/examples/OrcV2Examples/LLJITWithLazyReexports
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