blob: 5f4cbbfe3d2c880672699f7c34d25a8b910586ed (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
//===----------------------------------------------------------------------===/
// Kaleidoscope with Orc - Initial Version
//===----------------------------------------------------------------------===//
This version of Kaleidoscope with Orc demonstrates fully eager compilation. When
a function definition or top-level expression is entered it is immediately
translated (IRGen'd) to LLVM IR and added to the JIT, where it is code-gen'd to
native code and either stored (for function definitions) or executed (for
top-level expressions).
This directory contain a Makefile that allow the code to be built in a
standalone manner, independent of the larger LLVM build infrastructure. To build
the program you will need to have 'clang++' and 'llvm-config' in your path.
|