llvm-6502/lib/Transforms/InstCombine
Michael Gottesman 4932bbe20c [InstCombine] Teach InstCombine how to handle an obfuscated splat.
An obfuscated splat is where the frontend poorly generates code for a splat
using several different shuffles to create the splat, i.e.,

  %A = load <4 x float>* %in_ptr, align 16
  %B = shufflevector <4 x float> %A, <4 x float> undef, <4 x i32> <i32 0, i32 0, i32 undef, i32 undef>
  %C = shufflevector <4 x float> %B, <4 x float> %A, <4 x i32> <i32 0, i32 1, i32 4, i32 undef>
  %D = shufflevector <4 x float> %C, <4 x float> %A, <4 x i32> <i32 0, i32 1, i32 2, i32 4>

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166061 91177308-0d34-0410-b5e6-96231b3b80d8
2012-10-16 21:29:38 +00:00
..
CMakeLists.txt
InstCombine.h Implement new LibCallSimplifier class 2012-10-13 16:45:24 +00:00
InstCombineAddSub.cpp Move TargetData to DataLayout. 2012-10-08 16:38:25 +00:00
InstCombineAndOrXor.cpp
InstCombineCalls.cpp Move the Attributes::Builder outside of the Attributes class and into its own class named AttrBuilder. No functionality change. 2012-10-15 20:35:56 +00:00
InstCombineCasts.cpp Resubmit the changes to llvm core to update the functions to support different pointer sizes on a per address space basis. 2012-10-15 16:24:29 +00:00
InstCombineCompares.cpp Resubmit the changes to llvm core to update the functions to support different pointer sizes on a per address space basis. 2012-10-15 16:24:29 +00:00
InstCombineLoadStoreAlloca.cpp Move TargetData to DataLayout. 2012-10-08 16:38:25 +00:00
InstCombineMulDivRem.cpp Move TargetData to DataLayout. 2012-10-08 16:38:25 +00:00
InstCombinePHI.cpp Move TargetData to DataLayout. 2012-10-08 16:38:25 +00:00
InstCombineSelect.cpp Move TargetData to DataLayout. 2012-10-08 16:38:25 +00:00
InstCombineShifts.cpp Move TargetData to DataLayout. 2012-10-08 16:38:25 +00:00
InstCombineSimplifyDemanded.cpp Move TargetData to DataLayout. 2012-10-08 16:38:25 +00:00
InstCombineVectorOps.cpp [InstCombine] Teach InstCombine how to handle an obfuscated splat. 2012-10-16 21:29:38 +00:00
InstCombineWorklist.h
InstructionCombining.cpp Implement new LibCallSimplifier class 2012-10-13 16:45:24 +00:00
LLVMBuild.txt
Makefile