aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBasicBlock.cpp
AgeCommit message (Collapse)AuthorFilesLines
2007-02-19For PR1207:Reid Spencer1-7/+1
Revert patches that caused the problem. Evan, please investigate and reapply when you've discovered the problem. llvm-svn: 34399
2007-02-17Added removeLiveIn.Evan Cheng1-1/+7
llvm-svn: 34381
2007-02-10Add live-ins to MachineBasicBlock.Evan Cheng1-1/+22
llvm-svn: 34111
2006-12-16The best unbreakage yet, addressing Bill's concerns.Jeff Cohen1-5/+0
llvm-svn: 32622
2006-12-15An even better unbreakage...Jeff Cohen1-0/+5
llvm-svn: 32617
2006-12-07Removed more <iostream> includesBill Wendling1-2/+1
llvm-svn: 32321
2006-11-27Change MachineInstr ctor's to take a TargetInstrDescriptor reference insteadEvan Cheng1-1/+1
of opcode and number of operands. llvm-svn: 31947
2006-11-18Implement operator<< for machine basic blocks to make it easier to dump them.Chris Lattner1-0/+4
llvm-svn: 31857
2006-10-24add moveBefore/moveAfter helper methodsChris Lattner1-0/+12
llvm-svn: 31145
2006-10-06print labels even if a MBB doesn't have a corresponding LLVM BB, just don'tChris Lattner1-3/+4
print the LLVM BB label. llvm-svn: 30775
2006-10-06MachineBasicBlock::splice was incorrectly updating parent pointers onChris Lattner1-3/+3
instructions. llvm-svn: 30760
2006-10-03Print the MBB ID # along with the bb tag in the -print-machine-instrs output.Chris Lattner1-1/+1
llvm-svn: 30708
2006-09-26print the preds of each MBBChris Lattner1-0/+8
llvm-svn: 30606
2006-05-12Refactor a bunch of includes so that TargetMachine.h doesn't have to includeOwen Anderson1-0/+1
TargetData.h. This should make recompiles a bit faster with my current TargetData tinkering. llvm-svn: 28238
2006-05-04Remove and simplify some more machineinstr/machineoperand stuff.Chris Lattner1-1/+1
llvm-svn: 28105
2006-05-04Remove a bunch more dead V9 specific stuffChris Lattner1-1/+1
llvm-svn: 28094
2005-04-21Remove trailing whitespaceMisha Brukman1-1/+1
llvm-svn: 21420
2005-04-01print the machine CFG in the -print-machineinstrs dumpChris Lattner1-0/+8
llvm-svn: 20976
2005-01-30Improve conformance with the Misha spelling benchmark suiteChris Lattner1-1/+1
llvm-svn: 19930
2005-01-29adjust to ilist changes.Chris Lattner1-1/+1
llvm-svn: 19924
2004-10-26Move method bodies that depend on <algorithm> from MBB.h to MBB.cppChris Lattner1-14/+38
llvm-svn: 17253
2004-09-05Indent to 2 spaces.Alkis Evlogimenos1-26/+27
llvm-svn: 16187
2004-09-01Changes For Bug 352Reid Spencer1-1/+1
Move include/Config and include/Support into include/llvm/Config, include/llvm/ADT and include/llvm/Support. From here on out, all LLVM public header files must be under include/llvm/. llvm-svn: 16137
2004-07-04Add #include <iostream> since Value.h does not #include it any more.Reid Spencer1-0/+1
llvm-svn: 14622
2004-07-01Change MBB autonumber a bit to get the reverse mapping as well as a forwardChris Lattner1-10/+6
mapping llvm-svn: 14521
2004-06-25Made a fix so that you can print out MachineInstrs that belong to a ↵Tanya Lattner1-1/+1
MachineBasicBlock that is not yet attached to a MachineFunction. This change includes changing the third operand (TargetMachine) to a pointer for the MachineInstr::print function. llvm-svn: 14389
2004-06-17Make debugging dumps w/ multiple MachineBBs for a given LLVM BB readable.Brian Gaeke1-1/+2
llvm-svn: 14205
2004-06-02Adjust to new TargetMachine interfaceChris Lattner1-1/+1
llvm-svn: 13956
2004-05-24Moved MachineBasicBlock deconstructor to cpp file and removed it from ↵Tanya Lattner1-2/+8
LeakDetector to fix memory leak bug. llvm-svn: 13718
2004-05-24Added MachineFunction parent* to MachineBasicBlock. Customized ilist templateTanya Lattner1-14/+15
to set the parent when a MachineBasicBlock is added to a MachineFunction. llvm-svn: 13716
2004-05-24Eliminate an explicit use of the LLVM basic block, using getParent instead,Chris Lattner1-1/+1
which simplifies the code llvm-svn: 13707
2004-05-12Add non-const MachineBasicBlock::getParent() accessor method.Brian Gaeke1-0/+19
MBBs start out as #-1. When a MBB is added to a MachineFunction, it gets the next available unique MBB number. If it is removed from a MachineFunction, it goes back to being #-1. llvm-svn: 13514
2004-02-23Use MachineBasicBlock::getParent().Alkis Evlogimenos1-2/+1
llvm-svn: 11756
2004-02-23Refactor rewinding code for finding the first terminator of a basicAlkis Evlogimenos1-0/+12
block into MachineBasicBlock::getFirstTerminator(). This also fixes a bug in the implementation of the above in both RegAllocLocal and InstrSched, where instructions where added after the terminator if the basic block's only instruction was a terminator (it shouldn't matter for RegAllocLocal since this case never occurs in practice). llvm-svn: 11748
2004-02-19Add a MachineBasicBlock::getParent() methodChris Lattner1-3/+7
llvm-svn: 11622
2004-02-16Add LeakDetection to MachineInstr.Alkis Evlogimenos1-0/+68
Move out of line member functions of MachineBasicBlock to MachineBasicBlock.cpp. llvm-svn: 11497
2002-10-28Change MachineBasicBlock's to not be Annotations, instead they are kept asChris Lattner1-23/+0
part of a linked list tracked by MachineFunction. MachineBasicBlock::get is now linear time instead of constant time, and thus is deprecated! llvm-svn: 4337
2002-10-28Rename MachineCodeForBasicBlock to MachineBasicBlockChris Lattner1-2/+2
llvm-svn: 4318
2002-10-28Inline some methods from .cpp files into .h files, minor cleanupsChris Lattner1-9/+4
llvm-svn: 4313
2002-10-28Updates to match misha's changesChris Lattner1-3/+3
llvm-svn: 4302
2002-07-08Implementation of class MachineCodeForBasicBlock.Vikram S. Adve1-0/+28
Moved here from MachineInstr.cpp to make it an annotation on BasicBlock. llvm-svn: 2827