1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/include/llvm/Transforms/Utils
Andrew Trick b85da1c369 Added a SimplifyIndVar utility to simplify induction variable users
based on ScalarEvolution without changing the induction variable phis.

This utility is the main tool of IndVarSimplifyPass, but the pass also
restructures induction variables in strange ways that are sensitive to
pass ordering. This provides a way for other loop passes to simplify
new uses of induction variables created during transformation. The
utility may be used by any pass that preserves ScalarEvolution. Soon
LoopUnroll will use it.

The net effect in this checkin is to cleanup the IndVarSimplify pass
by factoring out the SimplifyIndVar algorithm into a standalone utility.

llvm-svn: 137197
2011-08-10 03:46:27 +00:00
..
AddrModeMatcher.h land David Blaikie's patch to de-constify Type, with a few tweaks. 2011-07-18 04:54:35 +00:00
BasicBlockUtils.h Assing line number info to new PHIs created by SSA updater. 2011-04-29 22:28:59 +00:00
BasicInliner.h
BuildLibCalls.h BuildLibCalls: Nuke EmitMemCpy, EmitMemMove and EmitMemSet. They are dead and superseded by IRBuilder. 2010-12-27 00:25:32 +00:00
Cloning.h Remove unused code. 2011-06-15 19:58:09 +00:00
FunctionUtils.h
Local.h Make LoadAndStorePromoter preserve debug info and create llvm.dbg.values when 2011-05-24 03:10:43 +00:00
PromoteMemToReg.h Roll r123609 back in with two changes that fix test failures with expensive 2011-01-17 17:38:41 +00:00
SimplifyIndVar.h Added a SimplifyIndVar utility to simplify induction variable users 2011-08-10 03:46:27 +00:00
SSAUpdater.h land David Blaikie's patch to de-constify Type, with a few tweaks. 2011-07-18 04:54:35 +00:00
SSAUpdaterImpl.h Fix handling of unreachable blocks in the SSAUpdater. The previous code only 2010-05-06 16:24:11 +00:00
UnifyFunctionExitNodes.h Get rid of static constructors for pass registration. Instead, every pass exposes an initializeMyPassFunction(), which 2010-10-19 17:21:58 +00:00
UnrollLoop.h Move trip count discovery outside of the generic LoopUnroll helper. This 2011-07-23 00:33:05 +00:00
ValueMapper.h Use cast<> instead of a C-style cast to get some free assertions. 2011-08-03 10:05:04 +00:00