llvm-6502/lib/Transforms/Scalar
Chandler Carruth ec68f552f2 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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162271 91177308-0d34-0410-b5e6-96231b3b80d8
2012-08-21 08:39:44 +00:00
..
ADCE.cpp Clean whitespaces. 2012-07-24 10:51:42 +00:00
BasicBlockPlacement.cpp Get rid of static constructors for pass registration. Instead, every pass exposes an initializeMyPassFunction(), which 2010-10-19 17:21:58 +00:00
CMakeLists.txt move the bounds checking pass to the instrumentation folder, where it belongs. I dunno why in the world I dropped it in the Scalar folder in the first place. 2012-07-20 22:39:33 +00:00
CodeGenPrepare.cpp revise debug output to avoid dangling pointer 2012-08-21 05:55:22 +00:00
ConstantProp.cpp Last bit of TargetLibraryInfo propagation. Also fixed a case for TargetData 2011-12-01 21:29:16 +00:00
CorrelatedValuePropagation.cpp llvm::SwitchInst 2012-03-11 06:09:17 +00:00
DCE.cpp Remove unused STL header includes. 2011-04-23 19:53:52 +00:00
DeadStoreElimination.cpp Change greater than to greater than or equal so that an identical sized store to the same offset is treated as completing overwriting. 2012-08-14 07:32:05 +00:00
EarlyCSE.cpp Clean whitespaces. 2012-07-24 10:51:42 +00:00
GlobalMerge.cpp Clean whitespaces. 2012-07-24 10:51:42 +00:00
GVN.cpp Teach GVN to reason about edges dominating uses. This allows it to handle cases 2012-08-16 15:09:43 +00:00
IndVarSimplify.cpp indvars: drive by heuristics fix. 2012-07-18 04:35:13 +00:00
JumpThreading.cpp Clean whitespaces. 2012-07-24 10:51:42 +00:00
LICM.cpp Avoid recomputing the unique exit blocks and their insert points when doing 2012-08-08 00:00:26 +00:00
LLVMBuild.txt LLVMBuild: Remove trailing newline, which irked me. 2011-12-12 19:48:00 +00:00
LoopDeletion.cpp Clean whitespaces. 2012-07-24 10:51:42 +00:00
LoopIdiomRecognize.cpp Clean whitespaces. 2012-07-24 10:51:42 +00:00
LoopInstSimplify.cpp Clean whitespaces. 2012-07-24 10:51:42 +00:00
LoopRotation.cpp Clean whitespaces. 2012-07-24 10:51:42 +00:00
LoopStrengthReduce.cpp Reapply r160340. LSR: Limit CollectSubexprs. 2012-07-17 05:30:37 +00:00
LoopUnrollPass.cpp LoopUnrollPass: Use variable "Threshold" instead of "CurrentThreshold" when 2012-04-04 11:44:08 +00:00
LoopUnswitch.cpp Do not pass an invalid domtree to SimplifyInstruction from 2012-05-20 01:32:09 +00:00
LowerAtomic.cpp Clean whitespaces. 2012-07-24 10:51:42 +00:00
Makefile
MemCpyOptimizer.cpp Clean whitespaces. 2012-07-24 10:51:42 +00:00
ObjCARC.cpp An objc_retain can serve as a may-use for a different pointer. 2012-07-23 19:27:31 +00:00
Reassociate.cpp Stop reassociate from looking through expressions of arbitrary complexity. This 2012-07-26 09:26:40 +00:00
Reg2Mem.cpp Clean whitespaces. 2012-07-24 10:51:42 +00:00
Scalar.cpp Clean whitespaces. 2012-07-24 10:51:42 +00:00
ScalarReplAggregates.cpp Port the global copy optimization from the SROA pass to InstCombine. 2012-08-21 08:39:44 +00:00
SCCP.cpp Clean whitespaces. 2012-07-24 10:51:42 +00:00
SimplifyCFGPass.cpp Clean whitespaces. 2012-07-24 10:51:42 +00:00
SimplifyLibCalls.cpp SimplifyLibcalls: Add fabs and trunc to the list of libcalls that are safe to shrink from double to float. 2012-08-18 19:27:32 +00:00
Sink.cpp Clean whitespaces. 2012-07-24 10:51:42 +00:00
TailRecursionElimination.cpp Clean whitespaces. 2012-07-24 10:51:42 +00:00