| 
							
							
								 Chris Lattner | 697954c15d | Changes to build successfully with GCC 3.02 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1503 91177308-0d34-0410-b5e6-96231b3b80d8 | 2002-01-20 22:54:45 +00:00 |  | 
			
				
					| 
							
							
								 Ruchira Sasanka | 6a3db8c117 | PhyRegAlloc.cpp: Added temp area resetting before every call git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1499 91177308-0d34-0410-b5e6-96231b3b80d8 | 2002-01-07 21:09:06 +00:00 |  | 
			
				
					| 
							
							
								 Ruchira Sasanka | 4f3eb22e1f | Added destructors and comments. Added correct spill candidate selection logic.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1493 91177308-0d34-0410-b5e6-96231b3b80d8 | 2002-01-07 19:19:18 +00:00 |  | 
			
				
					| 
							
							
								 Chris Lattner | 7a17675206 | Renamed inst_const_iterator -> const_inst_iterator Renamed op_const_iterator   -> const_op_iterator
Renamed PointerType::getValueType() -> PointerType::getElementType()
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1408 91177308-0d34-0410-b5e6-96231b3b80d8 | 2001-12-04 00:03:30 +00:00 |  | 
			
				
					| 
							
							
								 Ruchira Sasanka | f90870f622 | Commented some popTempArg.. since it leads to a bug git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1326 91177308-0d34-0410-b5e6-96231b3b80d8 | 2001-11-15 22:02:06 +00:00 |  | 
			
				
					| 
							
							
								 Ruchira Sasanka | ba9d5dba25 | Fixed a bug in setReLRegsUsedByMI git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1323 91177308-0d34-0410-b5e6-96231b3b80d8 | 2001-11-15 20:23:19 +00:00 |  | 
			
				
					| 
							
							
								 Ruchira Sasanka | f6dfca1395 | fixed setUsedRegAtMI git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1317 91177308-0d34-0410-b5e6-96231b3b80d8 | 2001-11-15 15:00:53 +00:00 |  | 
			
				
					| 
							
							
								 Ruchira Sasanka | 22ccb1b905 | Added interference for args in pseudo instructions git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1300 91177308-0d34-0410-b5e6-96231b3b80d8 | 2001-11-14 15:33:58 +00:00 |  | 
			
				
					| 
							
							
								 Ruchira Sasanka | 84dce16fb1 | commented out lines printing code after scheduling git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1295 91177308-0d34-0410-b5e6-96231b3b80d8 | 2001-11-13 23:12:53 +00:00 |  | 
			
				
					| 
							
							
								 Ruchira Sasanka | f221a2e0a8 | Fixed a bug concering LR spilling. Earlier, added spilled code was not inserted into the instruction stream correctly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1294 91177308-0d34-0410-b5e6-96231b3b80d8 | 2001-11-13 23:09:30 +00:00 |  | 
			
				
					| 
							
							
								 Vikram S. Adve | e85f2332db | Do the same for allocating spills to get their alignment right too. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1285 91177308-0d34-0410-b5e6-96231b3b80d8 | 2001-11-12 23:40:22 +00:00 |  | 
			
				
					| 
							
							
								 Vikram S. Adve | 00521d79bf | When allocating space on stack for writing a register, use the size of the register, not the size of the Value type,
