llvm-project/llvm/lib/Target/Mips
Chris Lattner c7a062d187 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(-)

llvm-svn: 93858
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 Add TargetInfo libraries for all targets. 2009-07-15 06:35:19 +00:00
Mips.h Add new helpers for registering targets. 2009-07-25 06:49:55 +00:00
Mips.td Added support for fround, fextend and FP_TO_SINT 2009-05-27 17:23:44 +00:00
MipsCallingConv.td Added support for Mips O32 Calling Convention 2009-03-19 02:12:28 +00:00
MipsDelaySlotFiller.cpp Remove non-DebugLoc versions of BuildMI from IA64, Mips. 2009-02-13 02:34:39 +00:00
MipsISelDAGToDAG.cpp Change SelectCode's argument from SDValue to SDNode *, to make it more 2010-01-05 01:24:18 +00:00
MipsISelLowering.cpp Support PIC loading of constant pool entries 2009-11-25 12:17:58 +00:00
MipsISelLowering.h Add a second ValueType argument to isFPImmLegal. 2009-10-28 01:43:28 +00:00
MipsInstrFPU.td Disable ldc1/sdc1 instructions for mips1 targets. 2009-11-16 04:35:29 +00:00
MipsInstrFormats.td Fixe typos and 80 column size problems 2008-07-09 04:45:36 +00:00
MipsInstrInfo.cpp Remove the target hook TargetInstrInfo::BlockHasNoFallThrough in favor of 2009-12-05 00:44:40 +00:00
MipsInstrInfo.h Remove the target hook TargetInstrInfo::BlockHasNoFallThrough in favor of 2009-12-05 00:44:40 +00:00
MipsInstrInfo.td Rename usesCustomDAGSchedInserter to usesCustomInserter, and update a 2009-10-29 18:10:34 +00:00
MipsMCAsmInfo.cpp Update CMake build, unbreak linux build. 2009-08-22 22:07:08 +00:00
MipsMCAsmInfo.h Rename TargetAsmInfo (and its subclasses) to MCAsmInfo. 2009-08-22 20:48:53 +00:00
MipsMachineFunction.h Fix PR5149. 2009-11-09 14:27:49 +00:00
MipsRegisterInfo.cpp Only include in the callee saved regs the sub registers to avoid 2009-11-25 00:47:43 +00:00
MipsRegisterInfo.h - Add sugregister logic to handle f64=(f32,f32). 2009-11-19 06:06:13 +00:00
MipsRegisterInfo.td - Add sugregister logic to handle f64=(f32,f32). 2009-11-19 06:06:13 +00:00
MipsSchedule.td Remove attribution from file headers, per discussion on llvmdev. 2007-12-29 20:36:04 +00:00
MipsSubtarget.cpp reintroduce support for Mips "small" section handling. This is 2009-08-13 06:28:06 +00:00
MipsSubtarget.h Fix a bunch of little errors that Clang complains about when its being pedantic 2009-12-19 07:05:23 +00:00
MipsTargetMachine.cpp Fix setting and default setting of code model for jit. Do this 2009-12-21 08:15:29 +00:00
MipsTargetMachine.h Change TargetAsmInfo to be constructed via TargetRegistry from a Target+Triple 2009-08-12 07:22:17 +00:00
MipsTargetObjectFile.cpp Only use small sections for non linux targets! 2009-11-19 05:28:18 +00:00
MipsTargetObjectFile.h reintroduce support for Mips "small" section handling. This is 2009-08-13 06:28:06 +00:00