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