• Home
Name Date Size #Lines LOC

..--

MakefileD03-May-2024291 85

README.txtD03-May-20241.3 KiB2519

genk-timing.pyD03-May-202410.3 KiB220178

toy-jit.cppD03-May-202433 KiB1,168726

toy.cppD03-May-202440.2 KiB1,423913

README.txt

1//===----------------------------------------------------------------------===/
2//                          Kaleidoscope with MCJIT
3//===----------------------------------------------------------------------===//
4
5The files in this directory are meant to accompany the first in a series of
6three blog posts that describe the process of porting the Kaleidoscope tutorial
7to use the MCJIT execution engine instead of the older JIT engine.
8
9When the blog post is ready this file will be updated with a link to the post.
10
11The source code in this directory demonstrates the second version of the
12program, now modified to implement a sort of 'lazy' compilation.
13
14The toy-jit.cpp file contains a version of the original JIT-based source code
15that has been modified to disable most stderr output for timing purposes.
16
17This directory contain a Makefile that allow the code to be built in a
18standalone manner, independent of the larger LLVM build infrastructure. To build
19the program you will need to have 'clang++' and 'llvm-config' in your path. If
20you attempt to build using the LLVM 3.3 release, some minor modifications will
21be required.
22
23This directory also contains a Python script that may be used to generate random
24input for the program and test scripts to capture data for rough performance
25comparisons.