llvm-6502/include/llvm/Target
Hans Wennborg 04d7d13d30 Use TargetTransformInfo to control switch-to-lookup table transformation
When the switch-to-lookup tables transform landed in SimplifyCFG, it
was pointed out that this could be inappropriate for some targets.
Since there was no way at the time for the pass to know anything about
the target, an awkward reverse-transform was added in CodeGenPrepare
that turned lookup tables back into switches for some targets.

This patch uses the new TargetTransformInfo to determine if a
switch should be transformed, and removes
CodeGenPrepare::ConvertLoadToSwitch.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167011 91177308-0d34-0410-b5e6-96231b3b80d8
2012-10-30 11:23:25 +00:00
..
Mangler.h whitespace 2012-10-09 01:56:07 +00:00
Target.td add TableGen support to create relationship maps between instructions 2012-10-25 15:54:06 +00:00
TargetCallingConv.h Issue description: 2012-10-10 11:37:36 +00:00
TargetCallingConv.td
TargetFrameLowering.h Prune some includes and forward declarations. 2012-03-25 18:09:44 +00:00
TargetInstrInfo.h misched: Use the TargetSchedModel interface wherever possible. 2012-10-10 05:43:09 +00:00
TargetIntrinsicInfo.h Mark unimplemented copy constructors and copy assignment operators as LLVM_DELETED_FUNCTION. 2012-09-17 06:59:23 +00:00
TargetItinerary.td I'm introducing a new machine model to simultaneously allow simple 2012-07-07 04:00:00 +00:00
TargetJITInfo.h Prune some includes and forward declarations. 2012-03-25 18:09:44 +00:00
TargetLibraryInfo.h Make MemoryBuiltins aware of TargetLibraryInfo. 2012-08-29 15:32:21 +00:00
TargetLowering.h 1. Fix a bug in getTypeConversion. When a *simple* type is split, we need to return the type of the split result. 2012-10-27 04:11:32 +00:00
TargetLoweringObjectFile.h Mark unimplemented copy constructors and copy assignment operators as LLVM_DELETED_FUNCTION. 2012-09-17 06:59:23 +00:00
TargetMachine.h Remove TargetELFWriterInfo. 2012-10-28 21:34:43 +00:00
TargetOpcodes.h Add a new optimization pass: Stack Coloring, that merges disjoint static allocations (allocas). Allocas are known to be 2012-09-06 09:17:37 +00:00
TargetOptions.h Add support for the --param ssp-buffer-size= driver option. 2012-08-21 16:15:24 +00:00
TargetRegisterInfo.h Remove the canCombineSubRegIndices() target hook. 2012-10-26 20:38:19 +00:00
TargetSchedule.td Added instregex support to TableGen subtarget emitter. 2012-10-03 23:06:32 +00:00
TargetSelectionDAG.td Remove extra MayLoad/MayStore flags from atomic_load/store. 2012-08-28 03:11:32 +00:00
TargetSelectionDAGInfo.h Move TargetData to DataLayout. 2012-10-08 16:38:25 +00:00
TargetSubtargetInfo.h misched: remove the unused getSpecialAddressLatency hook. 2012-10-08 18:54:00 +00:00
TargetTransformImpl.h Use TargetTransformInfo to control switch-to-lookup table transformation 2012-10-30 11:23:25 +00:00