llvm-6502/lib/Target/SystemZ
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
..
AsmPrinter Don't flush the raw_ostream between each MachineFunction. These flush 2009-08-05 00:49:25 +00:00
TargetInfo Factor commonality in triple match routines into helper template for registering 2009-07-26 05:03:33 +00:00
CMakeLists.txt CMake support for SystemZ. 2009-07-20 00:24:17 +00:00
Makefile Unbreak 2009-07-16 14:36:52 +00:00
SystemZ.h Add new helpers for registering targets. 2009-07-25 06:49:55 +00:00
SystemZ.td Add bunch of FP instructions 2009-07-16 14:20:24 +00:00
SystemZCallingConv.td Handle vector returns 2009-07-18 12:51:06 +00:00
SystemZInstrBuilder.h Add missed return 2009-07-17 18:28:59 +00:00
SystemZInstrFormats.td Add instruction formats and few opcodes 2009-07-16 14:35:20 +00:00
SystemZInstrFP.td All FP instructions have 12 bit memory displacement field 2009-07-16 14:33:27 +00:00
SystemZInstrInfo.cpp Turn few asserts into errors / unreachable's 2009-07-18 13:33:17 +00:00
SystemZInstrInfo.h Handle long-disp stuff more consistently 2009-07-16 14:33:52 +00:00
SystemZInstrInfo.td Add carry producing / using versions of add / sub 2009-07-18 14:16:06 +00:00
SystemZISelDAGToDAG.cpp Fix 'may be used uninitialized' warning. 2009-07-17 02:19:26 +00:00
SystemZISelLowering.cpp Major calling convention code refactoring. 2009-08-05 01:29:28 +00:00
SystemZISelLowering.h Major calling convention code refactoring. 2009-08-05 01:29:28 +00:00
SystemZMachineFunctionInfo.h Emit callee-saved regs spills / restores 2009-07-16 13:51:12 +00:00
SystemZOperands.td Unbreak mvi and friends - emit only 'significant' part of the operand 2009-07-16 14:26:38 +00:00
SystemZRegisterInfo.cpp Handle long-disp stuff more consistently 2009-07-16 14:33:52 +00:00
SystemZRegisterInfo.h Fix fallout from 12-bit stuff landing: decide whether 20 bit displacements are needed during elimination of frame indexes. 2009-07-16 14:09:56 +00:00
SystemZRegisterInfo.td Out GR128 regclass is not a 'real' i128 one. 2009-07-16 14:27:53 +00:00
SystemZSubtarget.cpp Normalize Subtarget constructors to take a target triple string instead of 2009-08-02 22:11:08 +00:00
SystemZSubtarget.h Normalize Subtarget constructors to take a target triple string instead of 2009-08-02 22:11:08 +00:00
SystemZTargetAsmInfo.cpp eliminate the TM argument to the TAI class, remove comment about supporting 2009-08-02 04:32:07 +00:00
SystemZTargetAsmInfo.h eliminate the TM argument to the TAI class, remove comment about supporting 2009-08-02 04:32:07 +00:00
SystemZTargetMachine.cpp Move most targets TargetMachine constructor to only taking a target triple. 2009-08-02 23:37:13 +00:00
SystemZTargetMachine.h Move most targets TargetMachine constructor to only taking a target triple. 2009-08-02 23:37:13 +00:00