• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 combines all previous versions, including the
12old JIT-based implementation, into a single file for easy comparison with
13command line options to select between the various possibilities.
14
15This directory contain a Makefile that allow the code to be built in a
16standalone manner, independent of the larger LLVM build infrastructure. To build
17the program you will need to have 'clang++' and 'llvm-config' in your path. If
18you attempt to build using the LLVM 3.3 release, some minor modifications will
19be required.
20
21This directory also contains a Python script that may be used to generate random
22input for the program and test scripts to capture data for rough performance
23comparisons.  Another Python script will split generated input files into
24definitions and function calls for the purpose of testing the IR input and
25caching facilities.