llvm-6502/lib/Target/PIC16
Sanjiv Gupta e74c3bae3a Initial implementation of PIC16 Cloner pass.
This pass is supposed to be run on the linked .bc module.
It traveses the module call graph twice. Once starting from the main function
and marking each reached function as "ML". Again, starting from the ISR
and cloning any reachable function that was marked as "ML". After cloning
the function, it remaps all the call sites in IL functions to call the
cloned functions. 

Currently only marking is being done.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96435 91177308-0d34-0410-b5e6-96231b3b80d8
2010-02-17 01:11:53 +00:00
..
AsmPrinter The code section for an ISR has a specific address. 2010-02-16 03:41:07 +00:00
PIC16Passes Initial implementation of PIC16 Cloner pass. 2010-02-17 01:11:53 +00:00
TargetInfo make -fno-rtti the default unless a directory builds with REQUIRES_RTTI. 2010-01-24 20:43:08 +00:00
CMakeLists.txt Update CMake file. 2009-10-16 10:29:08 +00:00
Makefile make -fno-rtti the default unless a directory builds with REQUIRES_RTTI. 2010-01-24 20:43:08 +00:00
PIC16.h Replace strcpy with memcpy when we have the length around anyway. 2010-01-28 18:04:38 +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
PIC16ABINames.h The code section for an ISR has a specific address. 2010-02-16 03:41:07 +00:00
PIC16DebugInfo.cpp Fix "the the" and similar typos. 2010-02-10 16:03:48 +00:00
PIC16DebugInfo.h Reapply 79977. 2009-08-28 23:24:31 +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 Remove unnecessary gotos to fall-thru successors. 2009-10-27 17:40:24 +00:00
PIC16InstrInfo.h Remove unnecessary gotos to fall-thru successors. 2009-10-27 17:40:24 +00:00
PIC16InstrInfo.td Added missing patterns for subtract instruction. 2009-12-23 10:56:02 +00:00
PIC16ISelDAGToDAG.cpp Change SelectCode's argument from SDValue to SDNode *, to make it more 2010-01-05 01:24:18 +00:00
PIC16ISelDAGToDAG.h Change SelectCode's argument from SDValue to SDNode *, to make it more 2010-01-05 01:24:18 +00:00
PIC16ISelLowering.cpp Split SelectionDAGISel::IsLegalAndProfitableToFold to 2010-02-15 19:41:07 +00:00
PIC16ISelLowering.h Revert 95130. 2010-02-02 23:55:14 +00:00
PIC16MCAsmInfo.cpp Eliminate SetDirective, and replace it with HasSetDirective. 2010-01-26 20:40:54 +00:00
PIC16MCAsmInfo.h Rename TargetAsmInfo (and its subclasses) to MCAsmInfo. 2009-08-22 20:48:53 +00:00
PIC16MemSelOpt.cpp fixes to pagesel/banksel inserter. 2010-02-14 18:27:42 +00:00
PIC16RegisterInfo.cpp Make the MachineFunction argument of getFrameRegister const. 2009-11-12 21:00:03 +00:00
PIC16RegisterInfo.h Make the MachineFunction argument of getFrameRegister const. 2009-11-12 21:00:03 +00:00
PIC16RegisterInfo.td Handle indirect function calls. 2009-04-08 05:38:48 +00:00
PIC16Section.cpp Add a pass to overlay pic16 data sections for function frame and automatic 2009-10-21 10:42:44 +00:00
PIC16Section.h Add a pass to overlay pic16 data sections for function frame and automatic 2009-10-21 10:42:44 +00:00
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
PIC16TargetMachine.cpp indicate what the native integer types for the target are. 2009-11-07 19:07:32 +00:00
PIC16TargetMachine.h Reapply pieces of 78914 reverted in 78916, this has been fixed. 2009-08-13 17:08:54 +00:00
PIC16TargetObjectFile.cpp The code section for an ISR has a specific address. 2010-02-16 03:41:07 +00:00
PIC16TargetObjectFile.h The code section for an ISR has a specific address. 2010-02-16 03:41:07 +00:00