llvm-6502/lib/Target/PIC16
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 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 Don't call SectionForGlobal for hasAvailableExternallyLinkage() 2009-08-02 01:18:44 +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
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 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 Major calling convention code refactoring. 2009-08-05 01:29:28 +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 a possible crash on delete of an uninitialized variable. 2009-08-02 01:25:15 +00:00
PIC16TargetObjectFile.h Fix a possible crash on delete of an uninitialized variable. 2009-08-02 01:25:15 +00:00