Serene

Announcements

▶️ How to build a compiler with LLVM and MLIR - 17 Custom ORC Layers

▶️ How to build a compiler with LLVM and MLIR - 16 ORC Layers

▶️ How to build a compiler with LLVM and MLIR - 15 LLVM ORC JIT

▶️ How to build a compiler with LLVM and MLIR - 14 JIT Basics

In this episode I talk about the basic fundamentals that we need to know before building our own JIT engine. We are going to implement our own JIT engine in our compiler using the LLVM and MLIR APIs.

Also please excuse the lack of 1080p quality. Unfortunately, I forgot to set the output resolution to 1080p in OBS (That happens when you lose your data and configuration :P ).

Watch on YouTube

▶️ How to build a compiler with LLVM and MLIR - 12 Target code generation

In this episode I talk about the native code generation process and linking process. I go a bit deeper on the concepts of an object file and how a linker links them together. Last but not least, I demonstrate how to generate target code out of the LLVMIR and generate an executable file.

Resources:

Watch on YouTube

▶️ How to build a compiler with LLVM and MLIR - 10 Pass Infrastructure

In this episode I've talked about the basics of MLIR and LLVM's pass infrastructure. We are going to need these for the next episode when we want to lower the SLIR to LLVMIR.

Since we didn't go through the code there won't be a branch for this episode.

Watch on YouTube

▶️ How to build a compiler with LLVM and MLIR - 08 MLIR Basics