aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Utils/Local.cpp
AgeCommit message (Expand)Author
2011-05-22Add a parameter to ConstantFoldTerminator() that callers can use to ask it to...Frits van Bommel
2011-05-18fix typoMatt Beaumont-Gay
2011-05-18Use IRBuiler while constant folding terminator.Devang Patel
2011-05-16Preserve debug info for unused zero extended boolean argument.Devang Patel
2011-04-28Remove DbgDeclare only if all uses are converted.Devang Patel
2011-04-19Trivial simplification.Jay Foad
2011-04-11Don't include Operator.h from InstrTypes.h.Jay Foad
2011-04-04Attempt to fix breakage from r128782 reported by Francois Pichet onEli Friedman
2011-04-02PR9446: RecursivelyDeleteTriviallyDeadInstructions can delete the instructionEli Friedman
2011-03-21Simplify.Devang Patel
2011-03-18If an AllocaInst referred by DbgDeclareInst is used by a LoadInst then the Lo...Devang Patel
2011-03-18Remove dead code.Devang Patel
2011-03-18Consider debug info intrinsics pointing to null value as dead instructions.Devang Patel
2011-03-17Try to not lose variable's debug info during instcombine.Devang Patel
2011-03-17Refactor into a separate utility function.Devang Patel
2011-03-04DenseMap<uintptr_t,...> doesn't allow all values as keys.Jakob Stoklund Olesen
2011-02-21If the phi node was used by an unreachable instruction that ends up usingDuncan Sands
2011-02-21Simplify RecursivelyDeleteDeadPHINode. The only functionality changeDuncan Sands
2011-02-20Make RecursivelyDeleteDeadPHINode delete a phi node that has no users and add aNick Lewycky
2011-02-20Teach RecursivelyDeleteDeadPHINodes to handle multiple self-references. PatchNick Lewycky
2011-01-08Make more passes preserve dominators (or state that they preserve dominators ifCameron Zwarich
2011-01-07Remove all uses of the "ugly" method BranchInst::setUnconditionalDest().Jay Foad
2010-12-30Make a bunch of symbols internal.Benjamin Kramer
2010-12-25don't lose TD infoChris Lattner
2010-12-25Move getOrEnforceKnownAlignment out of instcombine into Transforms/Utils.Chris Lattner
2010-11-30remove the pointless check of MemoryUseIntrinsic fromChris Lattner
2010-11-17Have RemovePredecessorAndSimplify you SimplifyInstructionDuncan Sands
2010-08-14Teach SimplifyCFG how to simplify indirectbr instructions.Dan Gohman
2010-07-15make various clients of ReplaceAndSimplifyAllUses tolerate Chris Lattner
2010-07-12cache dereferenced iteratorsGabor Greif
2010-05-28Move FindAvailableLoadedValue isSafeToLoadUnconditionally out ofDan Gohman
2010-02-16There are two ways of checking for a given type, for example isa<PointerType>(T)Duncan Sands
2010-02-15fix PR6305 by handling BlockAddress in a helper functionChris Lattner
2010-02-01Fix pr6198 by moving the isSized() check to an outer conditional.Bob Wilson
2010-01-30Check alignment of loads when deciding whether it is safe to execute themBob Wilson
2010-01-29Use uint64_t instead of unsigned for offsets and sizes.Bob Wilson
2010-01-29Improve isSafeToLoadUnconditionally to recognize that GEPs with constantBob Wilson
2010-01-21DbgInfoIntrinsics no longer appear in an instruction's use list; so clean up ...Victor Hernandez
2010-01-12add a helper function.Chris Lattner
2010-01-05Nick Lewycky pointed out that this code makes changes unconditionally.Dan Gohman
2010-01-05Use do+while instead of while for loops which obviously have aDan Gohman
2010-01-05Make RecursivelyDeleteTriviallyDeadInstructions,Dan Gohman
2010-01-05Change errs() to dbgs().David Greene
2009-12-29prune #includes.Chris Lattner
2009-12-02Move EliminateDuplicatePHINodes() from SimplifyCFG.cpp to Local.cppJim Grosbach
2009-11-11Don't trivially delete unused calls to llvm.invariant.start. This allowsDuncan Sands
2009-11-10move some generally useful functions out of jump threadingChris Lattner
2009-11-10refactor TryToSimplifyUncondBranchFromEmptyBlock out of SimplifyCFG.Chris Lattner
2009-11-03remove a isFreeCall check: it is a callinst that can write to memory already.Chris Lattner
2009-11-01constant fold indirectbr(blockaddress(%bb)) -> br label %bb.Chris Lattner