4. Kaleidoscope: Adding JIT and Optimizer Support

ID: llvm-20-1-0-documentation/4-kaleidoscope-adding-jit-and-optimizer-support

Part of the Implementing a language with LLVM tutorial in LLVM 20.1.0 documentation.
Cited passages: LLVM 20.1.0 documentation, Implementing a language with LLVM, §4.1: optimizer and just-in-time compilation additions; §4.4: HandleTopLevelExpression, addModule, lookup and a native function call; §4.5: full code listing and ExprSymbol.toPtr.

New to topics? Read the docs here!