llvm-6502/lib/Target/XCore
Chris Lattner f0144127b9 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.




git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77294 91177308-0d34-0410-b5e6-96231b3b80d8
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
README.txt
XCore.h Add new helpers for registering targets. 2009-07-25 06:49:55 +00:00
XCore.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
XCoreAsmPrinter.cpp Rip all of the global variable lowering logic out of TargetAsmInfo. Since 2009-07-28 03:13:23 +00:00
XCoreCallingConv.td
XCoreFrameInfo.cpp
XCoreFrameInfo.h
XCoreInstrFormats.td
XCoreInstrInfo.cpp Remove unused member functions. 2009-07-24 07:43:59 +00:00
XCoreInstrInfo.h Remove unused member functions. 2009-07-24 07:43:59 +00:00
XCoreInstrInfo.td Fix pattern for LD16S_3r, add basic tests to check load / store instructions 2009-07-15 17:06:59 +00:00
XCoreISelDAGToDAG.cpp Revert the ConstantInt constructors back to their 2.5 forms where possible, thanks to contexts-on-types. More to come. 2009-07-24 23:12:02 +00:00
XCoreISelLowering.cpp Rip all of the global variable lowering logic out of TargetAsmInfo. Since 2009-07-28 03:13:23 +00:00
XCoreISelLowering.h Combine an unaligned store of unaligned load into a memmove. 2009-07-16 12:50:48 +00:00
XCoreMachineFunctionInfo.h Add explicit keywords. 2009-06-05 23:05:51 +00:00
XCoreRegisterInfo.cpp More migration to raw_ostream, the water has dried up around the iostream hole. 2009-07-25 00:23:56 +00:00
XCoreRegisterInfo.h Remove refs to non-DebugLoc version of BuildMI from XCore, PIC16. 2009-02-13 02:29:03 +00:00
XCoreRegisterInfo.td
XCoreSubtarget.cpp
XCoreSubtarget.h Propagate CPU string out of SubtargetFeatures 2009-05-23 19:50:50 +00:00
XCoreTargetAsmInfo.cpp Rip all of the global variable lowering logic out of TargetAsmInfo. Since 2009-07-28 03:13:23 +00:00
XCoreTargetAsmInfo.h Rip all of the global variable lowering logic out of TargetAsmInfo. Since 2009-07-28 03:13:23 +00:00
XCoreTargetMachine.cpp Add new helpers for registering targets. 2009-07-25 06:49:55 +00:00
XCoreTargetMachine.h Lift addAssemblyEmitter into LLVMTargetMachine. 2009-07-15 23:34:19 +00:00
XCoreTargetObjectFile.cpp Rip all of the global variable lowering logic out of TargetAsmInfo. Since 2009-07-28 03:13:23 +00:00
XCoreTargetObjectFile.h Rip all of the global variable lowering logic out of TargetAsmInfo. Since 2009-07-28 03:13:23 +00:00

To-do
-----

* Instruction encodings
* Tailcalls
* Investigate loop alignment
* Add builtins
* Make better use of lmul / macc