summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineBasicBlock.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add #include <iostream> since Value.h does not #include it any more.Reid Spencer2004-07-041-0/+1
| | | | llvm-svn: 14622
* Change MBB autonumber a bit to get the reverse mapping as well as a forwardChris Lattner2004-07-011-10/+6
| | | | | | mapping llvm-svn: 14521
* Made a fix so that you can print out MachineInstrs that belong to a ↵Tanya Lattner2004-06-251-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
* Make debugging dumps w/ multiple MachineBBs for a given LLVM BB readable.Brian Gaeke2004-06-171-1/+2
| | | | llvm-svn: 14205
* Adjust to new TargetMachine interfaceChris Lattner2004-06-021-1/+1
| | | | llvm-svn: 13956
* Moved MachineBasicBlock deconstructor to cpp file and removed it from ↵Tanya Lattner2004-05-241-2/+8
| | | | | | LeakDetector to fix memory leak bug. llvm-svn: 13718
* Added MachineFunction parent* to MachineBasicBlock. Customized ilist templateTanya Lattner2004-05-241-14/+15
| | | | | | to set the parent when a MachineBasicBlock is added to a MachineFunction. llvm-svn: 13716
* Eliminate an explicit use of the LLVM basic block, using getParent instead,Chris Lattner2004-05-241-1/+1
| | | | | | which simplifies the code llvm-svn: 13707
* Add non-const MachineBasicBlock::getParent() accessor method.Brian Gaeke2004-05-121-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
* Use MachineBasicBlock::getParent().Alkis Evlogimenos2004-02-231-2/+1
| | | | llvm-svn: 11756
* Refactor rewinding code for finding the first terminator of a basicAlkis Evlogimenos2004-02-231-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
* Add a MachineBasicBlock::getParent() methodChris Lattner2004-02-191-3/+7
| | | | llvm-svn: 11622
* Add LeakDetection to MachineInstr.Alkis Evlogimenos2004-02-161-0/+68
| | | | | | | Move out of line member functions of MachineBasicBlock to MachineBasicBlock.cpp. llvm-svn: 11497
* Change MachineBasicBlock's to not be Annotations, instead they are kept asChris Lattner2002-10-281-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
* Rename MachineCodeForBasicBlock to MachineBasicBlockChris Lattner2002-10-281-2/+2
| | | | llvm-svn: 4318
* Inline some methods from .cpp files into .h files, minor cleanupsChris Lattner2002-10-281-9/+4
| | | | llvm-svn: 4313
* Updates to match misha's changesChris Lattner2002-10-281-3/+3
| | | | llvm-svn: 4302
* Implementation of class MachineCodeForBasicBlock.Vikram S. Adve2002-07-081-0/+28
Moved here from MachineInstr.cpp to make it an annotation on BasicBlock. llvm-svn: 2827
OpenPOWER on IntegriCloud