1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00
llvm-mirror/include/llvm/Transforms/Utils
Duncan Sands 17a277da6d If the phi node was used by an unreachable instruction that ends up using
itself without going via a phi node then we could return false here in
spite of making a change.  Also, tweak the comment because this method
can (and always could) return true without deleting the original phi node.
For example, if the phi node was used by a read-only invoke instruction
which is used by another phi node phi2 which is only used by and only uses
the invoke, then phi2 would be deleted but not the invoke instruction and
not the original phi node.

llvm-svn: 126129
2011-02-21 17:32:05 +00:00
..
AddrModeMatcher.h Change all self assignments X=X to (void)X, so that we can turn on a 2010-12-23 00:58:24 +00:00
BasicBlockUtils.h Re-apply r124518 with fix. Watch out for invalidated iterator. 2011-01-29 04:46:23 +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 Be more consistent in using ValueToValueMapTy. 2010-10-13 01:36:30 +00:00
FunctionUtils.h
Local.h If the phi node was used by an unreachable instruction that ends up using 2011-02-21 17:32:05 +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
SSAUpdater.h Generalize LoadAndStorePromoter a bit and switch LICM 2011-01-15 00:12:35 +00:00
SSAUpdaterImpl.h
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
ValueMapper.h Revamp the ValueMapper interfaces in a couple ways: 2011-01-08 08:15:20 +00:00