llvm-6502/lib
Rafael Espindola 356deb5ecd Use DataLayout from the module when easily available.
Eventually DataLayoutPass should go away, but for now that is the only easy
way to get a DataLayout in some APIs. This patch only changes the ones that
have easy access to a Module.

One interesting issue with sometimes using DataLayoutPass and sometimes
fetching it from the Module is that we have to make sure they are equivalent.
We can get most of the way there by always constructing the pass with a Module.
In fact, the pass could be changed to point to an external DataLayout instead
of owning one to make this stricter.

Unfortunately, the C api passes a DataLayout, so it has to be up to the caller
to make sure the pass and the module are in sync.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202204 91177308-0d34-0410-b5e6-96231b3b80d8
2014-02-25 23:25:17 +00:00
..
Analysis Use DataLayout from the module when easily available. 2014-02-25 23:25:17 +00:00
AsmParser [ms-cxxabi] Add a new calling convention that swaps 'this' and 'sret' 2014-01-31 17:41:22 +00:00
Bitcode Store a DataLayout in Module. 2014-02-25 20:01:08 +00:00
CodeGen DwarfDebug: Avoid emitting an empty debug_aranges section when aranges are disabled 2014-02-25 22:46:44 +00:00
DebugInfo llvm-dwarfdump: Support for debug_line.dwo section for file names for type units under fission. 2014-02-24 23:58:54 +00:00
ExecutionEngine Use DataLayout from the module when easily available. 2014-02-25 23:25:17 +00:00
IR Use DataLayout from the module when easily available. 2014-02-25 23:25:17 +00:00
IRReader Make parseBitcodeFile return an ErrorOr<Module *>. 2014-01-15 01:08:23 +00:00
LineEditor Avoid using EL_GETFP. 2014-02-04 20:04:46 +00:00
Linker Store a DataLayout in Module. 2014-02-25 20:01:08 +00:00
LTO Use DataLayout from the module when easily available. 2014-02-25 23:25:17 +00:00
MC Reuse constants for COFF string table entry offsets 2014-02-25 09:50:40 +00:00
Object MC: Support COFF string tables larger than 10MB 2014-02-22 16:12:20 +00:00
Option Avoid buffer copies when a Twine already is a StringRef. 2013-12-03 18:18:28 +00:00
Support Replace the F_Binary flag with a F_Text one. 2014-02-24 18:20:12 +00:00
TableGen Replace the F_Binary flag with a F_Text one. 2014-02-24 18:20:12 +00:00
Target Use DataLayout from the module when easily available. 2014-02-25 23:25:17 +00:00
Transforms [reassociate] Switch two std::sort calls into std::stable_sort calls as 2014-02-25 21:54:50 +00:00
CMakeLists.txt Introduce line editor library. 2014-01-31 23:46:14 +00:00
LLVMBuild.txt Introduce line editor library. 2014-01-31 23:46:14 +00:00
Makefile Introduce line editor library. 2014-01-31 23:46:14 +00:00