llvm-6502/lib/Target/PIC16
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
PIC16Passes Revert r85134, it breaks mingw build 2009-10-26 18:40:24 +00:00
TargetInfo Factor commonality in triple match routines into helper template for registering 2009-07-26 05:03:33 +00:00
CMakeLists.txt Update CMake file. 2009-10-16 10:29:08 +00:00
Makefile Add a pass to overlay pic16 data sections for function frame and automatic 2009-10-21 10:42:44 +00:00
PIC16.h Re-apply 84180 with the fixed test case. 2009-10-15 19:26:25 +00:00
PIC16.td Move target independent td files from lib/Target/ to include/llvm/Target so they can be distributed along with the header files. 2008-11-24 07:34:46 +00:00
PIC16ABINames.h Reapply 85006 with a minor fix. 2009-10-25 08:14:11 +00:00
PIC16DebugInfo.cpp Replace DebugLocTuple with DILocation. 2010-01-16 06:09:35 +00:00
PIC16DebugInfo.h Reapply 79977. 2009-08-28 23:24:31 +00:00
PIC16InstrFormats.td Added a more function PIC16 backend. However to get this working a patch in 2008-11-19 11:00:54 +00:00
PIC16InstrInfo.cpp Remove unnecessary gotos to fall-thru successors. 2009-10-27 17:40:24 +00:00
PIC16InstrInfo.h Remove unnecessary gotos to fall-thru successors. 2009-10-27 17:40:24 +00:00
PIC16InstrInfo.td Added missing patterns for subtract instruction. 2009-12-23 10:56:02 +00:00
PIC16ISelDAGToDAG.cpp Change SelectCode's argument from SDValue to SDNode *, to make it more 2010-01-05 01:24:18 +00:00
PIC16ISelDAGToDAG.h Change SelectCode's argument from SDValue to SDNode *, to make it more 2010-01-05 01:24:18 +00:00
PIC16ISelLowering.cpp Extern declaration for unordered.f32 libcall was not being emitted. Fixed that. 2009-12-29 03:24:34 +00:00
PIC16ISelLowering.h Allow targets to specify the return type of libcalls that are generated for floating point comparisons, rather than hard-coding them as i32. 2009-12-28 02:40:33 +00:00
PIC16MCAsmInfo.cpp Re-apply 84180 with the fixed test case. 2009-10-15 19:26:25 +00:00
PIC16MCAsmInfo.h Rename TargetAsmInfo (and its subclasses) to MCAsmInfo. 2009-08-22 20:48:53 +00:00
PIC16MemSelOpt.cpp Reapply 85006 with a minor fix. 2009-10-25 08:14:11 +00:00
PIC16RegisterInfo.cpp Make the MachineFunction argument of getFrameRegister const. 2009-11-12 21:00:03 +00:00
PIC16RegisterInfo.h Make the MachineFunction argument of getFrameRegister const. 2009-11-12 21:00:03 +00:00
PIC16RegisterInfo.td Handle indirect function calls. 2009-04-08 05:38:48 +00:00
PIC16Section.cpp Add a pass to overlay pic16 data sections for function frame and automatic 2009-10-21 10:42:44 +00:00
PIC16Section.h Add a pass to overlay pic16 data sections for function frame and automatic 2009-10-21 10:42:44 +00:00
PIC16Subtarget.cpp Normalize Subtarget constructors to take a target triple string instead of 2009-08-02 22:11:08 +00:00
PIC16Subtarget.h Normalize Subtarget constructors to take a target triple string instead of 2009-08-02 22:11:08 +00:00
PIC16TargetMachine.cpp indicate what the native integer types for the target are. 2009-11-07 19:07:32 +00:00
PIC16TargetMachine.h Reapply pieces of 78914 reverted in 78916, this has been fixed. 2009-08-13 17:08:54 +00:00
PIC16TargetObjectFile.cpp Reapply 85006 with a minor fix. 2009-10-25 08:14:11 +00:00
PIC16TargetObjectFile.h Reapply 85006 with a minor fix. 2009-10-25 08:14:11 +00:00