llvm-mirror/lib/Transforms/Scalar
Andrew Trick ba37b6516a indvars: LinearFunctionTestReplace for non-canonical IVs.
For -disable-iv-rewrite, perform LFTR without generating a new
"canonical" induction variable. Instead find the "best" existing
induction variable for use in the loop exit test and compute the final
value of that IV for use in the new loop exit test. In short,
convert to a simple eq/ne exit test as long as it's cheap to do so.

llvm-svn: 135420
2011-07-18 20:32:31 +00:00
..
ADCE.cpp
BasicBlockPlacement.cpp
CMakeLists.txt The ARC language-specific optimizer. Credit to Dan Gohman. 2011-06-15 23:37:01 +00:00
CodeGenPrepare.cpp land David Blaikie's patch to de-constify Type, with a few tweaks. 2011-07-18 04:54:35 +00:00
ConstantProp.cpp
CorrelatedValuePropagation.cpp
DCE.cpp
DeadStoreElimination.cpp land David Blaikie's patch to de-constify Type, with a few tweaks. 2011-07-18 04:54:35 +00:00
EarlyCSE.cpp
GVN.cpp land David Blaikie's patch to de-constify Type, with a few tweaks. 2011-07-18 04:54:35 +00:00
IndVarSimplify.cpp indvars: LinearFunctionTestReplace for non-canonical IVs. 2011-07-18 20:32:31 +00:00
JumpThreading.cpp Calculate GetBestDestForJumpOnUndef correctly. 2011-06-27 21:51:12 +00:00
LICM.cpp Simplify. Consolidate dbg.declare handling in AllocaPromoter. 2011-07-06 21:09:55 +00:00
LoopDeletion.cpp Don't use PN->replaceUsesOfWith() to change a PHINode's incoming blocks, 2011-06-21 10:02:43 +00:00
LoopIdiomRecognize.cpp land David Blaikie's patch to de-constify Type, with a few tweaks. 2011-07-18 04:54:35 +00:00
LoopInstSimplify.cpp
LoopRotation.cpp Make better use of the PHINode API. 2011-06-20 14:18:48 +00:00
LoopStrengthReduce.cpp land David Blaikie's patch to de-constify Type, with a few tweaks. 2011-07-18 04:54:35 +00:00
LoopUnrollPass.cpp
LoopUnswitch.cpp Reinstate r133513 (reverted in r133700) with an additional fix for a 2011-06-23 09:09:15 +00:00
LowerAtomic.cpp
Makefile
MemCpyOptimizer.cpp land David Blaikie's patch to de-constify Type, with a few tweaks. 2011-07-18 04:54:35 +00:00
ObjCARC.cpp land David Blaikie's patch to de-constify Type, with a few tweaks. 2011-07-18 04:54:35 +00:00
Reassociate.cpp start using the new helper methods a bit. 2011-07-15 06:08:15 +00:00
Reg2Mem.cpp
Scalar.cpp Introduce "expect" intrinsic instructions. 2011-07-06 18:22:43 +00:00
ScalarReplAggregates.cpp land David Blaikie's patch to de-constify Type, with a few tweaks. 2011-07-18 04:54:35 +00:00
SCCP.cpp land David Blaikie's patch to de-constify Type, with a few tweaks. 2011-07-18 04:54:35 +00:00
SimplifyCFGPass.cpp Convert CallInst and InvokeInst APIs to use ArrayRef. 2011-07-15 08:37:34 +00:00
SimplifyLibCalls.cpp land David Blaikie's patch to de-constify Type, with a few tweaks. 2011-07-18 04:54:35 +00:00
Sink.cpp
TailDuplication.cpp
TailRecursionElimination.cpp