aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Utils
AgeCommit message (Expand)Author
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-15Clean up something noticed by Fritz.Cameron Zwarich
2011-03-15Do not add PHIs with no users when creating LCSSA form. Patch by Andrew Clinton.Cameron Zwarich
2011-03-15PR9450: Make switch optimization in SimplifyCFG not dependent on the orderingEli Friedman
2011-03-09PR9420; an instruction before an unreachable is guaranteed not to have anyEli Friedman
2011-03-04DenseMap<uintptr_t,...> doesn't allow all values as keys.Jakob Stoklund Olesen
2011-02-28Teach SimplifyCFG that (switch (select cond, X, Y)) is better expressed as a ...Frits van Bommel
2011-02-25Revert "SimplifyCFG: GEPs with just one non-constant index are also cheap."Benjamin Kramer
2011-02-24SimplifyCFG: GEPs with just one non-constant index are also cheap.Benjamin Kramer
2011-02-24SimplifyCFG: GEPs with constant indices are cheap enough to be executed uncon...Benjamin Kramer
2011-02-24Do not use DIFactory. Use DIBuilder.Devang Patel
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-02-18Don't unroll loops whose header block's address is taken.Chris Lattner
2011-02-10Rename 'loopsimplify' to 'loop-simplify'.Cameron Zwarich
2011-02-07SimplifyCFG: Track the number of used icmps when turning a icmp chain into a ...Benjamin Kramer
2011-02-03SimplifyCFG: Also transform switches that represent a range comparison but ar...Benjamin Kramer
2011-02-02SimplifyCFG: Turn switches into sub+icmp+branch if possible.Benjamin Kramer
2011-01-29Re-apply r124518 with fix. Watch out for invalidated iterator.Evan Cheng
2011-01-29Revert r124518. It broke Linux self-host.Evan Cheng
2011-01-29Re-commit r124462 with fixes. Tail recursion elim will now dup ret into uncon...Evan Cheng
2011-01-28Revert r124462. There are a few big regressions that I need to fix first.Evan Cheng
2011-01-28- Stop simplifycfg from duplicating "ret" instructions into unconditionalEvan Cheng
2011-01-24fix PR9017, a bug where we'd assert when promoting in unreachableChris Lattner
2011-01-24fix PR9015, a crash linking recursive metadata.Chris Lattner
2011-01-23Convert two std::vectors to SmallVectors for a 3.4% speedup running -scalarreplCameron Zwarich
2011-01-18Convert a std::map to a DenseMap for another 1.7% speedup on -scalarrepl.Cameron Zwarich
2011-01-18Make a std::vector a SmallVector<*, 32> like the other vectors in the sameCameron Zwarich
2011-01-18Remove code for updating dominance frontiers and some outdated references toCameron Zwarich
2011-01-18Remove outdated references to dominance frontiers.Cameron Zwarich
2011-01-17Roll r123609 back in with two changes that fix test failures with expensiveCameron Zwarich
2011-01-17Roll out r123609 due to failures on the llvm-x86_64-linux-checks bot.Cameron Zwarich
2011-01-17Eliminate the use of dominance frontiers in PromoteMemToReg. In addition toCameron Zwarich
2011-01-15Generalize LoadAndStorePromoter a bit and switch LICMChris Lattner
2011-01-14Add a new LoadAndStorePromoter class, which implements the generalChris Lattner
2011-01-14indentationChris Lattner
2011-01-11Fix a non-deterministic loop in llvm::MergeBlockIntoPredecessor.Jakob Stoklund Olesen
2011-01-11this pass claims to preserve scev, make sure to tell it about deletions.Chris Lattner
2011-01-11Factor the actual simplification out of SimplifyIndirectBrOnSelect and into a...Frits van Bommel
2011-01-11when MergeBlockIntoPredecessor merges two blocks, update MemDep if itChris Lattner
2011-01-11Fix FoldSingleEntryPHINodes to update memdep and AA when it deletesChris Lattner
2011-01-11random cleanupsChris Lattner
2011-01-08various code cleanups, enhance MergeBlockIntoPredecessor to preserveChris Lattner