llvm-6502/lib/CodeGen/AsmPrinter
Eric Christopher 04bcc11905 Move DataLayout back to the TargetMachine from TargetSubtargetInfo
derived classes.

Since global data alignment, layout, and mangling is often based on the
DataLayout, move it to the TargetMachine. This ensures that global
data is going to be layed out and mangled consistently if the subtarget
changes on a per function basis. Prior to this all targets(*) have
had subtarget dependent code moved out and onto the TargetMachine.

*One target hasn't been migrated as part of this change: R600. The
R600 port has, as a subtarget feature, the size of pointers and
this affects global data layout. I've currently hacked in a FIXME
to enable progress, but the port needs to be updated to either pass
the 64-bitness to the TargetMachine, or fix the DataLayout to
avoid subtarget dependent features.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227113 91177308-0d34-0410-b5e6-96231b3b80d8
2015-01-26 19:03:15 +00:00
..
AddressPool.cpp
AddressPool.h
ARMException.cpp Use MMI->getPersonality() instead of MMI->getPersonalities()[MMI->getPersonalityIndex()] 2015-01-14 22:47:54 +00:00
AsmPrinter.cpp Move DataLayout back to the TargetMachine from TargetSubtargetInfo 2015-01-26 19:03:15 +00:00
AsmPrinterDwarf.cpp Move DataLayout back to the TargetMachine from TargetSubtargetInfo 2015-01-26 19:03:15 +00:00
AsmPrinterHandler.h
AsmPrinterInlineAsm.cpp Move DataLayout back to the TargetMachine from TargetSubtargetInfo 2015-01-26 19:03:15 +00:00
ByteStreamer.h [cleanup] Re-sort all the #include lines in LLVM using 2015-01-14 11:23:27 +00:00
CMakeLists.txt Debug info: Factor out the creation of DWARF expressions from AsmPrinter 2015-01-12 22:19:22 +00:00
DbgValueHistoryCalculator.cpp DbgValueHistoryCalculator: Store modified registers in a BitVector instead of std::set. 2014-10-06 15:31:04 +00:00
DbgValueHistoryCalculator.h
DebugLocEntry.h [cleanup] Re-sort all the #include lines in LLVM using 2015-01-14 11:23:27 +00:00
DebugLocList.h [cleanup] Re-sort all the #include lines in LLVM using 2015-01-14 11:23:27 +00:00
DIE.cpp [cleanup] Re-sort all the #include lines in LLVM using 2015-01-14 11:23:27 +00:00
DIEHash.cpp Make DIE.h a public CodeGen header. 2015-01-05 21:29:41 +00:00
DIEHash.h [cleanup] Re-sort all the #include lines in LLVM using 2015-01-14 11:23:27 +00:00
DwarfAccelTable.cpp Make DIE.h a public CodeGen header. 2015-01-05 21:29:41 +00:00
DwarfAccelTable.h Make DIE.h a public CodeGen header. 2015-01-05 21:29:41 +00:00
DwarfCFIException.cpp Classify functions by EH personality type rather than using the triple 2015-01-23 18:49:01 +00:00
DwarfCompileUnit.cpp Debug info: Fix PR22296 by omitting the DW_AT_location if we lost the 2015-01-25 19:04:08 +00:00
DwarfCompileUnit.h Remove support for DIVariable's FlagIndirectVariable and expect 2015-01-19 17:57:29 +00:00
DwarfDebug.cpp CodeGen: drive-by formatting clean ups 2015-01-24 20:19:45 +00:00
DwarfDebug.h [cleanup] Re-sort all the #include lines in LLVM using 2015-01-14 11:23:27 +00:00
DwarfException.h
DwarfExpression.cpp Debug info: Fix PR22296 by omitting the DW_AT_location if we lost the 2015-01-25 19:04:08 +00:00
DwarfExpression.h Rename DIExpressionIterator to DIExpression::iterator. 2015-01-22 16:55:20 +00:00
DwarfFile.cpp Revert "PR21408: Workaround the appearance of duplicate variables due to problems when inlining two calls to the same function from the same call site." 2015-01-22 17:49:59 +00:00
DwarfFile.h [cleanup] Re-sort all the #include lines in LLVM using 2015-01-14 11:23:27 +00:00
DwarfStringPool.cpp Remove StringMap::GetOrCreateValue in favor of StringMap::insert 2014-11-19 05:49:42 +00:00
DwarfStringPool.h [cleanup] Re-sort all the #include lines in LLVM using 2015-01-14 11:23:27 +00:00
DwarfUnit.cpp Debug Info / PR22309: Allow union types to be emitted as unsigned constants. 2015-01-23 18:01:39 +00:00
DwarfUnit.h [cleanup] Re-sort all the #include lines in LLVM using 2015-01-14 11:23:27 +00:00
EHStreamer.cpp Classify functions by EH personality type rather than using the triple 2015-01-23 18:49:01 +00:00
EHStreamer.h CodeGen support for x86_64 SEH catch handlers in LLVM 2015-01-14 01:05:27 +00:00
ErlangGCPrinter.cpp Move DataLayout back to the TargetMachine from TargetSubtargetInfo 2015-01-26 19:03:15 +00:00
LLVMBuild.txt
Makefile
OcamlGCPrinter.cpp Move DataLayout back to the TargetMachine from TargetSubtargetInfo 2015-01-26 19:03:15 +00:00
Win64Exception.cpp Fix assertion when C++ EH filters are present in functions using SEH 2015-01-23 23:51:25 +00:00
Win64Exception.h CodeGen support for x86_64 SEH catch handlers in LLVM 2015-01-14 01:05:27 +00:00
WinCodeViewLineTables.cpp Temporary fix for PR21528 - use mangled C++ function names in COFF debug info to un-break ASan on Windows 2014-11-12 20:21:20 +00:00
WinCodeViewLineTables.h