to get the right alignment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1284 91177308-0d34-0410-b5e6-96231b3b80d8 | 2001-11-12 23:26:35 +00:00 |  | 
			
				
					| 
							
							
								 Ruchira Sasanka | 65480b75af | Changed code to ignore Phi Nodes in PhyRegAlloc git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1253 91177308-0d34-0410-b5e6-96231b3b80d8 | 2001-11-10 21:21:36 +00:00 |  | 
			
				
					| 
							
							
								 Ruchira Sasanka | ad1400924d | No major change git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1235 91177308-0d34-0410-b5e6-96231b3b80d8 | 2001-11-09 23:49:42 +00:00 |  | 
			
				
					| 
							
							
								 Ruchira Sasanka | 226f1f0b22 | corrected insertCode4Spilled ...  bug. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1212 91177308-0d34-0410-b5e6-96231b3b80d8 | 2001-11-08 19:11:30 +00:00 |  | 
			
				
					| 
							
							
								 Ruchira Sasanka | 5a61d85f97 | Uncommented LR spill code insertion git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1207 91177308-0d34-0410-b5e6-96231b3b80d8 | 2001-11-08 16:43:25 +00:00 |  | 
			
				
					| 
							
							
								 Vikram S. Adve | 12af164c87 | Removed class RegStackOffsets and used class MachineCodeForMethod directly to manage stack frame.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1186 91177308-0d34-0410-b5e6-96231b3b80d8 | 2001-11-08 04:48:50 +00:00 |  | 
			
				
					| 
							
							
								 Ruchira Sasanka | 80b1a1a26a | Added support for correct spilling of %ccr git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1112 91177308-0d34-0410-b5e6-96231b3b80d8 | 2001-11-03 20:41:22 +00:00 |  | 
			
				
					| 
							
							
								 Ruchira Sasanka | ef1b0cb9a5 | Arranged stack frame - needs furhter organization Moved InsertCallerSaveInstr to the SparcRegInfo.cpp
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1106 91177308-0d34-0410-b5e6-96231b3b80d8 | 2001-11-03 17:13:27 +00:00 |  | 
			
				
					| 
							
							
								 Ruchira Sasanka | 174bded6ce | Added spill code support; moved insertCallerSaving to SparRegInfo since we need to handle %ccr reg in a special way.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@990 91177308-0d34-0410-b5e6-96231b3b80d8 | 2001-10-28 18:12:02 +00:00 |  | 
			
				
					| 
							
							
								 Ruchira Sasanka | 251d8db133 | Added support to move "added instructions" after the delay slot git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@967 91177308-0d34-0410-b5e6-96231b3b80d8 | 2001-10-23 21:38:00 +00:00 |  | 
			
				
					| 
							
							
								 Vikram S. Adve | c023be29a4 | Use class MachineCodeForMethod to print machine code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@948 91177308-0d34-0410-b5e6-96231b3b80d8 | 2001-10-22 13:52:03 +00:00 |  | 
			
				
					| 
							
							
								 Ruchira Sasanka | b3b6f5338c | Added support for both call/jmpl instructions git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@930 91177308-0d34-0410-b5e6-96231b3b80d8 | 2001-10-21 16:43:41 +00:00 |  | 
			
				
					| 
							
							
								 Ruchira Sasanka | 0e62aa6d14 | Added code to PhyRegAlloc to mark unusable suggested regs Added initialization to AdjList to IGNode constructor - major bug fix
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@920 91177308-0d34-0410-b5e6-96231b3b80d8 | 2001-10-19 21:39:31 +00:00 |  | 
			
				
					| 
							
							
								 Ruchira Sasanka | 958faf3f5a | Corrected call interference bug git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@916 91177308-0d34-0410-b5e6-96231b3b80d8 | 2001-10-19 17:21:03 +00:00 |  | 
			
				
					| 
							
							
								 Ruchira Sasanka | 0fd8dc8099 | no major change git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@914 91177308-0d34-0410-b5e6-96231b3b80d8 | 2001-10-18 23:58:08 +00:00 |  | 
			
				
					| 
							
							
								 Ruchira Sasanka | 97b8b4410a | removed some debug messages git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@910 91177308-0d34-0410-b5e6-96231b3b80d8 | 2001-10-18 22:36:26 +00:00 |  | 
			
				
					| 
							
							
								 Ruchira Sasanka | 1b732fd0d6 | changed debugg message printing - no change to useful code git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@850 91177308-0d34-0410-b5e6-96231b3b80d8 | 2001-10-16 16:34:44 +00:00 |  | 
			
				
					| 
							
							
								 Ruchira Sasanka | 47c1372e09 | No major change - commented some debug code git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@849 91177308-0d34-0410-b5e6-96231b3b80d8 | 2001-10-16 01:33:55 +00:00 |  | 
			
				
					| 
							
							
								 Ruchira Sasanka | c4d4b76efb | Added support for caller saving git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@847 91177308-0d34-0410-b5e6-96231b3b80d8 | 2001-10-16 01:23:19 +00:00 |  | 
			
				
					| 
							
							
								 Chris Lattner | 1e23ed7c65 | Output to cerr rather than cout so that debug info doesn't mess up assembly generation git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@840 91177308-0d34-0410-b5e6-96231b3b80d8 | 2001-10-15 18:15:27 +00:00 |  | 
			
				
					| 
							
							
								 Ruchira Sasanka | a90e77061d | updated suggesting/coloring of call & return args & implicit operands. Changed added instr to a deque (from a vector)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@831 91177308-0d34-0410-b5e6-96231b3b80d8 | 2001-10-15 16:26:38 +00:00 |  | 
			
				
					| 
							
							
								 Ruchira Sasanka | a5ab9648a8 | --added suggesting colors; call/ret arg handling git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@670 91177308-0d34-0410-b5e6-96231b3b80d8 | 2001-09-30 23:11:59 +00:00 |  | 
			
				
					| 
							
							
								 Chris Lattner | 045e7c8434 | Change debug info from #define to command line option Clean up extra debug info that wasn't guarded
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@647 91177308-0d34-0410-b5e6-96231b3b80d8 | 2001-09-19 16:26:23 +00:00 |  | 
			
				
					| 
							
							
								 Chris Lattner | 4c3aaa4adb | * REMOVE extraneous debug info if DEBUG_RA is not set * Spell PhyRegAlloc right.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@645 91177308-0d34-0410-b5e6-96231b3b80d8 | 2001-09-19 16:09:04 +00:00 |  |