History log of /llvm-project/llvm/lib/Transforms/Utils/Local.cpp (Results 826 – 850 of 910)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 0c970f94 06-Mar-2009 Devang Patel <dpatel@apple.com>

Add "check/remove dbg var" helper routines.

llvm-svn: 66223


# 738c60f2 03-Mar-2009 Dale Johannesen <dalej@apple.com>

Marking debug info intrinsics as not touching memory
caused them to be considered trivially dead. Fix this.

llvm-svn: 65979


Revision tags: llvmorg-2.5.0
# caf44857 10-Feb-2009 Devang Patel <dpatel@apple.com>

Enable scalar replacement of AllocaInst whose one of the user is dbg info.

llvm-svn: 64207


# 02f58e1e 05-Feb-2009 Devang Patel <dpatel@apple.com>

Revert rev. 63876. It is causing llvm-gcc bootstrap failure.

llvm-svn: 63888


# 5922e26d 05-Feb-2009 Devang Patel <dpatel@apple.com>

Ignore dbg intrinsics while propagating conditional expression info.

llvm-svn: 63876


# 97f17206 30-Jan-2009 Gabor Greif <ggreif@gmail.com>

use precise getters

llvm-svn: 63402


# e9f6c355 28-Nov-2008 Chris Lattner <sabre@nondot.org>

rewrite RecursivelyDeleteTriviallyDeadInstructions to use a more efficient
formulation that doesn't require set lookups or scanning a set.

llvm-svn: 60203


# d4b5ba61 28-Nov-2008 Chris Lattner <sabre@nondot.org>

remove some weirdness that came from the LSR code that has
nothing to do with dead instruction elimination. No tests in
dejagnu depend on this, so I don't know what it was needed for.

llvm-svn: 602

remove some weirdness that came from the LSR code that has
nothing to do with dead instruction elimination. No tests in
dejagnu depend on this, so I don't know what it was needed for.

llvm-svn: 60202

show more ...


# a1bbdff9 27-Nov-2008 Chris Lattner <sabre@nondot.org>

enhance RecursivelyDeleteTriviallyDeadInstructions to make
PHIs dead if they are single-value.

llvm-svn: 60194


# 1cb4f727 27-Nov-2008 Chris Lattner <sabre@nondot.org>

Enhance RecursivelyDeleteTriviallyDeadInstructions to optionally
return a list of deleted instructions.

llvm-svn: 60193


# c6c481cd 27-Nov-2008 Chris Lattner <sabre@nondot.org>

remove doConstantPropagation and dceInstruction, they are just
wrappers around the interesting code and use an obscure iterator
abstraction that dates back many many years.

Move EraseDeadInstruction

remove doConstantPropagation and dceInstruction, they are just
wrappers around the interesting code and use an obscure iterator
abstraction that dates back many many years.

Move EraseDeadInstructions to Transforms/Utils and name it
RecursivelyDeleteTriviallyDeadInstructions.

llvm-svn: 60191

show more ...


# 99d6809a 27-Nov-2008 Chris Lattner <sabre@nondot.org>

move MergeBasicBlockIntoOnlyPred to Transforms/Utils.

llvm-svn: 60162


Revision tags: llvmorg-2.4.0
# 158ff2c4 21-Jun-2008 Dan Gohman <gohman@apple.com>

Use Instruction::eraseFromParent().

llvm-svn: 52606


Revision tags: llvmorg-2.3.0
# e9ecc68d 06-Apr-2008 Gabor Greif <ggreif@gmail.com>

API changes for class Use size reduction, wave 1.
Specifically, introduction of XXX::Create methods
for Users that have a potentially variable number of
Uses.

llvm-svn: 49277


Revision tags: llvmorg-2.2.0
# f3ebc3f3 29-Dec-2007 Chris Lattner <sabre@nondot.org>

Remove attribution from file headers, per discussion on llvmdev.

