1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/examples
Mehdi Amini 9f0c09e5bf Remove access to the DataLayout in the TargetMachine
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
2015-07-24 16:04:22 +00:00
..
BrainF BrainF.cpp: Update CreateCall() according to r237624. 2015-05-19 06:50:19 +00:00
ExceptionDemo Fix up Exception demo from recent opaque pointer type changes to GEP 2015-04-22 04:24:43 +00:00
Fibonacci Fix configure and make build of llvm examples. 2014-09-03 13:12:16 +00:00
HowToUseJIT llvm/examples: Add missing include according to r230907. 2015-03-02 01:04:34 +00:00
Kaleidoscope Remove access to the DataLayout in the TargetMachine 2015-07-24 16:04:22 +00:00
ModuleMaker [CMake] Update LLVM_LINK_COMPONENTS for each CMakeLists.txt. 2013-12-10 11:13:32 +00:00
OCaml-Kaleidoscope Move TargetData to DataLayout. 2012-10-08 16:37:04 +00:00
ParallelJIT llvm/examples: Add missing include according to r230907. 2015-03-02 01:04:34 +00:00
CMakeLists.txt Don't try to build ExceptionDemo on ARM. 2014-02-12 21:47:15 +00:00
LLVMBuild.txt LLVMBuild: Remove trailing newline, which irked me. 2011-12-12 19:48:00 +00:00
Makefile Removed TracingBrainF from examples Makefile. 2010-09-15 14:55:32 +00:00