aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/BranchFolding.cpp
AgeCommit message (Expand)Author
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
2008-09-13Remove isImm(), isReg(), and friends, in favor of Dan Gohman
2008-09-04Tidy up several unbeseeming casts from pointer to intptr_t.Dan Gohman
2008-08-22Fix SmallVector's size calculation so that a size of 0 isDan Gohman
2008-08-14Convert uses of std::vector in TargetInstrInfo to SmallVector. This change h...Owen Anderson
2008-07-29Fix PR2609. If a label is deleted, then it needsDuncan Sands
2008-07-07Pool-allocation for MachineInstrs, MachineBasicBlocks, andDan Gohman
2008-07-01Fix longstanding thinko: don't excludeDale Johannesen
2008-07-01Split ISD::LABEL into ISD::DBG_LABEL and ISD::EH_LABEL, eliminatingDan Gohman
2008-06-19Use the transferSuccessors helper function.Dan Gohman
2008-05-23Rewrite a loop to avoid using iterators pointing toDale Johannesen
2008-05-13Clean up the use of static and anonymous namespaces. This turned upDan Gohman
2008-05-12Be more aggressive about tail-merging small blocksDale Johannesen
2008-05-12Further rework of tail merge algorithm. Not quiteDale Johannesen
2008-05-09Remove an evil vector bool. Cosmetic refactoring,Dale Johannesen
2008-05-09Rewrite tail merging algorithm to handle theDale Johannesen
2008-05-06Make several variable declarations static.Dan Gohman
2008-04-10Teach branch folding pass about implicit_def instructions. Unfortunately we c...Evan Cheng
2008-02-28Add a quick and dirty "loop aligner pass". x86 uses it to align its loops to ...Evan Cheng