1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 12:43:36 +01:00
llvm-mirror/include/llvm/Target
Evan Cheng 86dd733bc8 Some enhancements for memcpy / memset inline expansion.
1. Teach it to use overlapping unaligned load / store to copy / set the trailing
   bytes. e.g. On 86, use two pairs of movups / movaps for 17 - 31 byte copies.
2. Use f64 for memcpy / memset on targets where i64 is not legal but f64 is. e.g.
   x86 and ARM.
3. When memcpy from a constant string, do *not* replace the load with a constant
   if it's not possible to materialize an integer immediate with a single
   instruction (required a new target hook: TLI.isIntImmLegal()).
4. Use unaligned load / stores more aggressively if target hooks indicates they
   are "fast".
5. Update ARM target hooks to use unaligned load / stores. e.g. vld1.8 / vst1.8.
   Also increase the threshold to something reasonable (8 for memset, 4 pairs
   for memcpy).

This significantly improves Dhrystone, up to 50% on ARM iOS devices.

rdar://12760078

llvm-svn: 169791
2012-12-10 23:21:26 +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 OutputArg: added an index of the original argument to match the change to 2012-11-01 23:49:58 +00:00
TargetCallingConv.td Add TableGen support for callee saved registers. 2012-01-17 22:46:58 +00:00
TargetFrameLowering.h Stack Alignment: when creating stack objects in MachineFrameInfo, make sure 2012-12-04 00:52:33 +00:00
TargetInstrInfo.h Sort the #include lines for the include/... tree with the script. 2012-12-03 17:02:12 +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 Sort the #include lines for the include/... tree with the script. 2012-12-03 17:02:12 +00:00
TargetLibraryInfo.h Sort the #include lines for the include/... tree with the script. 2012-12-03 17:02:12 +00:00
TargetLowering.h Some enhancements for memcpy / memset inline expansion. 2012-12-10 23:21:26 +00:00
TargetLoweringObjectFile.h Sort the #include lines for the include/... tree with the script. 2012-12-03 17:02:12 +00:00
TargetMachine.h Sort the #include lines for the include/... tree with the script. 2012-12-03 17:02:12 +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 Whitespace. 2012-11-29 20:58:08 +00:00
TargetRegisterInfo.h Remove two dead functions resulting from a bad rebase. 2012-12-05 18:52:15 +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: Allow subtargets to enable misched and dependent options. 2012-11-13 08:47:29 +00:00
TargetTransformImpl.h LoopVectorize: support vectorizing intrinsic calls 2012-12-09 20:42:17 +00:00