aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBasicBlock.cpp
AgeCommit message (Expand)AuthorFilesLines
2010-08-19Properly update MachineDominators when splitting critical edge.Evan Cheng1-2/+25
2010-08-17Move the decision logic whether it's a good idea to split a critical edge to ...Evan Cheng1-9/+1
2010-08-17Fix debug message.Evan Cheng1-1/+1
2010-08-17PHI elimination should not break back edge. It can cause some significant cod...Evan Cheng1-2/+9
2010-07-07Add a getFirstNonPHI utility function.Dan Gohman1-0/+7
2010-07-06Reapply r107655 with fixes; insert the pseudo instruction intoDan Gohman1-5/+25
2010-07-06Revert r107655.Dan Gohman1-25/+5
2010-07-06Fix a bunch of custom-inserter functions to handle the case whereDan Gohman1-5/+25
2010-06-22Move PHIElimination's SplitCriticalEdge for MachineBasicBlocks outDan Gohman1-0/+79
2010-06-17Add a DebugLoc parameter to TargetInstrInfo::InsertBranch(). ThisStuart Hastings1-6/+7
2010-04-13Eliminate MachineBasicBlock::const_livein_iterator and makeDan Gohman1-4/+5
2010-04-01Reapply r100056. It doesn't look like it's the one that's causing a failure.Bill Wendling1-35/+23
2010-03-31Revert r100056. It was causing a failure on MSVC.Bill Wendling1-23/+35
2010-03-31Rewrite CorrectExtraCFGEdges() to make it more understandable.Bill Wendling1-35/+23
2010-03-30Rip out the 'is temporary' nonsense from the MCContext interface toChris Lattner1-3/+3
2010-03-13eliminate the now-unneeded context argument of MBB::getSymbol()Chris Lattner1-2/+3
2010-03-10set the temporary bit on MCSymbols correctly.Chris Lattner1-5/+4
2010-02-17move isOnlyReachableByFallthrough out of MachineBasicBlock into AsmPrinter,Chris Lattner1-30/+0
2010-02-10Fix comments to reflect renaming elsewhere.Dale Johannesen1-1/+1
2010-02-09move target-independent opcodes out of TargetInstrInfoChris Lattner1-2/+1
2010-01-26add a new MachineBasicBlock::getSymbol method, replacingChris Lattner1-1/+16
2010-01-20make findDebugLoc a class methodDale Johannesen1-9/+11
2010-01-20Move findDebugLoc somewhere more central. FixDale Johannesen1-0/+17
2010-01-15Don't make changes to the MBB in MachineBasicBlock::canFallThrough().Jakob Stoklund Olesen1-1/+1
2010-01-04Change errs() to dbgs().David Greene1-1/+2
2009-12-16Helpful comment added. Some code cleanup. No functional change.Bill Wendling1-11/+27
2009-12-15Revert these. They may have been causing 483_xalancbmk to fail:Bill Wendling1-29/+7
2009-12-14Whitespace changes, comment clarification. No functional changes.Bill Wendling1-3/+3
2009-12-11Don't try to move a MBB into the fall-through position if it's a landing pad orBill Wendling1-10/+3
2009-12-11Revert part of r91101 which was causing an infinite loop in the self-hostingBill Wendling1-3/+8
2009-12-11Address comments on last patch:Bill Wendling1-13/+8
2009-12-11A machine basic block may end in an unconditional branch, however it may haveBill Wendling1-7/+36
2009-12-05Simplify this code: don't call AnalyzeBranch before doing simpler checks.Dan Gohman1-13/+13
2009-12-03improve portability to avoid conflicting with std::next in c++'0x.Chris Lattner1-3/+4
2009-11-26Split tail duplication into a separate pass. This is needed to avoidBob Wilson1-0/+45
2009-11-22Teach MachineBasicBlock::updateTerminator() to handle a failing TII->ReverseB...Jakob Stoklund Olesen1-2/+8
2009-11-20Add MachineBasicBlock::getName, and use it in place of getBasicBlock()->getName.Jakob Stoklund Olesen1-0/+7
2009-11-17Add a WriteAsOperand for MachineBasicBlock so MachineLoopInfo dump looks sane.Evan Cheng1-0/+5
2009-11-12Move the utility function UpdateTerminator() from CodePlacementOpt() intoJim Grosbach1-0/+53
2009-11-11Add support for tail duplication to BranchFolding, and extendDan Gohman1-4/+1
2009-10-31Make -print-machineinstrs more readable.Dan Gohman1-13/+18
2009-10-30Mention if a block has its address taken in debug output.Dan Gohman1-0/+1
2009-10-30Initial target-independent CodeGen support for BlockAddresses.Dan Gohman1-1/+2
2009-08-23remove std::ostream versions of printing stuff for MBB and MF,Chris Lattner1-10/+1
2009-08-23remove dead PrefixPrinter class.Chris Lattner1-6/+4
2009-08-23random cleanups.Chris Lattner1-25/+24
2009-08-18fix another bozo bugChris Lattner1-2/+2
2009-08-18fix accidentally inverted conditional and add comment.Chris Lattner1-1/+4
2009-08-18turn this conditional into something humans might actuallyChris Lattner1-8/+25
2009-08-03Re-apply LiveInterval index dumping patch, with fixes suggested by BillDavid Greene1-4/+6