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