aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/BranchFolding.cpp
AgeCommit message (Expand)Author
2011-05-12Update comment.Evan Cheng
2011-05-12Re-enable branchfolding common code hoisting optimization. Fixed a liveness t...Evan Cheng
2011-05-12Temporarily disable the transformation. It's breaking 186.crafty in some conf...Evan Cheng
2011-05-12Re-commit 131172 with fix. MachineInstr identity checks should check deadEvan Cheng
2011-05-11Revert 131172 as it is causing clang to miscompile itself. I will tryRafael Espindola
2011-05-11Add a late optimization to BranchFolding that hoist common instruction sequencesEvan Cheng
2011-04-22Branch folding is folding a landing pad into a regular BB.Bill Wendling
2011-02-21Add more debugging output.Evan Cheng
2010-08-06Reapply r110396, with fixes to appease the Linux buildbot gods.Owen Anderson
2010-08-06Revert r110396 to fix buildbots.Owen Anderson
2010-08-05Don't use PassInfo* as a type identifier for passes. Instead, use the addres...Owen Anderson
2010-06-22Tail merging pass shall not break up IT blocks. rdar://8115404Evan Cheng
2010-06-18Allow ARM if-converter to be run after post allocation scheduling.Evan Cheng
2010-06-17Add a DebugLoc parameter to TargetInstrInfo::InsertBranch(). ThisStuart Hastings
2010-05-03Fix a bug which prevented tail merging of return instructions inDan Gohman
2010-04-02Teach AnalyzeBranch, RemoveBranch and the branchDale Johannesen
2010-03-19Stop trying to merge identical jump tables. This had been inadvertentlyBob Wilson
2010-03-16Remove a check that can no longer be true, after r84803.Bob Wilson
2010-03-14eliminate InvalidateLabel and LabelIDList from MMI and replaceChris Lattner
2010-03-10Fix another place where DEBUG_VALUE affected codegen.Dale Johannesen
2010-03-10This survived a bootstrap, so let's try 98104 again.Dale Johannesen
2010-03-10Speculatively revert 98104; could be what's causing crashesDale Johannesen
2010-03-09Ever more complicated DEBUG_VALUE fixes for branch folding.Dale Johannesen
2010-03-08Fix dbg value handling in tail merging.Dale Johannesen
2010-03-05Fix some more places where dbg_value affected codegen.Dale Johannesen
2010-02-09move target-independent opcodes out of TargetInstrInfoChris Lattner
2010-01-25Rearrange handling of jump tables. Highlights:Chris Lattner
2009-12-24Change errs() to dbgs().David Greene
2009-12-16Initialize uninitialized variables.Bill Wendling
2009-12-16Initialize uninitialized variables.Bill Wendling
2009-12-15Revert these. They may have been causing 483_xalancbmk to fail:Bill Wendling
2009-12-11Don't try to move a MBB into the fall-through position if it's a landing pad orBill Wendling
2009-12-05Remove the target hook TargetInstrInfo::BlockHasNoFallThrough in favor ofDan Gohman
2009-12-03improve portability to avoid conflicting with std::next in c++'0x.Chris Lattner
2009-11-26Split tail duplication into a separate pass. This is needed to avoidBob Wilson
2009-11-24Refactor target hook for tail duplication as requested by Chris.Bob Wilson
2009-11-18There should be no need to keep renumbering blocks during tail duplication.Bob Wilson
2009-11-18Tail duplication still needs to iterate. Duplicating new instructions ontoBob Wilson
2009-11-18Add another statistic to measure code size due to tail duplication.Bob Wilson
2009-11-18Add statistics for tail duplication.Bob Wilson
2009-11-18Add a target hook to allow changing the tail duplication limit based on theBob Wilson
2009-11-17Remove a special case for tail merging that seems to be both broken andBob Wilson
2009-11-17Set MadeChange instead of MadeChangeThisIteration.Dan Gohman
2009-11-17Update a comment, now that tail duplication happens after other branchBob Wilson
2009-11-17Perform tail duplication only once, after tail merging is complete.Bob Wilson
2009-11-16Fix a comment.Bob Wilson
2009-11-16Fix some comments.Bob Wilson
2009-11-16Whitespace: be consistent with pointer syntax.Bob Wilson
2009-11-16Clean up whitespace.Bob Wilson
2009-11-13When optimizing for size, don't tail-merge unless it's likely to be aDan Gohman