llvm-6502/tools
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
..
bugpoint Replace the F_Binary flag with a F_Text one. 2014-02-24 18:20:12 +00:00
bugpoint-passes Set LLVM_EXPORTED_SYMBOL_FILE in CMakeLists whose corresponding Makefiles do so. 2013-12-29 23:06:49 +00:00
gold Improve the declaration when LDPO_PIE is not available. 2014-02-11 17:30:18 +00:00
llc Use DataLayout from the module when easily available. 2014-02-25 23:25:17 +00:00
lli Replace the F_Binary flag with a F_Text one. 2014-02-24 18:20:12 +00:00
llvm-ar Replace the F_Binary flag with a F_Text one. 2014-02-24 18:20:12 +00:00
llvm-as Replace the F_Binary flag with a F_Text one. 2014-02-24 18:20:12 +00:00
llvm-bcanalyzer [cleanup] Move the Dominators.h and Verifier.h headers into the IR 2014-01-13 09:26:24 +00:00
llvm-c-test Use -std=gnu99 in tools/llvm-c-test/CMakeLists.txt 2014-01-08 11:48:19 +00:00
llvm-config Simplify linking to system libraries 2014-02-23 06:27:04 +00:00
llvm-cov llvm-cov: Support gcov's extermely lenient treatment of -o 2014-02-18 09:19:48 +00:00
llvm-diff [CMake] Update LLVM_LINK_COMPONENTS for each CMakeLists.txt. 2013-12-10 11:13:32 +00:00
llvm-dis Replace the F_Binary flag with a F_Text one. 2014-02-24 18:20:12 +00:00
llvm-dwarfdump llvm-dwarfdump: Support for debug_line.dwo section for file names for type units under fission. 2014-02-24 23:58:54 +00:00
llvm-extract Make DataLayout a plain object, not a pass. 2014-02-25 17:30:31 +00:00
llvm-jitlistener Manually update the dependencies in the Makefiles. It turns out that all 2013-03-26 03:45:47 +00:00
llvm-link Replace the F_Binary flag with a F_Text one. 2014-02-24 18:20:12 +00:00
llvm-lto Replace the F_Binary flag with a F_Text one. 2014-02-24 18:20:12 +00:00
llvm-mc Replace the F_Binary flag with a F_Text one. 2014-02-24 18:20:12 +00:00
llvm-mcmarkup MC: Simple example parser for MC assembly markup. 2012-10-31 23:24:13 +00:00
llvm-nm Add a SymbolicFile interface between Binary and ObjectFile. 2014-02-21 20:10:59 +00:00
llvm-objdump llvm-objdump: Do not attempt to disassemble symbols outside of section 2014-02-24 22:12:11 +00:00
llvm-profdata Replace the F_Binary flag with a F_Text one. 2014-02-24 18:20:12 +00:00
llvm-readobj Change the begin and end methods in ObjectFile to match the style guide. 2014-02-10 20:24:04 +00:00
llvm-rtdyld Simplify the handling of iterators in ObjectFile. 2014-01-30 02:49:50 +00:00
llvm-shlib Strip dead code when linking by default with BFD ld (linux, ...) and ld64 (os x). 2013-12-27 22:38:59 +00:00
llvm-size Change the begin and end methods in ObjectFile to match the style guide. 2014-02-10 20:24:04 +00:00
llvm-stress Replace the F_Binary flag with a F_Text one. 2014-02-24 18:20:12 +00:00
llvm-symbolizer Change the begin and end methods in ObjectFile to match the style guide. 2014-02-10 20:24:04 +00:00
lto [CMake] llvm-c/lto.h should be installed if libLTO.a is built. 2014-02-21 14:57:09 +00:00
macho-dump Change the begin and end methods in ObjectFile to match the style guide. 2014-02-10 20:24:04 +00:00
msbuild MSBuild integration: get the LibraryPath right (PR18707) 2014-02-13 22:01:35 +00:00
obj2yaml Change the begin and end methods in ObjectFile to match the style guide. 2014-02-10 20:24:04 +00:00
opt Use DataLayout from the module when easily available. 2014-02-25 23:25:17 +00:00
yaml2obj llvm/tools: Prune redundant target_link_libraries. 2014-01-31 17:40:06 +00:00
CMakeLists.txt PGO: llvm-profdata: tool for merging profiles 2014-02-17 23:22:49 +00:00
LLVMBuild.txt PGO: llvm-profdata: tool for merging profiles 2014-02-17 23:22:49 +00:00
Makefile PGO: llvm-profdata: tool for merging profiles 2014-02-17 23:22:49 +00:00