llvm/lib/Transforms/Scalar
Pete Cooper be21eab7ac Convert a bunch of loops to foreach. NFC.
After r244074, we now have a successors() method to iterate over
all the successors of a TerminatorInst.  This commit changes a bunch
of eligible loops to use it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@244260 91177308-0d34-0410-b5e6-96231b3b80d8
2015-08-06 20:22:46 +00:00
..
ADCE.cpp Rename inst_range() to instructions() for consistency. NFC 2015-08-06 19:10:45 +00:00
AlignmentFromAssumptions.cpp
BDCE.cpp Rename inst_range() to instructions() for consistency. NFC 2015-08-06 19:10:45 +00:00
CMakeLists.txt
ConstantHoisting.cpp
ConstantProp.cpp
CorrelatedValuePropagation.cpp
DCE.cpp
DeadStoreElimination.cpp
EarlyCSE.cpp Rename all references to old mailing lists to new lists.llvm.org address. 2015-08-05 03:51:17 +00:00
FlattenCFGPass.cpp
Float2Int.cpp Rename inst_range() to instructions() for consistency. NFC 2015-08-06 19:10:45 +00:00
GVN.cpp Drive-by fixes for LandingPad -> EHPad 2015-08-04 08:21:40 +00:00
InductiveRangeCheckElimination.cpp
IndVarSimplify.cpp
JumpThreading.cpp Drive-by fixes for LandingPad -> EHPad 2015-08-04 08:21:40 +00:00
LICM.cpp [PM/AA] Simplify the AliasAnalysis interface by removing a wrapper 2015-08-06 02:05:46 +00:00
LLVMBuild.txt
LoadCombine.cpp
LoopDeletion.cpp
LoopDistribute.cpp [LDist] Filter the checks locally rather than in LAA, NFC 2015-07-30 03:29:16 +00:00
LoopIdiomRecognize.cpp
LoopInstSimplify.cpp
LoopInterchange.cpp Revert "Remove unnecessary null check. NFC." 2015-07-27 18:37:58 +00:00
LoopRerollPass.cpp Handle loop with negtive induction variable increment 2015-07-24 22:01:49 +00:00
LoopRotation.cpp Convert a bunch of loops to foreach. NFC. 2015-08-06 20:22:46 +00:00
LoopStrengthReduce.cpp Revert "[LSR] Generate and use zero extends" 2015-08-04 01:52:05 +00:00
LoopUnrollPass.cpp [Unroll] Switch to using 'int' cost types in preparation for a somewhat 2015-08-05 18:46:21 +00:00
LoopUnswitch.cpp [LoopUnswitch] Preserve make.implicit metadata for unswitched conditions 2015-08-05 21:13:26 +00:00
LowerAtomic.cpp
LowerExpectIntrinsic.cpp
Makefile
MemCpyOptimizer.cpp
MergedLoadStoreMotion.cpp
NaryReassociate.cpp [NaryReassociate] remove redundant code 2015-07-23 23:13:37 +00:00
PartiallyInlineLibCalls.cpp
PlaceSafepoints.cpp Rename inst_range() to instructions() for consistency. NFC 2015-08-06 19:10:45 +00:00
Reassociate.cpp [Reassociation] Fix miscompile for va_arg arguments. 2015-08-06 18:44:34 +00:00
Reg2Mem.cpp
RewriteStatepointsForGC.cpp Rename inst_range() to instructions() for consistency. NFC 2015-08-06 19:10:45 +00:00
SampleProfile.cpp
Scalar.cpp [PM/AA] Hoist the interface for BasicAA into a header file. 2015-08-06 07:33:15 +00:00
Scalarizer.cpp [Scalarizer] Fix potential for stale data in Scattered across invocations 2015-07-23 20:53:46 +00:00
ScalarReplAggregates.cpp
SCCP.cpp Convert a bunch of loops to foreach. NFC. 2015-08-06 20:22:46 +00:00
SeparateConstOffsetFromGEP.cpp
SimplifyCFGPass.cpp
Sink.cpp
SpeculativeExecution.cpp
SROA.cpp
StraightLineStrengthReduce.cpp Roll forward r243250 2015-07-26 19:10:03 +00:00
StructurizeCFG.cpp Convert a bunch of loops to foreach. NFC. 2015-08-06 20:22:46 +00:00
TailRecursionElimination.cpp