History log of /llvm-project/llvm/lib/Transforms/Utils/Local.cpp (Results 776 – 800 of 910)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 84986b29 08-Jan-2011 Cameron Zwarich <zwarich@apple.com>

Make more passes preserve dominators (or state that they preserve dominators if
they all ready do). This removes two dominator recomputations prior to isel,
which is a 1% improvement in total llc tim

Make more passes preserve dominators (or state that they preserve dominators if
they all ready do). This removes two dominator recomputations prior to isel,
which is a 1% improvement in total llc time for 403.gcc.

The only potentially suspect thing is making GCStrategy recompute dominators if
it used a custom lowering strategy.

llvm-svn: 123064

show more ...


# 89afb43b 07-Jan-2011 Jay Foad <jay.foad@gmail.com>

Remove all uses of the "ugly" method BranchInst::setUnconditionalDest().

llvm-svn: 123025


# 570dd787 30-Dec-2010 Benjamin Kramer <benny.kra@googlemail.com>

Make a bunch of symbols internal.

llvm-svn: 122642


# d729d0dc 25-Dec-2010 Chris Lattner <sabre@nondot.org>

don't lose TD info

llvm-svn: 122556


# 6fcd32e7 25-Dec-2010 Chris Lattner <sabre@nondot.org>

Move getOrEnforceKnownAlignment out of instcombine into Transforms/Utils.

llvm-svn: 122554


# b438ef23 30-Nov-2010 Chris Lattner <sabre@nondot.org>

remove the pointless check of MemoryUseIntrinsic from
is trivially dead, since these have side effects. This makes the
(misnamed) MemoryUseIntrinsic class dead, so remove it.

llvm-svn: 120382


# ba0b22c7 17-Nov-2010 Duncan Sands <baldrick@free.fr>

Have RemovePredecessorAndSimplify you SimplifyInstruction
rather than hasConstantValue.

llvm-svn: 119457


Revision tags: llvmorg-2.8.0, llvmorg-2.8.0-rc3, llvmorg-2.8.0-rc2, llvmorg-2.8.0-rc1, llvmorg-2.8.0-rc0
# 4a63fad9 14-Aug-2010 Dan Gohman <gohman@apple.com>

Teach SimplifyCFG how to simplify indirectbr instructions.
- Eliminate redundant successors.
- Convert an indirectbr with one successor into a direct branch.

Also, generalize SimplifyCFG to be abl

Teach SimplifyCFG how to simplify indirectbr instructions.
- Eliminate redundant successors.
- Convert an indirectbr with one successor into a direct branch.

Also, generalize SimplifyCFG to be able to be run on a function entry block.
It knows quite a few simplifications which are applicable to the entry
block, and it only needs a few checks to avoid trouble with the entry block.

llvm-svn: 111060

show more ...


# e41ab07c 15-Jul-2010 Chris Lattner <sabre@nondot.org>

make various clients of ReplaceAndSimplifyAllUses tolerate
it *changing* the things it replaces, not just causing them
to drop to null. There is no functionality change yet, but
this is required f

make various clients of ReplaceAndSimplifyAllUses tolerate
it *changing* the things it replaces, not just causing them
to drop to null. There is no functionality change yet, but
this is required for a subsequent patch.

llvm-svn: 108414

show more ...


# d993402d 12-Jul-2010 Gabor Greif <ggreif@gmail.com>

cache dereferenced iterators

llvm-svn: 108132


# 826bdf8c 28-May-2010 Dan Gohman <gohman@apple.com>

Move FindAvailableLoadedValue isSafeToLoadUnconditionally out of
lib/Transforms/Utils and into lib/Analysis so that Analysis passes
can use them.

llvm-svn: 104949


Revision tags: llvmorg-2.7.0
# 19d0b47b 16-Feb-2010 Duncan Sands <baldrick@free.fr>

There are two ways of checking for a given type, for example isa<PointerType>(T)
and T->isPointerTy(). Convert most instances of the first form to the second form.
Requested by Chris.

llvm-svn: 963

There are two ways of checking for a given type, for example isa<PointerType>(T)
and T->isPointerTy(). Convert most instances of the first form to the second form.
Requested by Chris.

llvm-svn: 96344

show more ...


# 6fbfe589 15-Feb-2010 Chris Lattner <sabre@nondot.org>

fix PR6305 by handling BlockAddress in a helper function
called by jump threading.

llvm-svn: 96263


# f65ba356 01-Feb-2010 Bob Wilson <bob.wilson@apple.com>

Fix pr6198 by moving the isSized() check to an outer conditional.
The testcase from pr6198 does not crash for me -- I don't know what's up with
that -- so I'm not adding it to the tests.

llvm-svn: 9

Fix pr6198 by moving the isSized() check to an outer conditional.
The testcase from pr6198 does not crash for me -- I don't know what's up with
that -- so I'm not adding it to the tests.

llvm-svn: 94984

show more ...


# 56600a15 30-Jan-2010 Bob Wilson <bob.wilson@apple.com>

Check alignment of loads when deciding whether it is safe to execute them
unconditionally. Besides checking the offset, also check that the underlying
object is aligned as much as the load itself.

Check alignment of loads when deciding whether it is safe to execute them
unconditionally. Besides checking the offset, also check that the underlying
object is aligned as much as the load itself.

llvm-svn: 94875

show more ...


# 34e10c22 29-Jan-2010 Bob Wilson <bob.wilson@apple.com>

Use uint64_t instead of unsigned for offsets and sizes.

llvm-svn: 94835


# 7c42b9d5 29-Jan-2010 Bob Wilson <bob.wilson@apple.com>

Improve isSafeToLoadUnconditionally to recognize that GEPs with constant
indices are safe if the result is known to be within the bounds of the
underlying object.

llvm-svn: 94829


# 1df65186 21-Jan-2010 Victor Hernandez <vhernandez@apple.com>

DbgInfoIntrinsics no longer appear in an instruction's use list; so clean up looking for them in use iterations and remove OnlyUsedByDbgInfoIntrinsics()

llvm-svn: 94111


# 7c743f2c 12-Jan-2010 Chris Lattner <sabre@nondot.org>

add a helper function.

llvm-svn: 93251


# c3c031bb 05-Jan-2010 Dan Gohman <gohman@apple.com>

Nick Lewycky pointed out that this code makes changes unconditionally.

llvm-svn: 92739


# 28943873 05-Jan-2010 Dan Gohman <gohman@apple.com>

Use do+while instead of while for loops which obviously have a
non-zero trip count. Use SmallVector's pop_back_val().

llvm-svn: 92734


# cb99fe98 05-Jan-2010 Dan Gohman <gohman@apple.com>

Make RecursivelyDeleteTriviallyDeadInstructions,
RecursivelyDeleteDeadPHINode, and DeleteDeadPHIs return a flag
indicating whether they made any changes.

llvm-svn: 92732


# 084b0dde 05-Jan-2010 David Greene <greened@obbligato.org>

Change errs() to dbgs().

llvm-svn: 92606


# 22e13ba4 29-Dec-2009 Chris Lattner <sabre@nondot.org>

prune #includes.

llvm-svn: 92260


# d831ef49 02-Dec-2009 Jim Grosbach <grosbach@apple.com>

Move EliminateDuplicatePHINodes() from SimplifyCFG.cpp to Local.cpp

llvm-svn: 90324


1...<<31323334353637