• Home
  • History
  • Annotate
  • only in /external/llvm/examples/Kaleidoscope/MCJIT/cached/
NameDateSize

..11-Jun-20184 KiB

genk-timing.py11-Jun-201810.3 KiB

README.txt11-Jun-20181.5 KiB

split-lib.py11-Jun-20183.5 KiB

toy-jit.cpp11-Jun-201834 KiB

toy.cpp11-Jun-201844.1 KiB

README.txt

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 demonstrates the third version of the
12program, now modified to accept an input IR file on the command line and,
13optionally, to use a basic caching mechanism to store generated object images.
14
15The toy-jit.cpp file contains a version of the original JIT-based source code
16that has been modified to support the input IR file command line option.
17
18This directory contain a Makefile that allow the code to be built in a
19standalone manner, independent of the larger LLVM build infrastructure. To build
20the program you will need to have 'clang++' and 'llvm-config' in your path. If
21you attempt to build using the LLVM 3.3 release, some minor modifications will
22be required.
23
24This directory also contains a Python script that may be used to generate random
25input for the program and test scripts to capture data for rough performance
26comparisons.  Another Python script will split generated input files into
27definitions and function calls for the purpose of testing the IR input and
28caching facilities.