aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Utils
AgeCommit message (Expand)Author
2011-04-28Remove DbgDeclare only if all uses are converted.Devang Patel
2011-04-23Remove unused STL header includes.Jay Foad
2011-04-21PR9214: Convert Metadata API to use ArrayRef.Jay Foad
2011-04-19Trivial simplification.Jay Foad
2011-04-15Fix a ton of comment typos found by codespell. Patch byChris Lattner
2011-04-14rework FoldBranchToCommonDest to exit earlier when there is a bonusChris Lattner
2011-04-11comment cleanup, use moveBefore instead of removeFromParent+insertBefore.Chris Lattner
2011-04-11Don't include Operator.h from InstrTypes.h.Jay Foad
2011-04-07Do not let debug info interfer with branch folding.Devang Patel
2011-04-07While hoisting common code from if/else, hoist debug info intrinsics if they ...Devang Patel
2011-04-07Simplify. isIdenticalToWhenDefined() checks opcode.Devang Patel
2011-04-06While folding branch to a common destination into a predecessor, copy dbg val...Devang Patel
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-30Remove PHINode::reserveOperandSpace(). Instead, add a parameter toJay Foad
2011-03-30(Almost) always call reserveOperandSpace() on newly created PHINodes.Jay Foad
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