aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/BranchFolding.cpp
AgeCommit message (Expand)Author
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
2009-11-12Make the BranchFolderPass class local to BranchFolding.cpp.Dan Gohman
2009-11-12Minor code cleanups.Dan Gohman
2009-11-12Tail merge at any size when there are two potentials blocks and oneDan Gohman
2009-11-11Promote MergePotentialsElt and SameTailElt to be regular classesDan Gohman
2009-11-11Revert this line of 86871.Dan Gohman
2009-11-11Add support for tail duplication to BranchFolding, and extendDan Gohman
2009-11-11Fix indentation level.Dan Gohman
2009-11-11Whitespace cleanups.Dan Gohman
2009-11-11Prefix MBB numbers with "BB#" in debug output to make it clear whatDan Gohman
2009-11-11Minor code simplification.Dan Gohman
2009-11-10Remove an unused variable.Dan Gohman
2009-11-10Minor code simplification.Dan Gohman
2009-11-03Fix branch folding bug for indirect branches: for a block containing onlyBob Wilson
2009-10-30Don't delete blocks which have their address taken.Dan Gohman
2009-10-29Refactor complicated predicate into a separate function.Bob Wilson
2009-10-28Reimplement BranchFolding change to avoid tail merging for a 1 instructionBob Wilson
2009-10-28Revert r85346 change to control tail merging by CodeGenOpt::Level.Bob Wilson