llvm-6502/lib/Target/PIC16
Chris Lattner 24f654c8a4 Fix several fixmes and clean up code by sinking *all* section
creation activity into the target-specific subclasses of TLOF.
Before this, globals with explicit sections could be created by
the base class.

1. make getOrCreateSection protected, add a new getExplicitSectionGlobal
   pure virtual method to assign sections to globals with a specified
   section.
2. eliminate getSpecialCasedSectionGlobals, which is now PIC specific.
3. eliminate the getKindForNamedSection virtual method, which is
   now just a static method for ELF.
4. Add implementions of getExplicitSectionGlobal for ELF/PECOFF/Darwin/PIC16.
   They are now all detangled and understandable, woo! :)


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78319 91177308-0d34-0410-b5e6-96231b3b80d8
2009-08-06 16:39:58 +00:00
..
TargetInfo Factor commonality in triple match routines into helper template for registering 2009-07-26 05:03:33 +00:00
CMakeLists.txt Rip all of the global variable lowering logic out of TargetAsmInfo. Since 2009-07-28 03:13:23 +00:00
Makefile Add TargetInfo libraries for all targets. 2009-07-15 06:35:19 +00:00
PIC16.h define target names for std libcalls. 2009-07-31 07:35:57 +00:00
PIC16.td
PIC16AsmPrinter.cpp go through PIC16TargetObjectFile to make sections instead of 2009-08-06 16:27:28 +00:00
PIC16AsmPrinter.h go through PIC16TargetObjectFile to make sections instead of 2009-08-06 16:27:28 +00:00
PIC16DebugInfo.cpp Switch to getNameStr(). 2009-07-24 08:24:36 +00:00
PIC16DebugInfo.h Have asm printers use formatted_raw_ostream directly to avoid a 2009-07-14 20:18:05 +00:00
PIC16InstrFormats.td
PIC16InstrInfo.cpp llvm_unreachable->llvm_unreachable(0), LLVM_UNREACHABLE->llvm_unreachable. 2009-07-14 16:55:14 +00:00
PIC16InstrInfo.h
PIC16InstrInfo.td Major calling convention code refactoring. 2009-08-05 01:29:28 +00:00
PIC16ISelDAGToDAG.cpp
PIC16ISelDAGToDAG.h don't copy TargetLowering. 2009-07-28 03:05:40 +00:00
PIC16ISelLowering.cpp Fix a bug in the PIC16 backend. 2009-08-05 16:46:43 +00:00
PIC16ISelLowering.h Major calling convention code refactoring. 2009-08-05 01:29:28 +00:00
PIC16MemSelOpt.cpp
PIC16RegisterInfo.cpp llvm_unreachable->llvm_unreachable(0), LLVM_UNREACHABLE->llvm_unreachable. 2009-07-14 16:55:14 +00:00
PIC16RegisterInfo.h
PIC16RegisterInfo.td
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
PIC16TargetAsmInfo.cpp PIC16 TAI doesn't need TM 2009-08-02 04:41:14 +00:00
PIC16TargetAsmInfo.h PIC16 TAI doesn't need TM 2009-08-02 04:41:14 +00:00
PIC16TargetMachine.cpp Move most targets TargetMachine constructor to only taking a target triple. 2009-08-02 23:37:13 +00:00
PIC16TargetMachine.h Move most targets TargetMachine constructor to only taking a target triple. 2009-08-02 23:37:13 +00:00
PIC16TargetObjectFile.cpp Fix several fixmes and clean up code by sinking *all* section 2009-08-06 16:39:58 +00:00
PIC16TargetObjectFile.h Fix several fixmes and clean up code by sinking *all* section 2009-08-06 16:39:58 +00:00