aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/BranchFolding.cpp
AgeCommit message (Expand)Author
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
2009-10-27Record CodeGen optimization level in the BranchFolding pass so that we canBob Wilson
2009-10-22Revert the main portion of r31856. It was causing BranchFoldingDan Gohman
2009-09-04Run branch folding if if-converter make some transformations.Evan Cheng
2009-09-03Funky indentation.Evan Cheng
2009-08-22Convert DOUT to DEBUG(errs()...).Bill Wendling
2009-08-18Make tail merging handle blocks with repeated predecessors correctly, andDan Gohman
2009-08-07Rewrite previous patch to follow Chris' stylisticDale Johannesen
2009-08-06Fix PR 4626, a crash in branch folding after OptimizeBlockDale Johannesen
2009-07-14llvm_unreachable->llvm_unreachable(0), LLVM_UNREACHABLE->llvm_unreachable.Torok Edwin
2009-07-11assert(0) -> LLVM_UNREACHABLE.Torok Edwin
2009-05-11Fix PR4188. TailMerging can't tolerate inexactDale Johannesen
2009-02-09Turns out AnalyzeBranch can modify the mbb being analyzed. This is a nastyEvan Cheng
2009-01-28Rename getAnalysisToUpdate to getAnalysisIfAvailable.Duncan Sands
2009-01-08Delete unnecessary parens around return values.Dan Gohman
2008-12-10Add a newline after this debug output.Bill Wendling
2008-12-03Add a sanity-check to tablegen to catch the case where isSimpleLoadDan Gohman
2008-10-27Increase default setting of tail-merge-threshold toDale Johannesen
2008-10-03Switch the MachineOperand accessors back to the short names likeDan Gohman
2008-09-22Mark several codegen passes as preserving all analysis.Evan Cheng