eb04d9bcb4 
								
							 
						 
						
							
							
								
								Add #include <iostream> since Value.h does not #include it any more.  
							
							... 
							
							
							
							llvm-svn: 14622 
							
						 
						
							2004-07-04 12:19:56 +00:00  
				
					
						
							
							
								 
						
							
								449af59c7e 
								
							 
						 
						
							
							
								
								Change MBB autonumber a bit to get the reverse mapping as well as a forward  
							
							... 
							
							
							
							mapping
llvm-svn: 14521 
							
						 
						
							2004-07-01 06:02:27 +00:00  
				
					
						
							
							
								 
						
							
								23dbc8170c 
								
							 
						 
						
							
							
								
								Made a fix so that you can print out MachineInstrs that belong to a 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-25 00:13:11 +00:00  
				
					
						
							
							
								 
						
							
								4300ca9d32 
								
							 
						 
						
							
							
								
								Make debugging dumps w/ multiple MachineBBs for a given LLVM BB readable.  
							
							... 
							
							
							
							llvm-svn: 14205 
							
						 
						
							2004-06-17 22:26:53 +00:00  
				
					
						
							
							
								 
						
							
								2150542af9 
								
							 
						 
						
							
							
								
								Adjust to new TargetMachine interface  
							
							... 
							
							
							
							llvm-svn: 13956 
							
						 
						
							2004-06-02 05:57:12 +00:00  
				
					
						
							
							
								 
						
							
								91fa3a9908 
								
							 
						 
						
							
							
								
								Moved MachineBasicBlock deconstructor to cpp file and removed it from LeakDetector to fix memory leak bug.  
							
							... 
							
							
							
							llvm-svn: 13718 
							
						 
						
							2004-05-24 07:14:35 +00:00  
				
					
						
							
							
								 
						
							
								a578cb7a65 
								
							 
						 
						
							
							
								
								Added MachineFunction parent* to MachineBasicBlock. Customized ilist template  
							
							... 
							
							
							
							to set the parent when a MachineBasicBlock is added to a MachineFunction.
llvm-svn: 13716 
							
						 
						
							2004-05-24 06:11:51 +00:00  
				
					
						
							
							
								 
						
							
								18dad6ed52 
								
							 
						 
						
							
							
								
								Eliminate an explicit use of the LLVM basic block, using getParent instead,  
							
							... 
							
							
							
							which simplifies the code
llvm-svn: 13707 
							
						 
						
							2004-05-24 03:44:52 +00:00  
				
					
						
							
							
								 
						
							
								cb5d22a0cb 
								
							 
						 
						
							
							
								
								Add non-const MachineBasicBlock::getParent() accessor method.  
							
							... 
							
							
							
							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-05-12 21:35:22 +00:00  
				
					
						
							
							
								 
						
							
								b525d54045 
								
							 
						 
						
							
							
								
								Use MachineBasicBlock::getParent().  
							
							... 
							
							
							
							llvm-svn: 11756 
							
						 
						
							2004-02-23 18:36:38 +00:00  
				
					
						
							
							
								 
						
							
								af2de4848e 
								
							 
						 
						
							
							
								
								Refactor rewinding code for finding the first terminator of a basic  
							
							... 
							
							
							
							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-23 18:14:48 +00:00  
				
					
						
							
							
								 
						
							
								d23a882f2f 
								
							 
						 
						
							
							
								
								Add a MachineBasicBlock::getParent() method  
							
							... 
							
							
							
							llvm-svn: 11622 
							
						 
						
							2004-02-19 16:13:54 +00:00  
				
					
						
							
							
								 
						
							
								14f3fe81c6 
								
							 
						 
						
							
							
								
								Add LeakDetection to MachineInstr.  
							
							... 
							
							
							
							Move out of line member functions of MachineBasicBlock to
MachineBasicBlock.cpp.
llvm-svn: 11497 
							
						 
						
							2004-02-16 07:17:43 +00:00  
				
					
						
							
							
								 
						
							
								8c63b6897d 
								
							 
						 
						
							
							
								
								Change MachineBasicBlock's to not be Annotations, instead they are kept as  
							
							... 
							
							
							
							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-28 05:30:46 +00:00  
				
					
						
							
							
								 
						
							
								8710aab04c 
								
							 
						 
						
							
							
								
								Rename MachineCodeForBasicBlock to MachineBasicBlock  
							
							... 
							
							
							
							llvm-svn: 4318 
							
						 
						
							2002-10-28 01:41:47 +00:00  
				
					
						
							
							
								 
						
							
								9baa9ad7c7 
								
							 
						 
						
							
							
								
								Inline some methods from .cpp files into .h files, minor cleanups  
							
							... 
							
							
							
							llvm-svn: 4313 
							
						 
						
							2002-10-28 01:21:55 +00:00  
				
					
						
							
							
								 
						
							
								9f99867c6c 
								
							 
						 
						
							
							
								
								Updates to match misha's changes  
							
							... 
							
							
							
							llvm-svn: 4302 
							
						 
						
							2002-10-28 00:37:53 +00:00  
				
					
						
							
							
								 
						
							
								f0b84cefb0 
								
							 
						 
						
							
							
								
								Implementation of class MachineCodeForBasicBlock.  
							
							... 
							
							
							
							Moved here from MachineInstr.cpp to make it an annotation on BasicBlock.
llvm-svn: 2827 
							
						 
						
							2002-07-08 23:01:11 +00:00