hanchenye-llvm-project/llvm/lib/Transforms/InstCombine
Chandler Carruth c908ca1766 Port the global copy optimization from the SROA pass to InstCombine.
This optimization is really just replacing allocas wholesale with
globals, there is no scalarization.

The underlying motivation for this patch is to simplify the SROA pass
and focus it on splitting and promoting allocas.

llvm-svn: 162271
2012-08-21 08:39:44 +00:00
..
CMakeLists.txt llvm/lib: [CMake] Add explicit dependency to intrinsics_gen. 2012-06-24 13:32:01 +00:00
InstCombine.h instcombine: merge the functions that remove dead allocas and dead mallocs/callocs/... 2012-07-09 18:38:20 +00:00
InstCombineAddSub.cpp Remove a instcombine transform that (no longer?) makes sense: 2012-06-26 22:03:13 +00:00
InstCombineAndOrXor.cpp InstCombine: fix a bug when combining (fcmp cc0 x, y) && (fcmp cc1 x, y). 2012-06-14 05:57:42 +00:00
InstCombineCalls.cpp fix infinite loop in instcombine with more than 4GB memcpy 2012-08-15 03:49:59 +00:00
InstCombineCasts.cpp Revert remaining part of r93200: "Disable folding sext(trunc(x)) -> x" 2012-06-22 16:36:43 +00:00
InstCombineCompares.cpp InstCombine: Fix a crasher when encountering a function pointer. 2012-08-18 22:04:34 +00:00
InstCombineLoadStoreAlloca.cpp Port the global copy optimization from the SROA pass to InstCombine. 2012-08-21 08:39:44 +00:00
InstCombineMulDivRem.cpp Look pass zext to strength reduce an udiv. Patch by David Majnemer. rdar://11721329 2012-06-21 22:52:49 +00:00
InstCombinePHI.cpp
InstCombineSelect.cpp fix infinite loop in instcombine in the presence of a (malformed) self-referencing select inst. 2012-07-27 18:03:57 +00:00
InstCombineShifts.cpp PR12967: Don't crash when trying to fold a shift that's larger than the type's size. 2012-05-27 22:03:32 +00:00
InstCombineSimplifyDemanded.cpp Simplify demanded bits of select sources where the condition is a constant vector 2012-07-26 23:10:24 +00:00
InstCombineVectorOps.cpp continue making the world safe for ConstantDataVector. At this point, 2012-01-27 03:08:05 +00:00
InstCombineWorklist.h Use an iterator instead of calling .size() on the worklist every time, which is wasteful. 2012-03-15 11:19:41 +00:00
InstructionCombining.cpp Remove tabs. 2012-07-19 00:11:40 +00:00
LLVMBuild.txt LLVMBuild: Remove trailing newline, which irked me. 2011-12-12 19:48:00 +00:00
Makefile