Brian Gaeke 
							
						 
					 
					
						
						
							
						
						53b99a0fe7 
					 
					
						
						
							
							Fix typo in comment  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7906  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-08-15 21:19:25 +00:00 
						 
				 
			
				
					
						
							
							
								Brian Gaeke 
							
						 
					 
					
						
						
							
						
						19df3876e6 
					 
					
						
						
							
							Factory methods for FunctionPasses now return type FunctionPass *.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7823  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-08-13 18:18:15 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						8c8194500d 
					 
					
						
						
							
							Fix bugs handling ESP in alloca references  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7591  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-08-05 04:13:58 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						d9ac6a7d3b 
					 
					
						
						
							
							Revert previous change, and be really anal about what physical registers can do.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7588  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-08-05 00:49:09 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						27615d7f21 
					 
					
						
						
							
							Don't bother calculating info unless its needed.  May reduce number of stack slots created.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7584  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-08-04 23:42:37 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						b8822ad224 
					 
					
						
						
							
							* Fix spelling of 'necessary'  
						
						... 
						
						
						
						* Add a lot more DEBUG output, which is better structured than before
* Fix bug: Jello/2003-08-04-PhysRegLiveFailure.llx
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7583  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-08-04 23:36:39 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						4cc662b0ef 
					 
					
						
						
							
							Set debug types  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7533  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-08-03 21:47:31 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						d3fd79f699 
					 
					
						
						
							
							Wrap at 80 columns  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7503  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-08-03 13:49:03 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						a11136b16c 
					 
					
						
						
							
							Move DEBUG to Debug.h  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7497  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-08-01 22:21:34 +00:00 
						 
				 
			
				
					
						
							
							
								Vikram S. Adve 
							
						 
					 
					
						
						
							
						
						5f2180c533 
					 
					
						
						
							
							(1) Added special register class containing (for now) %fsr.  
						
						... 
						
						
						
						Fixed spilling of %fcc[0-3] which are part of %fsr.
(2) Moved some machine-independent reg-class code to class TargetRegInfo
    from SparcReg{Class,}Info.
(3) Renamed MachienOperand::opIsDef to MachineOperand::opIsDefOnly()
    and related functions and flags.  Fixed several bugs where only
    "isDef" was being checked, not "isDefAndUse".
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6341  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-05-27 00:05:23 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						d5725631c5 
					 
					
						
						
							
							Fix tab infestation!  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6109  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-05-12 03:54:14 +00:00 
						 
				 
			
				
					
						
							
							
								Misha Brukman 
							
						 
					 
					
						
						
							
						
						15b55e20cc 
					 
					
						
						
							
							Debug output should go to cerr, not cout, because that's where bytecode goes.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6002  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-05-04 22:51:30 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						0416d2a70a 
					 
					
						
						
							
							Fix problems with empty basic blocks  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5326  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-01-16 18:06:43 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						3501feab81 
					 
					
						
						
							
							Rename MachineInstrInfo -> TargetInstrInfo  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5272  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-01-14 22:00:31 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						91a452b382 
					 
					
						
						
							
							* Convert to use LiveVariable analysis  
						
						... 
						
						
						
						* Convert to use PHIElimination pass
* Don't spill values which have just been reloaded (big win reducing spills)
* Add experimental support for eliminating spills before TwoAddress
  instructions.  It currently is broken so it is #ifdef'd out.
* Use new "is terminator" flag on instructions instead of looking for
  branches and returns explicitly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5219  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-01-13 00:25:40 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						eb24db9727 
					 
					
						
						
							
							Rename FunctionFrameInfo to MachineFrameInfo  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5200  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2002-12-28 21:08:26 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						580f9be7ff 
					 
					
						
						
							
							* Convert to be a MachineFunctionPass instance  
						
						... 
						
						
						
						* Use new FunctionFrameInfo object to manage stack slots instead of doing
  it directly
* Adjust to new MRegisterInfo API
* Don't take a TM as a ctor argument
* Don't keep track of which callee saved registers are modified
* Don't emit prolog/epilog code or spill/restore code for callee saved regs
* Use new allocation_order_begin/end iterators to simplify dramatically the
  logic for picking registers to allocate
* Machine PHI nodes can no longer contain constant arguments
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5195  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2002-12-28 20:40:43 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						ff863ba610 
					 
					
						
						
							
							Adjust to simpler spill interface  
						
						... 
						
						
						
						Only spill and reload caller saved registers that are actually modified.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5145  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2002-12-25 05:05:46 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						0eb172cc4a 
					 
					
						
						
							
							Substantial fixes to live range handling, fixing several problems, getting  
						
						... 
						
						
						
						strtol to not miscompile, and fixing bug: 2002-12-23-LocalRAProblem.llx
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5132  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2002-12-24 00:04:55 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						82bee0f2c8 
					 
					
						
						
							
							* Fix several register aliasing bugs  
						
						... 
						
						
						
						* Add a new option to eliminate spilling of registers that are only used
  within a basic block.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5106  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2002-12-18 08:14:26 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						e7d361d15a 
					 
					
						
						
							
							Use new reginfo interface  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5099  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2002-12-17 04:19:40 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						86c69a6cbe 
					 
					
						
						
							
							Add prolog/epilog spills/reloads to counters  
						
						... 
						
						
						
						Move X86 specific alignment gunk to X86 files
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5096  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2002-12-17 03:16:10 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						ae64043737 
					 
					
						
						
							
							Fix many bugs, regallocator now saves callee-save registers instead of target  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5093  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2002-12-17 02:50:10 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						c21be922bf 
					 
					
						
						
							
							* Fix a gross X86 hack that was intended to avoid allocating SP and BP  
						
						... 
						
						
						
						* Implement register alias set support
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5082  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2002-12-16 17:44:42 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						b74e83c898 
					 
					
						
						
							
							Initial checkin of "local" register allocator.  Bugs are still present.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5078  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2002-12-16 16:15:28 +00:00