xref: /aosp_15_r20/external/llvm/examples/Kaleidoscope/MCJIT/complete/README.txt (revision 9880d6810fe72a1726cb53787c6711e909410d58)
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 combines all previous versions, including the
12*9880d681SAndroid Build Coastguard Workerold JIT-based implementation, into a single file for easy comparison with
13*9880d681SAndroid Build Coastguard Workercommand line options to select between the various possibilities.
14*9880d681SAndroid Build Coastguard Worker
15*9880d681SAndroid Build Coastguard WorkerThis directory contain a Makefile that allow the code to be built in a
16*9880d681SAndroid Build Coastguard Workerstandalone manner, independent of the larger LLVM build infrastructure. To build
17*9880d681SAndroid Build Coastguard Workerthe program you will need to have 'clang++' and 'llvm-config' in your path. If
18*9880d681SAndroid Build Coastguard Workeryou attempt to build using the LLVM 3.3 release, some minor modifications will
19*9880d681SAndroid Build Coastguard Workerbe required.
20*9880d681SAndroid Build Coastguard Worker
21*9880d681SAndroid Build Coastguard WorkerThis directory also contains a Python script that may be used to generate random
22*9880d681SAndroid Build Coastguard Workerinput for the program and test scripts to capture data for rough performance
23*9880d681SAndroid Build Coastguard Workercomparisons.  Another Python script will split generated input files into
24*9880d681SAndroid Build Coastguard Workerdefinitions and function calls for the purpose of testing the IR input and
25*9880d681SAndroid Build Coastguard Workercaching facilities.