aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/BranchFolding.cpp
AgeCommit message (Expand)AuthorFilesLines
2010-08-06Reapply r110396, with fixes to appease the Linux buildbot gods.Owen Anderson1-1/+1
2010-08-06Revert r110396 to fix buildbots.Owen Anderson1-1/+1
2010-08-05Don't use PassInfo* as a type identifier for passes. Instead, use the addres...Owen Anderson1-1/+1
2010-06-22Tail merging pass shall not break up IT blocks. rdar://8115404Evan Cheng1-5/+18
2010-06-18Allow ARM if-converter to be run after post allocation scheduling.Evan Cheng1-16/+2
2010-06-17Add a DebugLoc parameter to TargetInstrInfo::InsertBranch(). ThisStuart Hastings1-13/+18
2010-05-03Fix a bug which prevented tail merging of return instructions inDan Gohman1-24/+5
2010-04-02Teach AnalyzeBranch, RemoveBranch and the branchDale Johannesen1-3/+9
2010-03-19Stop trying to merge identical jump tables. This had been inadvertentlyBob Wilson1-28/+6
2010-03-16Remove a check that can no longer be true, after r84803.Bob Wilson1-16/+0
2010-03-14eliminate InvalidateLabel and LabelIDList from MMI and replaceChris Lattner1-11/+0
2010-03-10Fix another place where DEBUG_VALUE affected codegen.Dale Johannesen1-1/+12
2010-03-10This survived a bootstrap, so let's try 98104 again.Dale Johannesen1-4/+69
2010-03-10Speculatively revert 98104; could be what's causing crashesDale Johannesen1-56/+3
2010-03-09Ever more complicated DEBUG_VALUE fixes for branch folding.Dale Johannesen1-3/+56
2010-03-08Fix dbg value handling in tail merging.Dale Johannesen1-3/+25
2010-03-05Fix some more places where dbg_value affected codegen.Dale Johannesen1-1/+5
2010-02-09move target-independent opcodes out of TargetInstrInfoChris Lattner1-2/+2
2010-01-25Rearrange handling of jump tables. Highlights:Chris Lattner1-44/+49
2009-12-24Change errs() to dbgs().David Greene1-13/+13
2009-12-16Initialize uninitialized variables.Bill Wendling1-1/+1
2009-12-16Initialize uninitialized variables.Bill Wendling1-1/+1
2009-12-15Revert these. They may have been causing 483_xalancbmk to fail:Bill Wendling1-23/+19
2009-12-11Don't try to move a MBB into the fall-through position if it's a landing pad orBill Wendling1-19/+23
2009-12-05Remove the target hook TargetInstrInfo::BlockHasNoFallThrough in favor ofDan Gohman1-1/+1
2009-12-03improve portability to avoid conflicting with std::next in c++'0x.Chris Lattner1-4/+4
2009-11-26Split tail duplication into a separate pass. This is needed to avoidBob Wilson1-231/+6
2009-11-24Refactor target hook for tail duplication as requested by Chris.Bob Wilson1-3/+12
2009-11-18There should be no need to keep renumbering blocks during tail duplication.Bob Wilson1-3/+0
2009-11-18Tail duplication still needs to iterate. Duplicating new instructions ontoBob Wilson1-3/+7
2009-11-18Add another statistic to measure code size due to tail duplication.Bob Wilson1-0/+3
2009-11-18Add statistics for tail duplication.Bob Wilson1-0/+4
2009-11-18Add a target hook to allow changing the tail duplication limit based on theBob Wilson1-4/+5
2009-11-17Remove a special case for tail merging that seems to be both broken andBob Wilson1-33/+0
2009-11-17Set MadeChange instead of MadeChangeThisIteration.Dan Gohman1-1/+1
2009-11-17Update a comment, now that tail duplication happens after other branchBob Wilson1-2/+2
2009-11-17Perform tail duplication only once, after tail merging is complete.Bob Wilson1-30/+66
2009-11-16Fix a comment.Bob Wilson1-1/+1
2009-11-16Fix some comments.Bob Wilson1-5/+4
2009-11-16Whitespace: be consistent with pointer syntax.Bob Wilson1-6/+6
2009-11-16Clean up whitespace.Bob Wilson1-6/+6
2009-11-13When optimizing for size, don't tail-merge unless it's likely to be aDan Gohman1-9/+12
2009-11-12Make the BranchFolderPass class local to BranchFolding.cpp.Dan Gohman1-0/+14
2009-11-12Minor code cleanups.Dan Gohman1-9/+9
2009-11-12Tail merge at any size when there are two potentials blocks and oneDan Gohman1-10/+34
2009-11-11Promote MergePotentialsElt and SameTailElt to be regular classesDan Gohman1-56/+58
2009-11-11Revert this line of 86871.Dan Gohman1-1/+1
2009-11-11Add support for tail duplication to BranchFolding, and extendDan Gohman1-49/+295
2009-11-11Fix indentation level.Dan Gohman1-8/+8
2009-11-11Whitespace cleanups.Dan Gohman1-93/+92