llvm-project/llvm/lib/Target/PIC16
Chris Lattner 5e693ed07b Rip all of the global variable lowering logic out of TargetAsmInfo. Since
it is highly specific to the object file that will be generated in the end,
this introduces a new TargetLoweringObjectFile interface that is implemented
for each of ELF/MachO/COFF/Alpha/PIC16 and XCore.

Though still is still a brutal and ugly refactoring, this is a major step
towards goodness.

This patch also:
1. fixes a bunch of dangling pointer problems in the PIC16 backend.
2. disables the TargetLowering copy ctor which PIC16 was accidentally using.
3. gets us closer to xcore having its own crazy target section flags and
   pic16 not having to shadow sections with its own objects.
4. fixes wierdness where ELF targets would set CStringSection but not
   CStringSection_.  Factor the code better.
5. fixes some bugs in string lowering on ELF targets.

llvm-svn: 77294
2009-07-28 03:13:23 +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 Add new helpers for registering targets. 2009-07-25 06:49:55 +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
PIC16AsmPrinter.cpp Rip all of the global variable lowering logic out of TargetAsmInfo. Since 2009-07-28 03:13:23 +00:00
PIC16AsmPrinter.h Rip all of the global variable lowering logic out of TargetAsmInfo. Since 2009-07-28 03:13:23 +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
PIC16ISelDAGToDAG.cpp Implement changes from Chris's feedback. 2009-07-08 20:53:28 +00:00
PIC16ISelDAGToDAG.h don't copy TargetLowering. 2009-07-28 03:05:40 +00:00
PIC16ISelLowering.cpp Rip all of the global variable lowering logic out of TargetAsmInfo. Since 2009-07-28 03:13:23 +00:00
PIC16ISelLowering.h Generate a libcall for i8 multiply. 2009-07-27 02:44:46 +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 llvm_unreachable->llvm_unreachable(0), LLVM_UNREACHABLE->llvm_unreachable. 2009-07-14 16:55:14 +00:00
PIC16InstrInfo.h FrameIndex could be used as a value (addressof (arg)) or as an address. 2009-06-03 15:31:12 +00:00
PIC16InstrInfo.td Mark attributes of return insn correctly. It was being assumed safe to delete in isSafeToDelete (a thing checked-in 76281). 2009-07-25 07:48:53 +00:00
PIC16MemSelOpt.cpp Identify unconditional gotos and generate a page sel instructions before them. 2009-06-25 11:03:14 +00:00
PIC16RegisterInfo.cpp llvm_unreachable->llvm_unreachable(0), LLVM_UNREACHABLE->llvm_unreachable. 2009-07-14 16:55:14 +00:00
PIC16RegisterInfo.h Checking in conditionals, function call, arrays and libcalls implementation. 2009-01-13 19:18:47 +00:00
PIC16RegisterInfo.td Handle indirect function calls. 2009-04-08 05:38:48 +00:00
PIC16Subtarget.cpp Added a more function PIC16 backend. However to get this working a patch in 2008-11-19 11:00:54 +00:00
PIC16Subtarget.h Propagate CPU string out of SubtargetFeatures 2009-05-23 19:50:50 +00:00
PIC16TargetAsmInfo.cpp Rip all of the global variable lowering logic out of TargetAsmInfo. Since 2009-07-28 03:13:23 +00:00
PIC16TargetAsmInfo.h Rip all of the global variable lowering logic out of TargetAsmInfo. Since 2009-07-28 03:13:23 +00:00
PIC16TargetMachine.cpp Add new helpers for registering targets. 2009-07-25 06:49:55 +00:00
PIC16TargetMachine.h Lift addAssemblyEmitter into LLVMTargetMachine. 2009-07-15 23:34:19 +00:00
PIC16TargetObjectFile.cpp Rip all of the global variable lowering logic out of TargetAsmInfo. Since 2009-07-28 03:13:23 +00:00
PIC16TargetObjectFile.h Rip all of the global variable lowering logic out of TargetAsmInfo. Since 2009-07-28 03:13:23 +00:00