forked from OSchip/llvm-project
26d481311a
Summary: Replace getDataLayout() with a createDataLayout() method to make explicit that it is intended to create a DataLayout only and not accessing it for other purpose. This change is the last of a series of commits dedicated to have a single DataLayout during compilation by using always the one owned by the module. Reviewers: echristo Subscribers: jholewinski, llvm-commits, rafael, yaron.keren Differential Revision: http://reviews.llvm.org/D11103 (cherry picked from commit 5609fc56bca971e5a7efeaa6ca4676638eaec5ea) From: Mehdi Amini <mehdi.amini@apple.com> llvm-svn: 243114 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
Makefile | ||
README.txt | ||
toy.cpp |
README.txt
//===----------------------------------------------------------------------===/ // Kaleidoscope with Orc - Initial Version //===----------------------------------------------------------------------===// This version of Kaleidoscope with Orc demonstrates fully eager compilation. When a function definition or top-level expression is entered it is immediately translated (IRGen'd) to LLVM IR and added to the JIT, where it is code-gen'd to native code and either stored (for function definitions) or executed (for top-level expressions). This directory contain a Makefile that allow the code to be built in a standalone manner, independent of the larger LLVM build infrastructure. To build the program you will need to have 'clang++' and 'llvm-config' in your path.