llvm-6502/lib/Target/SystemZ
Chris Lattner 74bfe21b50 Now that we have everything nicely factored (e.g. asmprinter is not
doing global variable classification anymore) and hookized, sink almost
all target targets global variable emission code into AsmPrinter and out
of each target.

Some notes:

1. PIC16 does completely custom and crazy stuff, so it is not changed.
2. XCore has some custom handling for extra directives.  I'll look at it next.
3. This switches linux/ppc to use .globl instead of .global.  If .globl is
   actually wrong, let me know and I'll fix it.
4. This makes linux/ppc get a lot of random cases right which were obviously
   wrong before, it is probably now a bit healthier.
5. Blackfin will probably start getting .comm and other things that it didn't
   before.  If this is undesirable, it should explicitly opt out of these
   things by clearing the relevant fields of MCAsmInfo.

This leads to a nice diffstat:
 14 files changed, 127 insertions(+), 830 deletions(-)




git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93858 91177308-0d34-0410-b5e6-96231b3b80d8
2010-01-19 05:38:33 +00:00
..
AsmPrinter Now that we have everything nicely factored (e.g. asmprinter is not 2010-01-19 05:38:33 +00:00
TargetInfo Factor commonality in triple match routines into helper template for registering 2009-07-26 05:03:33 +00:00
CMakeLists.txt Normalize makefile comments and sort cmake file lists. 2009-08-31 13:05:24 +00:00
Makefile Unbreak 2009-07-16 14:36:52 +00:00
SystemZ.h Add new helpers for registering targets. 2009-07-25 06:49:55 +00:00
SystemZ.td
SystemZCallingConv.td Handle vector returns 2009-07-18 12:51:06 +00:00
SystemZInstrBuilder.h Revert 84315 for now. Re-thinking the patch. 2009-10-17 07:53:04 +00:00
SystemZInstrFormats.td Some dummy cost model for s390x: 2009-08-22 11:46:16 +00:00
SystemZInstrFP.td Rename usesCustomDAGSchedInserter to usesCustomInserter, and update a 2009-10-29 18:10:34 +00:00
SystemZInstrInfo.cpp Remove the target hook TargetInstrInfo::BlockHasNoFallThrough in favor of 2009-12-05 00:44:40 +00:00
SystemZInstrInfo.h Remove the target hook TargetInstrInfo::BlockHasNoFallThrough in favor of 2009-12-05 00:44:40 +00:00
SystemZInstrInfo.td Rename usesCustomDAGSchedInserter to usesCustomInserter, and update a 2009-10-29 18:10:34 +00:00
SystemZISelDAGToDAG.cpp Change SelectCode's argument from SDValue to SDNode *, to make it more 2010-01-05 01:24:18 +00:00
SystemZISelLowering.cpp Add a bool flag to StackObjects telling whether they reference spill 2009-11-12 20:49:22 +00:00
SystemZISelLowering.h Add a second ValueType argument to isFPImmLegal. 2009-10-28 01:43:28 +00:00
SystemZMachineFunctionInfo.h
SystemZMCAsmInfo.cpp Rename TargetAsmInfo (and its subclasses) to MCAsmInfo. 2009-08-22 20:48:53 +00:00
SystemZMCAsmInfo.h Rename TargetAsmInfo (and its subclasses) to MCAsmInfo. 2009-08-22 20:48:53 +00:00
SystemZOperands.td Split EVT into MVT and EVT, the former representing _just_ a primitive type, while 2009-08-11 20:47:22 +00:00
SystemZRegisterInfo.cpp improve portability to avoid conflicting with std::next in c++'0x. 2009-12-03 00:50:42 +00:00
SystemZRegisterInfo.h Make the MachineFunction argument of getFrameRegister const. 2009-11-12 21:00:03 +00:00
SystemZRegisterInfo.td
SystemZSubtarget.cpp Normalize Subtarget constructors to take a target triple string instead of 2009-08-02 22:11:08 +00:00
SystemZSubtarget.h Normalize Subtarget constructors to take a target triple string instead of 2009-08-02 22:11:08 +00:00
SystemZTargetMachine.cpp indicate what the native integer types for the target are. 2009-11-07 19:07:32 +00:00
SystemZTargetMachine.h Change TargetAsmInfo to be constructed via TargetRegistry from a Target+Triple 2009-08-12 07:22:17 +00:00