llvm-svn: 45418


# e9665839 29-Dec-2007 Chris Lattner <sabre@nondot.org>

dead calls to llvm.stacksave can be deleted, even though they
have potential side-effects.

llvm-svn: 45392


Revision tags: llvmorg-2.1.0
# 6e853bc7 26-Jul-2007 Dan Gohman <gohman@apple.com>

Move the GET_SIDE_EFFECT_INFO logic from isInstructionTriviallyDead
to Instruction::mayWriteToMemory, fixing a FIXME, and helping
various places that call mayWriteToMemory directly.

llvm-svn: 40533


Revision tags: llvmorg-2.0.0
# 2ae054ad 30-Jan-2007 Chris Lattner <sabre@nondot.org>

move a bunch of constant folding code f rom Transforms/Utils/Local.cpp into
libanalysis/ConstantFolding.cpp.

llvm-svn: 33679


# 14789a92 30-Jan-2007 Chris Lattner <sabre@nondot.org>

remove now-dead code.

llvm-svn: 33678


# 2c4610e4 30-Jan-2007 Chris Lattner <sabre@nondot.org>

Change constant folding APIs to take an optional TargetData, and change
ConstantFoldInstOperands/ConstantFoldCall to take a pointer to an array
of operands + size, instead of an std::vector.

In some

Change constant folding APIs to take an optional TargetData, and change
ConstantFoldInstOperands/ConstantFoldCall to take a pointer to an array
of operands + size, instead of an std::vector.

In some cases, switch to using a SmallVector instead of a vector.
This allows us to get rid of some special case gross code that was there
to avoid the cost of constructing a vector.

llvm-svn: 33670

show more ...


# cddc9dfe 12-Jan-2007 Reid Spencer <rspencer@reidspencer.com>

Implement review feedback for the ConstantBool->ConstantInt merge. Chris
recommended that getBoolValue be replaced with getZExtValue and that
get(bool) be replaced by get(const Type*, uint64_t). This

Implement review feedback for the ConstantBool->ConstantInt merge. Chris
recommended that getBoolValue be replaced with getZExtValue and that
get(bool) be replaced by get(const Type*, uint64_t). This implements
those changes.

llvm-svn: 33110

show more ...


# 75b871fb 11-Jan-2007 Zhou Sheng <zhousheng00@gmail.com>

For PR1043:
Merge ConstantIntegral and ConstantBool into ConstantInt.
Remove ConstantIntegral and ConstantBool from LLVM.

llvm-svn: 33073


# 266e42b3 23-Dec-2006 Reid Spencer <rspencer@reidspencer.com>

For PR950:
This patch removes the SetCC instructions and replaces them with the ICmp
and FCmp instructions. The SetCondInst instruction has been removed and
been replaced with ICmpInst and FCmpInst.

For PR950:
This patch removes the SetCC instructions and replaces them with the ICmp
and FCmp instructions. The SetCondInst instruction has been removed and
been replaced with ICmpInst and FCmpInst.

llvm-svn: 32751

show more ...


# 6c38f0bb 27-Nov-2006 Reid Spencer <rspencer@reidspencer.com>

For PR950:
The long awaited CAST patch. This introduces 12 new instructions into LLVM
to replace the cast instruction. Corresponding changes throughout LLVM are
provided. This passes llvm-test, llvm/

For PR950:
The long awaited CAST patch. This introduces 12 new instructions into LLVM
to replace the cast instruction. Corresponding changes throughout LLVM are
provided. This passes llvm-test, llvm/test, and SPEC CPUINT2000 with the
exception of 175.vpr which fails only on a slight floating point output
difference.

llvm-svn: 31931

show more ...


Revision tags: llvmorg-1.9.0
# 61feeb90 08-Nov-2006 Jim Laskey <jlaskey@mac.com>

Remove redundant <cmath>.

llvm-svn: 31561


1...<<31323334353637