Name Date Size #Lines LOC

..--

README.txtH A D25-Jun-20211.4 KiB2821

genk-timing.pyH A D08-Jul-202410.8 KiB291242

split-lib.pyH A D08-Jul-20243.8 KiB10789

toy-jit.cppH A D08-Jul-202434 KiB1,204747

toy.cppH A D08-Jul-202444.2 KiB1,550995

README.txt

1//===----------------------------------------------------------------------===/
2//                          Kaleidoscope with MCJIT
3//===----------------------------------------------------------------------===//
4
5The files in this directory are meant to accompany the third blog 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
9The link of blog post-
10https://blog.llvm.org/posts/2013-08-02-object-caching-with-kaleidoscope/
11
12The source code in this directory demonstrates the third version of the
13program, now modified to accept an input IR file on the command line and,
14optionally, to use a basic caching mechanism to store generated object images.
15
16The toy-jit.cpp file contains a version of the original JIT-based source code
17that has been modified to support the input IR file command line option.
18
19To build the program you will need to have 'clang++' and 'llvm-config' in your
20path. If you attempt to build using the LLVM 3.3 release, some minor
21modifications will be required.
22
23This directory also contains a Python script that may be used to generate random
24input for the program and test scripts to capture data for rough performance
25comparisons.  Another Python script will split generated input files into
26definitions and function calls for the purpose of testing the IR input and
27caching facilities.
28