| 1 |
//===----------------------------------------------------------------------===/ |
| 2 |
// Kaleidoscope with MCJIT |
| 3 |
//===----------------------------------------------------------------------===// |
| 4 |
|
| 5 |
The files in this directory are meant to accompany the first in a series of |
| 6 |
three blog posts that describe the process of porting the Kaleidoscope tutorial |
| 7 |
to use the MCJIT execution engine instead of the older JIT engine. |
| 8 |
|
| 9 |
The source code in this directory combines all previous versions, including the |
| 10 |
old JIT-based implementation, into a single file for easy comparison with |
| 11 |
command line options to select between the various possibilities. |
| 12 |
|
| 13 |
To build the program you will need to have 'clang++' and 'llvm-config' in your |
| 14 |
path. If you attempt to build using the LLVM 3.3 release, some minor |
| 15 |
modifications will be required. |
| 16 |
|
| 17 |
This directory also contains a Python script that may be used to generate random |
| 18 |
input for the program and test scripts to capture data for rough performance |
| 19 |
comparisons. Another Python script will split generated input files into |
| 20 |
definitions and function calls for the purpose of testing the IR input and |
| 21 |
caching facilities. |