llvm/lib/Target/PIC16
Evan Cheng 014bf215c3 Split SelectionDAGISel::IsLegalAndProfitableToFold to
IsLegalToFold and IsProfitableToFold. The generic version of the later simply checks whether the folding candidate has a single use.

This allows the target isel routines more flexibility in deciding whether folding makes sense. The specific case we are interested in is folding constant pool loads with multiple uses.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96255 91177308-0d34-0410-b5e6-96231b3b80d8
2010-02-15 19:41:07 +00:00
..
AsmPrinter print all the newlines at the end of instructions with 2010-02-10 00:36:00 +00:00
PIC16Passes make -fno-rtti the default unless a directory builds with REQUIRES_RTTI. 2010-01-24 20:43:08 +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
PIC16ABINames.h Reapply 85006 with a minor fix. 2009-10-25 08:14:11 +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
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
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
PIC16Subtarget.h
PIC16TargetMachine.cpp indicate what the native integer types for the target are. 2009-11-07 19:07:32 +00:00
PIC16TargetMachine.h
PIC16TargetObjectFile.cpp Reapply 85006 with a minor fix. 2009-10-25 08:14:11 +00:00
PIC16TargetObjectFile.h Reapply 85006 with a minor fix. 2009-10-25 08:14:11 +00:00