llvm-6502/lib/Target/XCore
Dan Gohman 98ca4f2a32 Major calling convention code refactoring.
Instead of awkwardly encoding calling-convention information with ISD::CALL,
ISD::FORMAL_ARGUMENTS, ISD::RET, and ISD::ARG_FLAGS nodes, TargetLowering
provides three virtual functions for targets to override:
LowerFormalArguments, LowerCall, and LowerRet, which replace the custom
lowering done on the special nodes. They provide the same information, but
in a more immediately usable format.

This also reworks much of the target-independent tail call logic. The
decision of whether or not to perform a tail call is now cleanly split
between target-independent portions, and the target dependent portion
in IsEligibleForTailCallOptimization.

This also synchronizes all in-tree targets, to help enable future
refactoring and feature work.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78142 91177308-0d34-0410-b5e6-96231b3b80d8
2009-08-05 01:29:28 +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
README.txt
XCore.h Add new helpers for registering targets. 2009-07-25 06:49:55 +00:00
XCore.td
XCoreAsmPrinter.cpp pass the mangler down into the various SectionForGlobal methods. 2009-07-29 05:09:30 +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 Add extra SEXT pattern. 2009-08-02 22:45:24 +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 Major calling convention code refactoring. 2009-08-05 01:29:28 +00:00
XCoreISelLowering.h Major calling convention code refactoring. 2009-08-05 01:29:28 +00:00
XCoreMachineFunctionInfo.h
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
XCoreRegisterInfo.td
XCoreSubtarget.cpp Normalize Subtarget constructors to take a target triple string instead of 2009-08-02 22:11:08 +00:00
XCoreSubtarget.h Normalize Subtarget constructors to take a target triple string instead of 2009-08-02 22:11:08 +00:00
XCoreTargetAsmInfo.cpp move dwarf debug info section selection stuff from TAI to 2009-08-02 07:24:22 +00:00
XCoreTargetAsmInfo.h xcore TAI doesn't need TM. 2009-08-02 04:42:09 +00:00
XCoreTargetMachine.cpp Move most targets TargetMachine constructor to only taking a target triple. 2009-08-02 23:37:13 +00:00
XCoreTargetMachine.h Move most targets TargetMachine constructor to only taking a target triple. 2009-08-02 23:37:13 +00:00
XCoreTargetObjectFile.cpp Make SectionKind::get() private. 2009-08-02 00:02:44 +00:00
XCoreTargetObjectFile.h switch off of 'Section' onto MCSection. We're not properly using 2009-07-31 18:48:30 +00:00

To-do
-----

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