Home | History | Annotate | only in /external/llvm/examples/Kaleidoscope/MCJIT/lazy
Up to higher level directory
NameDateSize
genk-timing.py05-Oct-201710.3K
README.txt05-Oct-20171.3K
toy-jit.cpp05-Oct-201732.6K
toy.cpp05-Oct-201739.9K

README.txt

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