Name |
Date |
Size |
#Lines |
LOC |
||
---|---|---|---|---|---|---|
.. | - | - | ||||
README.txt | D | 23-Nov-2023 | 1.3 KiB | 25 | 19 | |
genk-timing.py | D | 23-Nov-2023 | 10.3 KiB | 220 | 178 | |
toy-jit.cpp | D | 23-Nov-2023 | 32.7 KiB | 1,166 | 724 | |
toy.cpp | D | 23-Nov-2023 | 39.9 KiB | 1,421 | 911 |
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 second version of the 12program, now modified to implement a sort of 'lazy' compilation. 13 14The toy-jit.cpp file contains a version of the original JIT-based source code 15that has been modified to disable most stderr output for timing purposes. 16 17This directory contain a Makefile that allow the code to be built in a 18standalone manner, independent of the larger LLVM build infrastructure. To build 19the program you will need to have 'clang++' and 'llvm-config' in your path. If 20you attempt to build using the LLVM 3.3 release, some minor modifications will 21be 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.