llvm-6502/lib/IR
Rafael Espindola aab87fe0ec Store a DataLayout in Module.
Now that DataLayout is not a pass, store one in Module.

Since the C API expects to be able to get a char* to the datalayout description,
we have to keep a std::string somewhere. This patch keeps it in Module and also
uses it to represent modules without a DataLayout.

Once DataLayout is mandatory, we should probably move the string to DataLayout
itself since it won't be necessary anymore to represent the special case of a
module without a DataLayout.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202190 91177308-0d34-0410-b5e6-96231b3b80d8
2014-02-25 20:01:08 +00:00
..
AsmWriter.cpp Store a DataLayout in Module. 2014-02-25 20:01:08 +00:00
AsmWriter.h
AttributeImpl.h
Attributes.cpp
AutoUpgrade.cpp
BasicBlock.cpp
CMakeLists.txt
ConstantFold.cpp
ConstantFold.h
Constants.cpp
ConstantsContext.h
Core.cpp Store a DataLayout in Module. 2014-02-25 20:01:08 +00:00
DataLayout.cpp Store a DataLayout in Module. 2014-02-25 20:01:08 +00:00
DebugInfo.cpp
DebugLoc.cpp
DiagnosticInfo.cpp
DiagnosticPrinter.cpp
DIBuilder.cpp
Dominators.cpp Remove unnecessary typename. 2014-02-16 14:12:35 +00:00
Function.cpp
GCOV.cpp Replace the F_Binary flag with a F_Text one. 2014-02-24 18:20:12 +00:00
Globals.cpp Check that GlobalAliases don't have section or alignment. 2014-02-13 18:26:41 +00:00
GVMaterializer.cpp
InlineAsm.cpp
Instruction.cpp
Instructions.cpp
IntrinsicInst.cpp
IRBuilder.cpp
IRPrintingPasses.cpp
LeakDetector.cpp
LeaksContext.h
LegacyPassManager.cpp
LLVMBuild.txt
LLVMContext.cpp Switch the LLVM error reporting on the new diagnostic system. 2014-02-22 00:34:11 +00:00
LLVMContextImpl.cpp
LLVMContextImpl.h
Makefile
Mangler.cpp Add back r201608, r201622, r201624 and r201625 2014-02-19 17:23:20 +00:00
Metadata.cpp
Module.cpp Store a DataLayout in Module. 2014-02-25 20:01:08 +00:00
Pass.cpp
PassManager.cpp
PassRegistry.cpp
SymbolTableListTraitsImpl.h
Type.cpp
TypeFinder.cpp
Use.cpp
User.cpp
Value.cpp
ValueSymbolTable.cpp
ValueTypes.cpp
Verifier.cpp Check that GlobalAliases don't have section or alignment. 2014-02-13 18:26:41 +00:00