Duncan Sands
|
b4098ba03d
Simplify RecursivelyDeleteDeadPHINode. The only functionality change
|
14 gadi atpakaļ |
Nick Lewycky
|
eff5e69c82
Make RecursivelyDeleteDeadPHINode delete a phi node that has no users and add a
|
14 gadi atpakaļ |
Nick Lewycky
|
1a4021a2be
Teach RecursivelyDeleteDeadPHINodes to handle multiple self-references. Patch
|
14 gadi atpakaļ |
Cameron Zwarich
|
80f6a507d4
Make more passes preserve dominators (or state that they preserve dominators if
|
14 gadi atpakaļ |
Jay Foad
|
8f9ffbd056
Remove all uses of the "ugly" method BranchInst::setUnconditionalDest().
|
14 gadi atpakaļ |
Benjamin Kramer
|
1928236514
Make a bunch of symbols internal.
|
14 gadi atpakaļ |
Chris Lattner
|
ae47be1ea0
don't lose TD info
|
14 gadi atpakaļ |
Chris Lattner
|
687140c818
Move getOrEnforceKnownAlignment out of instcombine into Transforms/Utils.
|
14 gadi atpakaļ |
Chris Lattner
|
d6f02d1fff
remove the pointless check of MemoryUseIntrinsic from
|
14 gadi atpakaļ |
Duncan Sands
|
6ac3386e10
Have RemovePredecessorAndSimplify you SimplifyInstruction
|
14 gadi atpakaļ |
Dan Gohman
|
e2c6d131d1
Teach SimplifyCFG how to simplify indirectbr instructions.
|
15 gadi atpakaļ |
Chris Lattner
|
35a939b97d
make various clients of ReplaceAndSimplifyAllUses tolerate
|
15 gadi atpakaļ |
Gabor Greif
|
f1b2874c68
cache dereferenced iterators
|
15 gadi atpakaļ |
Dan Gohman
|
dd9344f3fa
Move FindAvailableLoadedValue isSafeToLoadUnconditionally out of
|
15 gadi atpakaļ |
Duncan Sands
|
1df9859c40
There are two ways of checking for a given type, for example isa<PointerType>(T)
|
15 gadi atpakaļ |
Chris Lattner
|
37914c8e83
fix PR6305 by handling BlockAddress in a helper function
|
15 gadi atpakaļ |
Bob Wilson
|
3cb8509b68
Fix pr6198 by moving the isSized() check to an outer conditional.
|
15 gadi atpakaļ |
Bob Wilson
|
49db68fba0
Check alignment of loads when deciding whether it is safe to execute them
|
15 gadi atpakaļ |
Bob Wilson
|
963e84f9fc
Use uint64_t instead of unsigned for offsets and sizes.
|
15 gadi atpakaļ |
Bob Wilson
|
3eb4f7e2dd
Improve isSafeToLoadUnconditionally to recognize that GEPs with constant
|
15 gadi atpakaļ |
Victor Hernandez
|
6c146eefbf
DbgInfoIntrinsics no longer appear in an instruction's use list; so clean up looking for them in use iterations and remove OnlyUsedByDbgInfoIntrinsics()
|
15 gadi atpakaļ |
Chris Lattner
|
e234a30a28
add a helper function.
|
15 gadi atpakaļ |
Dan Gohman
|
ba25f0924e
Nick Lewycky pointed out that this code makes changes unconditionally.
|
15 gadi atpakaļ |
Dan Gohman
|
321a813c53
Use do+while instead of while for loops which obviously have a
|
15 gadi atpakaļ |
Dan Gohman
|
90fe0bd68c
Make RecursivelyDeleteTriviallyDeadInstructions,
|
15 gadi atpakaļ |
David Greene
|
fae7706dfd
Change errs() to dbgs().
|
15 gadi atpakaļ |
Chris Lattner
|
19f2dc436d
prune #includes.
|
15 gadi atpakaļ |
Jim Grosbach
|
43a8241b65
Move EliminateDuplicatePHINodes() from SimplifyCFG.cpp to Local.cpp
|
15 gadi atpakaļ |
Duncan Sands
|
a3da922a27
Don't trivially delete unused calls to llvm.invariant.start. This allows
|
16 gadi atpakaļ |
Chris Lattner
|
40d8c28b27
move some generally useful functions out of jump threading
|
16 gadi atpakaļ |