Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								b358f71d02 
								
							 
						 
						
							
							
								
								* Optimizers return true on change  
							
							 
							
							... 
							
							
							
							* Implement indistinguishable shadow node elimination
llvm-svn: 1999 
							
						 
						
							2002-03-27 00:55:13 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								5c3280971c 
								
							 
						 
						
							
							
								
								Fix long line  
							
							 
							
							... 
							
							
							
							llvm-svn: 1998 
							
						 
						
							2002-03-27 00:54:31 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								f8e2d060cc 
								
							 
						 
						
							
							
								
								* Because of optimization, the shadow nodes between arguments might get  
							
							 
							
							... 
							
							
							
							removed.  Check to see if they are there.
* Repeat optimizations while changing
llvm-svn: 1997 
							
						 
						
							2002-03-27 00:53:57 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								e604d8ec65 
								
							 
						 
						
							
							
								
								Initial checkin of Datastructure analysis.  
							
							 
							
							... 
							
							
							
							Has bugs, but shouldn't crash in theory.
llvm-svn: 1994 
							
						 
						
							2002-03-26 22:39:06 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								af83890436 
								
							 
						 
						
							
							
								
								Change from Method to Function  
							
							 
							
							... 
							
							
							
							llvm-svn: 1992 
							
						 
						
							2002-03-26 18:02:30 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								57698e2c0b 
								
							 
						 
						
							
							
								
								Change references from Method to Function  
							
							 
							
							... 
							
							
							
							change references from MethodARgument to FunctionArgument
llvm-svn: 1991 
							
						 
						
							2002-03-26 18:01:55 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								5d088b00bf 
								
							 
						 
						
							
							
								
								Convert to use new style casts instead of direct checking  
							
							 
							
							... 
							
							
							
							llvm-svn: 1990 
							
						 
						
							2002-03-26 17:58:12 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								0df67e347a 
								
							 
						 
						
							
							
								
								change refs to Method to Function  
							
							 
							
							... 
							
							
							
							Change references to MEthodArgument to FunctionArgument
llvm-svn: 1989 
							
						 
						
							2002-03-26 17:55:33 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								e583c40316 
								
							 
						 
						
							
							
								
								Moved to directory Scalar/ and renamed.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1977 
							
						 
						
							2002-03-24 03:55:06 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								7a78ae9dd6 
								
							 
						 
						
							
							
								
								Destroy MethodLiveVarInfo after register allocation.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1976 
							
						 
						
							2002-03-24 03:54:03 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								479126b3d3 
								
							 
						 
						
							
							
								
								Use deterministic iterator for SchedGraphs.  This is actually not  
							
							 
							
							... 
							
							
							
							useful right now when we only do local scheduling.
llvm-svn: 1975 
							
						 
						
							2002-03-24 03:53:03 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								9db158f568 
								
							 
						 
						
							
							
								
								Bug fix: nextToTry was not being initialized in one case.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1974 
							
						 
						
							2002-03-24 03:46:15 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								e2a0dfad64 
								
							 
						 
						
							
							
								
								Add option to disable scheduling.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1973 
							
						 
						
							2002-03-24 03:45:35 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								c228f7a077 
								
							 
						 
						
							
							
								
								Add option to disable scheduling.  
							
							 
							
							... 
							
							
							
							Destroy live-variable information after scheduling so it is
recomputed before later phases (e.g., reg. allocation).
Use deterministic iterator to enumerate sched graphs.
llvm-svn: 1972 
							
						 
						
							2002-03-24 03:44:55 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								90039d0ab9 
								
							 
						 
						
							
							
								
								Minor changes.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1971 
							
						 
						
							2002-03-24 03:40:59 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								31a5d3a475 
								
							 
						 
						
							
							
								
								Re-fix bug: Put back MachineCodeForInstruction::dropAllReferences.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1970 
							
						 
						
							2002-03-24 03:40:11 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								377646fcfd 
								
							 
						 
						
							
							
								
								Fix padding for variables allocated on stack.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1969 
							
						 
						
							2002-03-24 03:39:26 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								dc96167e00 
								
							 
						 
						
							
							
								
								Major overhaul to FoldGetElemPtr to handle mixed array and struct refs.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1968 
							
						 
						
							2002-03-24 03:37:53 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								8bc420ec6a 
								
							 
						 
						
							
							
								
								Use deterministic iterator for treeRoots.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1967 
							
						 
						
							2002-03-24 03:36:52 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								75ee890af0 
								
							 
						 
						
							
							
								
								Bug re-fix: put back MachineCodeForInstruction::get(*I).dropAllReferences().  
							
							 
							
							... 
							
							
							
							Also re-enable instr. scheduling pass.
llvm-svn: 1966 
							
						 
						
							2002-03-24 03:35:16 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								be08b5ea15 
								
							 
						 
						
							
							
								
								Change latencies for Load, Store and Branch instructions.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1965 
							
						 
						
							2002-03-24 03:33:53 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								72213c9a66 
								
							 
						 
						
							
							
								
								Major enhancements to how array and structure indices are handled.  
							
							 
							
							... 
							
							
							
							Improve checking for constants in Multiply.
Simpler method to keep track of when a node is folded into its parent.
Several other bug fixes.
llvm-svn: 1964 
							
						 
						
							2002-03-24 03:33:02 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								3228f9cc42 
								
							 
						 
						
							
							
								
								Change treeRoots data structure to make enumeration deterministic.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1962 
							
						 
						
							2002-03-24 03:24:00 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								1ee0658a07 
								
							 
						 
						
							
							
								
								Major overhaul to support arbitrary mixed array and structure indices.  
							
							 
							
							... 
							
							
							
							Also moved to the Scalar/ directory and renamed to "MultiDim".
llvm-svn: 1961 
							
						 
						
							2002-03-24 03:21:18 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								4e8c4877aa 
								
							 
						 
						
							
							
								
								Rename Method to Function  
							
							 
							
							... 
							
							
							
							llvm-svn: 1957 
							
						 
						
							2002-03-23 22:51:58 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								5d218dff24 
								
							 
						 
						
							
							
								
								New pass to decompose multi-dimensional array references into  
							
							 
							
							... 
							
							
							
							a sequence of 1-D references, using a sequence of getElementPtrs.
llvm-svn: 1948 
							
						 
						
							2002-03-23 20:43:39 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								220ef17a9e 
								
							 
						 
						
							
							
								
								Add an assertion that would hopefully catch a problem that was tripping  
							
							 
							
							... 
							
							
							
							cameron up
llvm-svn: 1944 
							
						 
						
							2002-03-22 18:01:58 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								b39971dfa8 
								
							 
						 
						
							
							
								
								Fix bug test/Regression/Transforms/LevelRaise/2002-03-21-MissedRaise3.ll  
							
							 
							
							... 
							
							
							
							llvm-svn: 1943 
							
						 
						
							2002-03-21 23:02:37 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								dc960a6d4d 
								
							 
						 
						
							
							
								
								Fix test/Regression/Transforms/LevelRaise/2002-03-21-MissedRaise2.ll  
							
							 
							
							... 
							
							
							
							llvm-svn: 1941 
							
						 
						
							2002-03-21 22:39:59 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								eae5096ebd 
								
							 
						 
						
							
							
								
								* AllocationInst ctor moved here from iMemory.h  
							
							 
							
							... 
							
							
							
							* AllocationInst now always has an array size operand
llvm-svn: 1939 
							
						 
						
							2002-03-21 22:37:48 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								50f08078e6 
								
							 
						 
						
							
							
								
								Fix test/Regression/Other/2002-03-21-LevelRaiseMiss.ll  
							
							 
							
							... 
							
							
							
							llvm-svn: 1933 
							
						 
						
							2002-03-21 21:21:13 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								06707765fa 
								
							 
						 
						
							
							
								
								Make ConvertableToGEP handle cases where the user is indexing into the  
							
							 
							
							... 
							
							
							
							first element of a structure type.  Before this would not be handled because
getStructOffset would either stop immediately (because StopEarly was true
and Offset = 0), or blast past the level we wanted.
Now ConvertableToGEP steps down through the type one level at a time, checking
the Offset and Scale conditions at each step
llvm-svn: 1931 
							
						 
						
							2002-03-21 06:27:20 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								b874cd9560 
								
							 
						 
						
							
							
								
								Implement the new InsertInstBeforeInst function  
							
							 
							
							... 
							
							
							
							llvm-svn: 1930 
							
						 
						
							2002-03-21 06:24:00 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								0d984ef719 
								
							 
						 
						
							
							
								
								Fix the: test/Regression/Other/2002-03-20-LevelRaiseCrash.ll bug.  It turned  
							
							 
							
							... 
							
							
							
							out that almost always the result of the add was the same as the GEP that
would be generated.  In this case, however, it wasn't, so bad things happened.
llvm-svn: 1929 
							
						 
						
							2002-03-21 06:22:23 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								14d5ae1ac5 
								
							 
						 
						
							
							
								
								Declare the new InsertInstBeforeInst function  
							
							 
							
							... 
							
							
							
							llvm-svn: 1927 
							
						 
						
							2002-03-21 06:15:53 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								25c8f60b0a 
								
							 
						 
						
							
							
								
								Add an assertion to catch a misuse of replaceAllUsesWith  
							
							 
							
							... 
							
							
							
							llvm-svn: 1924 
							
						 
						
							2002-03-21 05:38:15 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								f6c6be2891 
								
							 
						 
						
							
							
								
								1. Fix bug test/Regression/Other/2002-03-20-LevelRaiseBadCodegen.ll  
							
							 
							
							... 
							
							
							
							2. Allow negative scales in ConvertableToGEP, so that this loop from
   alloc_tree in the Olden health benchmark is correctly raised:
       for (i = 3; i >= 0; i--)
         fval[i] = alloc_tree(level - 1, label*4 + i + 1, new);
   Stepping through the array backwards caused a negative scale.
llvm-svn: 1922 
							
						 
						
							2002-03-21 03:04:38 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								14fe4c60d4 
								
							 
						 
						
							
							
								
								Namespace qualify debugging code  
							
							 
							
							... 
							
							
							
							llvm-svn: 1921 
							
						 
						
							2002-03-21 03:02:07 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								218f8de01a 
								
							 
						 
						
							
							
								
								Fixed several problems with handling arguments to Phis.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1910 
							
						 
						
							2002-03-18 03:47:26 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								89637cd8e2 
								
							 
						 
						
							
							
								
								Big bug fix: killed uses were being inserted instead of erased!  
							
							 
							
							... 
							
							
							
							Also added a set of debug options.
llvm-svn: 1909 
							
						 
						
							2002-03-18 03:45:41 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								9f129ffe56 
								
							 
						 
						
							
							
								
								Just a comment.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1908 
							
						 
						
							2002-03-18 03:40:25 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								98a0150582 
								
							 
						 
						
							
							
								
								New pass to decompose multi-dimensional array references into  
							
							 
							
							... 
							
							
							
							a sequence of 1-D references, using a sequence of getElementPtrs.
llvm-svn: 1907 
							
						 
						
							2002-03-18 03:39:09 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								8e01c0b70e 
								
							 
						 
						
							
							
								
								Big bug fix: getUsableUniRegAtMI needed to return values in arguments  
							
							 
							
							... 
							
							
							
							but did not pass the arguments by reference!
llvm-svn: 1906 
							
						 
						
							2002-03-18 03:37:19 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								7446b323a7 
								
							 
						 
						
							
							
								
								Added function computeOffsetforLocalVar to check how big the  
							
							 
							
							... 
							
							
							
							offset-from-FP will be before allocating space for a local variable.
llvm-svn: 1905 
							
						 
						
							2002-03-18 03:36:30 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								307916c008 
								
							 
						 
						
							
							
								
								Bug fix in setting CC register.  
							
							 
							
							... 
							
							
							
							Also use distinct names for the three types of SetMachineOperand
to avoid painful overloading problems and errors.
llvm-svn: 1904 
							
						 
						
							2002-03-18 03:35:24 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								e5842b527d 
								
							 
						 
						
							
							
								
								Constants are now added to the constant pool only when a load  
							
							 
							
							... 
							
							
							
							instruction is actually generated for them.
Rename the different versions of SetMachineOperand.
llvm-svn: 1903 
							
						 
						
							2002-03-18 03:33:43 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								d2c71c1d08 
								
							 
						 
						
							
							
								
								Use vector for machine instructions returned by GetInstructionsByRule.  
							
							 
							
							... 
							
							
							
							Fix constants in instructions generated for Phi elimination.
llvm-svn: 1902 
							
						 
						
							2002-03-18 03:31:54 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								cecde7122c 
								
							 
						 
						
							
							
								
								Big bug fix: getUsableUniRegAtMI needed to return values in arguments  
							
							 
							
							... 
							
							
							
							but did not pass the arguments by reference!
Also added a function to get a register class by ID.
llvm-svn: 1901 
							
						 
						
							2002-03-18 03:26:48 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								493b8241e0 
								
							 
						 
						
							
							
								
								Add support for code generation for array references.  
							
							 
							
							... 
							
							
							
							Also, use distinct names for the three types of SetMachineOperand to
avoid painful overloading problems and errors.
Bug fix in converting-int-to-float.  Other minor stuff.
llvm-svn: 1896 
							
						 
						
							2002-03-18 03:15:35 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								db1435f410 
								
							 
						 
						
							
							
								
								Bug fixes for not using unified reg. numbers, and for using the  
							
							 
							
							... 
							
							
							
							wrong register class for saving CC registers.
Also, use distinct names for the three types of SetMachineOperand.
llvm-svn: 1895 
							
						 
						
							2002-03-18 03:12:16 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								f9ab087be7 
								
							 
						 
						
							
							
								
								Use distinct names for the three types of SetMachineOperand to  
							
							 
							
							... 
							
							
							
							avoid painful overloading problems and errors.
llvm-svn: 1893 
							
						 
						
							2002-03-18 03:09:15 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								55ee12bb25 
								
							 
						 
						
							
							
								
								Minor fixes.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1892 
							
						 
						
							2002-03-18 03:08:07 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								270f56a085 
								
							 
						 
						
							
							
								
								Handling of global names was severely broken when converting to 2 passes.  
							
							 
							
							... 
							
							
							
							Different labels were generated for the same name in different passes.
Use an annotation to hold a fixed table of names.
llvm-svn: 1891 
							
						 
						
							2002-03-18 03:07:26 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								0513e01bee 
								
							 
						 
						
							
							
								
								Several sundry bug fixes.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1890 
							
						 
						
							2002-03-18 03:02:42 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								de421a7993 
								
							 
						 
						
							
							
								
								Make an assertion provide a more helpful error message  
							
							 
							
							... 
							
							
							
							llvm-svn: 1883 
							
						 
						
							2002-03-17 21:16:01 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								205373ff74 
								
							 
						 
						
							
							
								
								Remove code designed to compensate for a bug in GCC.  The bug has since  
							
							 
							
							... 
							
							
							
							been fixed.
llvm-svn: 1881 
							
						 
						
							2002-03-15 20:35:21 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								fbf5be52c3 
								
							 
						 
						
							
							
								
								Checkin new test for problem anand ran into  
							
							 
							
							... 
							
							
							
							llvm-svn: 1880 
							
						 
						
							2002-03-15 20:25:09 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								60ab10bbef 
								
							 
						 
						
							
							
								
								Cleanup error message output a bit  
							
							 
							
							... 
							
							
							
							llvm-svn: 1879 
							
						 
						
							2002-03-15 20:21:29 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								c47c3cce6f 
								
							 
						 
						
							
							
								
								Fix test/Regression/Other/2002-03-14-ValueToLarge.ll.  Note that this  
							
							 
							
							... 
							
							
							
							fix could be better, but we don't have the infrastructure to find out what
size types are yet.
llvm-svn: 1876 
							
						 
						
							2002-03-14 22:35:50 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								7704e9f337 
								
							 
						 
						
							
							
								
								Add a check to ensure that only PHI nodes are self referential.  Code  
							
							 
							
							... 
							
							
							
							input to instruction combination was broken, which caused it to explode.
llvm-svn: 1870 
							
						 
						
							2002-03-14 16:53:48 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								4ca6cd403f 
								
							 
						 
						
							
							
								
								Fix bug: test/Regression/Other/2002-03-14-LevelRaiseHang.ll  
							
							 
							
							... 
							
							
							
							llvm-svn: 1869 
							
						 
						
							2002-03-14 16:37:04 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								bee86626e1 
								
							 
						 
						
							
							
								
								Fix bug: test/Regression/Other/2002-03-11-InstCombineHang.ll  
							
							 
							
							... 
							
							
							
							llvm-svn: 1864 
							
						 
						
							2002-03-11 23:28:45 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								7e91634005 
								
							 
						 
						
							
							
								
								update comments  
							
							 
							
							... 
							
							
							
							llvm-svn: 1862 
							
						 
						
							2002-03-11 22:21:04 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								7287d698bf 
								
							 
						 
						
							
							
								
								* Fix bug: test/Regression/Other/2002-03-11-LevelRaiseIterInvalidate.ll  
							
							 
							
							... 
							
							
							
							* Use more concise form of ReplaceInstWithInst to make code simpler
* Output nicer message for dead code eliminated when debugging
llvm-svn: 1861 
							
						 
						
							2002-03-11 22:19:48 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								1a8ea8ae4f 
								
							 
						 
						
							
							
								
								Implement TODO for better diagnostic output  
							
							 
							
							... 
							
							
							
							llvm-svn: 1859 
							
						 
						
							2002-03-11 22:12:39 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								477fe0845a 
								
							 
						 
						
							
							
								
								Fix bug: test/Regression/Other/2002-03-11-ConstPropCrash.ll  
							
							 
							
							... 
							
							
							
							llvm-svn: 1858 
							
						 
						
							2002-03-11 22:11:07 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								26ec881062 
								
							 
						 
						
							
							
								
								Bugfix for test/Regression/Other/2002-03-11-ExprAssertion.ll  
							
							 
							
							... 
							
							
							
							llvm-svn: 1856 
							
						 
						
							2002-03-11 20:50:24 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								0e66f3ec92 
								
							 
						 
						
							
							
								
								Remove runtime library in favor of users linking against real libraries.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1853 
							
						 
						
							2002-03-11 17:57:13 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								4cf0079e29 
								
							 
						 
						
							
							
								
								Do not link in runtime library anymore, assume that user manually links in  
							
							 
							
							... 
							
							
							
							libraries.  Code should be generalized to allow lli to take -lc -lm arguments
in the future (todo)
llvm-svn: 1852 
							
						 
						
							2002-03-11 17:52:43 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								7fd7b30727 
								
							 
						 
						
							
							
								
								Fix bug: test/Regression/Other/2002-03-11-LevelRaiseCalls.ll  
							
							 
							
							... 
							
							
							
							llvm-svn: 1844 
							
						 
						
							2002-03-11 17:27:34 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								5dec460017 
								
							 
						 
						
							
							
								
								Implement a bunch of new functions to support the SPECINT mcf  
							
							 
							
							... 
							
							
							
							benchmark
llvm-svn: 1841 
							
						 
						
							2002-03-08 22:51:07 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								9818bab2dc 
								
							 
						 
						
							
							
								
								* Add new method localLookup  
							
							 
							
							... 
							
							
							
							* SymbolTable::remove(Value *N) checks to see if we are internally
  inconsistent before looking for a type plane (caused a crash)
* insertEntry now does a local lookup instead of a global lookup, which was
  causing an infinite loop in the renamer logic.
* Added assertions to make sure stuff stays happy
* Now the linker correctly links the SPECINT2000 mcf benchmark
llvm-svn: 1840 
							
						 
						
							2002-03-08 20:26:17 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								108308aa91 
								
							 
						 
						
							
							
								
								Fix bug: test/Regression/2002-03-08-NameCollision2.ll  
							
							 
							
							... 
							
							
							
							llvm-svn: 1839 
							
						 
						
							2002-03-08 19:11:42 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								f7bfab5624 
								
							 
						 
						
							
							
								
								Fix minor memory leak  
							
							 
							
							... 
							
							
							
							llvm-svn: 1837 
							
						 
						
							2002-03-08 18:57:56 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								29f6709c3a 
								
							 
						 
						
							
							
								
								Fix for: test/Regression/Assembler/2002-03-08-NameCollision.ll  
							
							 
							
							... 
							
							
							
							llvm-svn: 1836 
							
						 
						
							2002-03-08 18:41:32 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								d7789cb819 
								
							 
						 
						
							
							
								
								We were not correctly burrowing down multiple levels to get to a leaf.  Fix this now  
							
							 
							
							... 
							
							
							
							llvm-svn: 1833 
							
						 
						
							2002-03-07 21:18:00 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								717dba9474 
								
							 
						 
						
							
							
								
								Support changing the pointer type of a store for the case where we are  
							
							 
							
							... 
							
							
							
							storing into the first element of the structure type.
llvm-svn: 1832 
							
						 
						
							2002-03-07 21:17:35 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								62f1e98e4f 
								
							 
						 
						
							
							
								
								Initial checkin  
							
							 
							
							... 
							
							
							
							llvm-svn: 1831 
							
						 
						
							2002-03-07 20:16:38 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								beed742b55 
								
							 
						 
						
							
							
								
								Clean up call graph, add comments, and fix test/Regression/Other/2002-01-31-CallGraph.ll  
							
							 
							
							... 
							
							
							
							llvm-svn: 1828 
							
						 
						
							2002-03-06 20:19:35 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								46519418b0 
								
							 
						 
						
							
							
								
								Pull interprocedural analyses out of Analysis library into their own lib  
							
							 
							
							... 
							
							
							
							llvm-svn: 1827 
							
						 
						
							2002-03-06 18:44:29 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								d852cc32ec 
								
							 
						 
						
							
							
								
								Move call graph printing support out of Writer.h into Callgraph.h  
							
							 
							
							... 
							
							
							
							remove dead global function
llvm-svn: 1825 
							
						 
						
							2002-03-06 18:00:49 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								8032732948 
								
							 
						 
						
							
							
								
								Take CallGraph out of the CFG namespace.  It has nothing to do with CFGs  
							
							 
							
							... 
							
							
							
							llvm-svn: 1820 
							
						 
						
							2002-03-06 17:16:43 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								15148e7e8c 
								
							 
						 
						
							
							
								
								Fix include error.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1819 
							
						 
						
							2002-03-03 20:46:32 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								04805fa29c 
								
							 
						 
						
							
							
								
								Change over to use new style pass mechanism, now passes only expose small  
							
							 
							
							... 
							
							
							
							creation functions in their public header file, unless they can help it.
llvm-svn: 1816 
							
						 
						
							2002-02-26 21:46:54 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								b67f732b8c 
								
							 
						 
						
							
							
								
								Expose more entry points to the verifier  
							
							 
							
							... 
							
							
							
							llvm-svn: 1815 
							
						 
						
							2002-02-26 21:45:33 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								d209550828 
								
							 
						 
						
							
							
								
								Move ProfilePaths class into ProfilePaths library, only expose a creation function  
							
							 
							
							... 
							
							
							
							llvm-svn: 1812 
							
						 
						
							2002-02-26 20:04:59 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								570b8e1da8 
								
							 
						 
						
							
							
								
								Pass stuff by reference instead of by copy.  Copying entire graphs seems like  
							
							 
							
							... 
							
							
							
							a bad idea
llvm-svn: 1810 
							
						 
						
							2002-02-26 19:49:45 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								18ff945065 
								
							 
						 
						
							
							
								
								Move processGraph down lower in the file so all of the forward declarations  
							
							 
							
							... 
							
							
							
							can be eliminated.
llvm-svn: 1809 
							
						 
						
							2002-02-26 19:43:49 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								5328c6fd97 
								
							 
						 
						
							
							
								
								* Changes to compile successfully with GCC 3.0  
							
							 
							
							... 
							
							
							
							* Eliminated memory leak in processGraph
* Pass vectors by const reference to moveDummyCode instead of by copy
llvm-svn: 1808 
							
						 
						
							2002-02-26 19:40:28 +00:00  
						
					 
				
					
						
							
							
								 
								Anand Shukla
							
						 
						
							 
							
							
							
							
								
							
							
								a9b9636aca 
								
							 
						 
						
							
							
								
								Makefile for profile-paths  
							
							 
							
							... 
							
							
							
							llvm-svn: 1807 
							
						 
						
							2002-02-26 19:36:43 +00:00  
						
					 
				
					
						
							
							
								 
								Anand Shukla
							
						 
						
							 
							
							
							
							
								
							
							
								854c302594 
								
							 
						 
						
							
							
								
								Initial checkin: functions on Graph used for path profile pass  
							
							 
							
							... 
							
							
							
							llvm-svn: 1806 
							
						 
						
							2002-02-26 19:02:16 +00:00  
						
					 
				
					
						
							
							
								 
								Anand Shukla
							
						 
						
							 
							
							
							
							
								
							
							
								70a61383eb 
								
							 
						 
						
							
							
								
								Initial checkin: instrument code to get path execution frequency  
							
							 
							
							... 
							
							
							
							llvm-svn: 1805 
							
						 
						
							2002-02-26 19:00:48 +00:00  
						
					 
				
					
						
							
							
								 
								Anand Shukla
							
						 
						
							 
							
							
							
							
								
							
							
								d0f8c88e91 
								
							 
						 
						
							
							
								
								Initial checkin: helper file to insert instrumentation code along edges  
							
							 
							
							... 
							
							
							
							llvm-svn: 1804 
							
						 
						
							2002-02-26 18:59:46 +00:00  
						
					 
				
					
						
							
							
								 
								Anand Shukla
							
						 
						
							 
							
							
							
							
								
							
							
								d3d1fcd08d 
								
							 
						 
						
							
							
								
								Initial check in of graph.cpp: implements graph interface used in path profiles  
							
							 
							
							... 
							
							
							
							llvm-svn: 1803 
							
						 
						
							2002-02-26 18:58:39 +00:00  
						
					 
				
					
						
							
							
								 
								Anand Shukla
							
						 
						
							 
							
							
							
							
								
							
							
								ef5631efba 
								
							 
						 
						
							
							
								
								Change to make it build with GCC 2.95.3  
							
							 
							
							... 
							
							
							
							llvm-svn: 1802 
							
						 
						
							2002-02-26 18:57:15 +00:00  
						
					 
				
					
						
							
							
								 
								Anand Shukla
							
						 
						
							 
							
							
							
							
								
							
							
								61a1c1ee56 
								
							 
						 
						
							
							
								
								New makefile to include ProfilePaths dir  
							
							 
							
							... 
							
							
							
							llvm-svn: 1799 
							
						 
						
							2002-02-26 18:20:27 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								4eed0b8390 
								
							 
						 
						
							
							
								
								Fix bug: test/Regression/Other/2002-02-24-InlineBrokePHINodes.ll  
							
							 
							
							... 
							
							
							
							llvm-svn: 1798 
							
						 
						
							2002-02-25 00:35:07 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								f20671a6b6 
								
							 
						 
						
							
							
								
								When inlining basic blocks and instructions, give them a name!  
							
							 
							
							... 
							
							
							
							llvm-svn: 1796 
							
						 
						
							2002-02-25 00:31:02 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								5b46fa248f 
								
							 
						 
						
							
							
								
								Remove hack.  This is better fixed in Makefile.common  
							
							 
							
							... 
							
							
							
							llvm-svn: 1795 
							
						 
						
							2002-02-24 23:25:46 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								5079e2ea56 
								
							 
						 
						
							
							
								
								Build with newer compiler, with same bug  
							
							 
							
							... 
							
							
							
							llvm-svn: 1793 
							
						 
						
							2002-02-24 23:11:05 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								93a0341dbf 
								
							 
						 
						
							
							
								
								Namespaces  
							
							 
							
							... 
							
							
							
							llvm-svn: 1791 
							
						 
						
							2002-02-24 23:03:09 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								5536c9c938 
								
							 
						 
						
							
							
								
								Clean up std namespace issues  
							
							 
							
							... 
							
							
							
							Silence warning
llvm-svn: 1790 
							
						 
						
							2002-02-24 23:02:40 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								2294b4ee27 
								
							 
						 
						
							
							
								
								64 bit clean now  
							
							 
							
							... 
							
							
							
							llvm-svn: 1789 
							
						 
						
							2002-02-24 23:02:12 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								7c7930f59c 
								
							 
						 
						
							
							
								
								* Make it compile with GCC 3.0.4  
							
							 
							
							... 
							
							
							
							llvm-svn: 1788 
							
						 
						
							2002-02-24 23:01:56 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								29a5df81e4 
								
							 
						 
						
							
							
								
								* Silence signed/unsigned warnings  
							
							 
							
							... 
							
							
							
							* Make it compile with GCC 3.0.4
llvm-svn: 1787 
							
						 
						
							2002-02-24 23:01:50 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								43373a6868 
								
							 
						 
						
							
							
								
								Make it compile with GCC 3.0.4  
							
							 
							
							... 
							
							
							
							llvm-svn: 1786 
							
						 
						
							2002-02-24 23:01:21 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								ee6f2affbe 
								
							 
						 
						
							
							
								
								Close input file if exception is thrown  
							
							 
							
							... 
							
							
							
							llvm-svn: 1784 
							
						 
						
							2002-02-20 18:06:43 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								8280bf59e0 
								
							 
						 
						
							
							
								
								Change to verifier interface  
							
							 
							
							... 
							
							
							
							llvm-svn: 1782 
							
						 
						
							2002-02-20 17:56:02 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								d02f08dec9 
								
							 
						 
						
							
							
								
								Actually implement some checking in the verifier.  
							
							 
							
							... 
							
							
							
							These specific problems were ones Anand ran into in his work and seem not
uncommon for beginners.
llvm-svn: 1781 
							
						 
						
							2002-02-20 17:55:43 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								480fa41d2c 
								
							 
						 
						
							
							
								
								Fix isArrayAllocation() to be correct  
							
							 
							
							... 
							
							
							
							llvm-svn: 1779 
							
						 
						
							2002-02-19 21:24:17 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								fb55ba00e1 
								
							 
						 
						
							
							
								
								Keep track of memory allocated by alloca so that it is freed appropriately  
							
							 
							
							... 
							
							
							
							llvm-svn: 1776 
							
						 
						
							2002-02-19 18:50:09 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								568a770742 
								
							 
						 
						
							
							
								
								Implement exp function  
							
							 
							
							... 
							
							
							
							llvm-svn: 1774 
							
						 
						
							2002-02-18 19:06:25 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								ccb9e604de 
								
							 
						 
						
							
							
								
								Handle more cases in the linker  
							
							 
							
							... 
							
							
							
							llvm-svn: 1771 
							
						 
						
							2002-02-18 19:05:15 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								4ed4caf44a 
								
							 
						 
						
							
							
								
								Bug fix for test/Regression/Other/2002-02-14-LevelRaiseBadAssert.ll  
							
							 
							
							... 
							
							
							
							llvm-svn: 1767 
							
						 
						
							2002-02-14 22:21:40 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								aca1090da2 
								
							 
						 
						
							
							
								
								Implement conversion of method pointer parameter in Call instruction  
							
							 
							
							... 
							
							
							
							to clean up MST benchmark.
llvm-svn: 1763 
							
						 
						
							2002-02-14 19:44:09 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								a5ee9139ba 
								
							 
						 
						
							
							
								
								* Check in fix for: llvm/test/Regression/Other/2002-02-14-LevelRaiseInstDelete.ll  
							
							 
							
							... 
							
							
							
							* Minor reformatting.
llvm-svn: 1760 
							
						 
						
							2002-02-14 18:55:22 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								83d485b310 
								
							 
						 
						
							
							
								
								* Pull BasicBlock::pred_* and BasicBlock::succ_* out of BasicBlock.h and into  
							
							 
							
							... 
							
							
							
							llvm/Support/CFG.h
* Make pred & succ iterators for intervals global functions
* Add #includes that are now neccesary because BasicBlock.h doesn't include
  InstrTypes.h anymore
llvm-svn: 1750 
							
						 
						
							2002-02-12 22:39:50 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								60a6591d83 
								
							 
						 
						
							
							
								
								Method.h no longer includes BasicBlock.h  
							
							 
							
							... 
							
							
							
							Method::inst_* is now in llvm/Support/InstIterator.h
GraphTraits specializations for BasicBlock and Methods are now in llvm/Support/CFG.h
llvm-svn: 1746 
							
						 
						
							2002-02-12 21:07:25 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								429a20af4c 
								
							 
						 
						
							
							
								
								Add neccesary #include  
							
							 
							
							... 
							
							
							
							llvm-svn: 1742 
							
						 
						
							2002-02-12 20:19:06 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								50a45782ec 
								
							 
						 
						
							
							
								
								I forgot to provide dominance frontier information.  Now it's available.  
							
							 
							
							... 
							
							
							
							Also add more comments.
llvm-svn: 1741 
							
						 
						
							2002-02-12 18:27:41 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								12f155a6f0 
								
							 
						 
						
							
							
								
								Initial checkin of new memory -> register promotion pass  
							
							 
							
							... 
							
							
							
							llvm-svn: 1739 
							
						 
						
							2002-02-12 17:16:22 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								2787a4edea 
								
							 
						 
						
							
							
								
								Add new abort-on-exceptions flag  
							
							 
							
							... 
							
							
							
							llvm-svn: 1737 
							
						 
						
							2002-02-12 15:47:23 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								774cbceb0b 
								
							 
						 
						
							
							
								
								Write llvm bytecode to output .s file as last step of LLC.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1728 
							
						 
						
							2002-02-11 22:35:46 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								7a79cfa2af 
								
							 
						 
						
							
							
								
								Make array bound checks optional and disabled by default.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1725 
							
						 
						
							2002-02-11 20:19:16 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								74ed5cf1e6 
								
							 
						 
						
							
							
								
								Fix build error  
							
							 
							
							... 
							
							
							
							llvm-svn: 1722 
							
						 
						
							2002-02-11 17:11:43 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								7a264284f0 
								
							 
						 
						
							
							
								
								Convert BBLiveVar to be a BasicBlock annotation, this removes the BB2BBLVMap from MethodLiveVarInfo.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1721 
							
						 
						
							2002-02-05 06:52:25 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								ea13e0afa0 
								
							 
						 
						
							
							
								
								Convert operand iterator over to work like an STL iterator  
							
							 
							
							... 
							
							
							
							llvm-svn: 1720 
							
						 
						
							2002-02-05 06:02:59 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								7e5ee4253c 
								
							 
						 
						
							
							
								
								Minor change: Methods that return ValueSet's that are guaranteed to be valid  
							
							 
							
							... 
							
							
							
							return references instead of pointers.
llvm-svn: 1719 
							
						 
						
							2002-02-05 04:20:12 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								d30f989cda 
								
							 
						 
						
							
							
								
								* Code Cleanups  
							
							 
							
							... 
							
							
							
							* Removal dependencies on Type.h & remove uses of getTypeID()
llvm-svn: 1718 
							
						 
						
							2002-02-05 03:52:29 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								f1223ace96 
								
							 
						 
						
							
							
								
								* Code Cleanups of IGNode.h  
							
							 
							
							... 
							
							
							
							* Removal of getTypeID() methods, and dependence on llvm/Type.h, from IGNode & LiveRange
llvm-svn: 1717 
							
						 
						
							2002-02-05 03:51:37 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								101a5d9197 
								
							 
						 
						
							
							
								
								Must include SetOperations to do set_*  
							
							 
							
							... 
							
							
							
							llvm-svn: 1716 
							
						 
						
							2002-02-05 03:35:53 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								a2b661f764 
								
							 
						 
						
							
							
								
								Remove generic routines to Support/SetOperations.h  
							
							 
							
							... 
							
							
							
							llvm-svn: 1715 
							
						 
						
							2002-02-05 03:35:31 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								dc6539bcc0 
								
							 
						 
						
							
							
								
								Remove empty files  
							
							 
							
							... 
							
							
							
							llvm-svn: 1713 
							
						 
						
							2002-02-05 02:52:53 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								b0af9cdbda 
								
							 
						 
						
							
							
								
								* Eliminate the LiveVarSet class, making applyTranferFuncForMInst a static  
							
							 
							
							... 
							
							
							
							function in the one .cpp file that uses it.  Use ValueSet's instead.
* Prepare to delete LiveVarSet.h & LiveVarSet.cpp
* Eliminate the ValueSet class, making all old member functions into global
  templates that will eventually be moved to Support.
* Eliminate some irrelevant const's
llvm-svn: 1712 
							
						 
						
							2002-02-05 02:52:05 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								b1def732af 
								
							 
						 
						
							
							
								
								* Eliminate the LiveVarSet class, making applyTranferFuncForMInst a static  
							
							 
							
							... 
							
							
							
							function in the one .cpp file that uses it.  Use ValueSet's instead.
* Prepare to delete LiveVarSet.h & LiveVarSet.cpp
* Eliminate the ValueSet class, making all old member functions into global
  templates that will eventually be moved to Support.
llvm-svn: 1711 
							
						 
						
							2002-02-05 02:51:01 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								30e8fb69c5 
								
							 
						 
						
							
							
								
								* Code Cleanups  
							
							 
							
							... 
							
							
							
							* Introduce RAV to allow stream I/O instead of using printValue
llvm-svn: 1710 
							
						 
						
							2002-02-05 01:43:49 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								91c4a419e2 
								
							 
						 
						
							
							
								
								Changes neccesary due to the move of BBLiveVar.h to the lib/Analysis/LiveVar directory  
							
							 
							
							... 
							
							
							
							llvm-svn: 1709 
							
						 
						
							2002-02-05 00:43:37 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								3da53ad636 
								
							 
						 
						
							
							
								
								* Add a #include not indirectly included any more  
							
							 
							
							... 
							
							
							
							llvm-svn: 1707 
							
						 
						
							2002-02-05 00:35:14 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								7c70802193 
								
							 
						 
						
							
							
								
								* Give BBLiveVar.cpp a proper file header  
							
							 
							
							... 
							
							
							
							* applyFlowFunc DOES NOT NEED TO COPY the huge BB->BBLiveVar Map every time it is invoked!
* Big cleanups.
* Make BBLiveVar.h effectively an internal header file
* Prepare LiveVarMap.h for deletion
llvm-svn: 1706 
							
						 
						
							2002-02-05 00:34:50 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								94b8baf089 
								
							 
						 
						
							
							
								
								* Big cleanups.  
							
							 
							
							... 
							
							
							
							* Make BBLiveVar.h effectively an internal header file
* Prepare LiveVarMap.h for deletion
llvm-svn: 1705 
							
						 
						
							2002-02-05 00:33:19 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								f468b52e3a 
								
							 
						 
						
							
							
								
								Code cleanups, no functional change  
							
							 
							
							... 
							
							
							
							llvm-svn: 1704 
							
						 
						
							2002-02-04 23:31:16 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								439d0e557b 
								
							 
						 
						
							
							
								
								Clean up MethodLiveVarInfo  
							
							 
							
							... 
							
							
							
							llvm-svn: 1703 
							
						 
						
							2002-02-04 20:49:04 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								1cb37628d9 
								
							 
						 
						
							
							
								
								The interface to instruction scheduling is now just a call to get the pass.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1702 
							
						 
						
							2002-02-04 20:03:43 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								aa7a151874 
								
							 
						 
						
							
							
								
								* RegisterAllocation _uses_ LiveVar analysis, instead of creating it's own copy  
							
							 
							
							... 
							
							
							
							llvm-svn: 1701 
							
						 
						
							2002-02-04 20:02:38 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								6974172717 
								
							 
						 
						
							
							
								
								* The itf exposed by InstrScheduling is now a single function to create the right pass  
							
							 
							
							... 
							
							
							
							* InstructionScheduling is now a real pass
* InstrSched _uses_ LiveVar analysis, instead of creating it's own copy many times
  through a loop.  In this was LiveVarAnalysis is actually even SHARED by Register
  allocation.
* SchedPriorities is now passed the live var information in
llvm-svn: 1700 
							
						 
						
							2002-02-04 20:02:16 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								494266eaf0 
								
							 
						 
						
							
							
								
								Turn live variable analysis into a real MethodPass.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1699 
							
						 
						
							2002-02-04 20:00:08 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								75b2283602 
								
							 
						 
						
							
							
								
								Remove Obsolete LoopDepthCalculator.  All users should use LoopInfo directly.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1697 
							
						 
						
							2002-02-04 17:49:01 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								347a23921a 
								
							 
						 
						
							
							
								
								Switch register allocator over to using LoopInfo directly instead of indirectly through LoopDepthCalculator  
							
							 
							
							... 
							
							
							
							llvm-svn: 1696 
							
						 
						
							2002-02-04 17:48:00 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								8a352d597c 
								
							 
						 
						
							
							
								
								Make LoopDeptCalculator be an internal artifact of how RegAlloc is implemented,  
							
							 
							
							... 
							
							
							
							do not expose it.  Additionally, have it be auto generated by the pass framework
for us.
llvm-svn: 1695 
							
						 
						
							2002-02-04 17:39:42 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								519af2962d 
								
							 
						 
						
							
							
								
								REmove huge hack used by register allocator  
							
							 
							
							... 
							
							
							
							llvm-svn: 1694 
							
						 
						
							2002-02-04 17:39:02 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								669a74ce8a 
								
							 
						 
						
							
							
								
								Make #include "llvm/Analysis/LoopDepth.h" be an internal artifact of how register allocation is implemented.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1693 
							
						 
						
							2002-02-04 17:38:48 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								e6b511dc0a 
								
							 
						 
						
							
							
								
								* ValueSet interface converted from add/remove to insert/erase  
							
							 
							
							... 
							
							
							
							llvm-svn: 1690 
							
						 
						
							2002-02-04 16:37:09 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								83a8434eb2 
								
							 
						 
						
							
							
								
								* Add #includes removed from headers  
							
							 
							
							... 
							
							
							
							* ValueSet interface converted from add/remove to insert/erase
* Minor cleanups
llvm-svn: 1689 
							
						 
						
							2002-02-04 16:36:59 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								e630ac9330 
								
							 
						 
						
							
							
								
								Remove dependence on BBLiveVar from InstrScheduling  
							
							 
							
							... 
							
							
							
							Minor cleanups
llvm-svn: 1688 
							
						 
						
							2002-02-04 16:35:45 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								325869ac29 
								
							 
						 
						
							
							
								
								* Add #includes that were yanked out of header files  
							
							 
							
							... 
							
							
							
							* Convert over to valueset interface that uses insert & erase insead of add and remove
* the -> operator really isn't that hard to use!
llvm-svn: 1687 
							
						 
						
							2002-02-04 16:35:12 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								7ad6519f90 
								
							 
						 
						
							
							
								
								Cut down include pollution and number of frivolous consts.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1683 
							
						 
						
							2002-02-04 16:31:03 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								f48173a875 
								
							 
						 
						
							
							
								
								Convert RegisterAllocator interface to opaque pass type, so that users do not  
							
							 
							
							... 
							
							
							
							need to know _anything_ about RegAlloc to use it.  Well in the end maybe.
llvm-svn: 1681 
							
						 
						
							2002-02-04 15:54:09 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								13b2227ccc 
								
							 
						 
						
							
							
								
								EmitAssembly doesn't need an UltraSparc, it can do with any TargetMachine  
							
							 
							
							... 
							
							
							
							llvm-svn: 1680 
							
						 
						
							2002-02-04 15:53:23 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								bd3ad751f0 
								
							 
						 
						
							
							
								
								Eliminate ModuleAnalyzer.  It's old code that is not going to be used in the near future  
							
							 
							
							... 
							
							
							
							llvm-svn: 1679 
							
						 
						
							2002-02-04 06:47:17 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								5216cc55f7 
								
							 
						 
						
							
							
								
								* Minor cleanups  
							
							 
							
							... 
							
							
							
							* Reduce number of #includes
* Remove blatently misleading qualifiers (how do you have an inlined pure virtual function?)
* Remove unnecesary & ignored qualifiers (const int argument vs int argument)
* SparcInternals.h now no longer #includes RegClass.h or SparcRegClassInfo.h
* Pull inlined functions out of .h file if they are virtual and interfere with dependencies
llvm-svn: 1677 
							
						 
						
							2002-02-04 05:59:25 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								c797387363 
								
							 
						 
						
							
							
								
								Add code that used to be inline in MachineSchedInfo.h  
							
							 
							
							... 
							
							
							
							llvm-svn: 1676 
							
						 
						
							2002-02-04 05:56:30 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								49562d8442 
								
							 
						 
						
							
							
								
								Add #includes neccesary since they were removed from .h files  
							
							 
							
							... 
							
							
							
							llvm-svn: 1675 
							
						 
						
							2002-02-04 05:56:09 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								a8171dd554 
								
							 
						 
						
							
							
								
								Move instrIsFeasible from InstrScheduling.h  
							
							 
							
							... 
							
							
							
							llvm-svn: 1674 
							
						 
						
							2002-02-04 05:55:42 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								b0da8b2de1 
								
							 
						 
						
							
							
								
								* Minor cleanups  
							
							 
							
							... 
							
							
							
							* Reduce number of #includes, sometimes drastically (LiveRangeInfo.h lost _7_)
* Move instrIsFeasible() from InstrScheduling.h to SchedPriorities.h
* Delete blank lines at end of files
llvm-svn: 1672 
							
						 
						
							2002-02-04 05:52:08 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								73645f3b94 
								
							 
						 
						
							
							
								
								Minor cleanups  
							
							 
							
							... 
							
							
							
							llvm-svn: 1671 
							
						 
						
							2002-02-04 05:48:24 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								a3403539e1 
								
							 
						 
						
							
							
								
								SparcRegInfo does NOT need anything about instruction scheduling.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1670 
							
						 
						
							2002-02-04 02:44:38 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								720bc02f18 
								
							 
						 
						
							
							
								
								* Move command line parsing debug stuff to InstrScheduling internal header file  
							
							 
							
							... 
							
							
							
							SchedPriorities.h
llvm-svn: 1669 
							
						 
						
							2002-02-04 02:44:20 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								e769482fd3 
								
							 
						 
						
							
							
								
								Pull all of the scheduling related stuff out of Sparc.cpp into it's own file  
							
							 
							
							... 
							
							
							
							llvm-svn: 1668 
							
						 
						
							2002-02-04 00:39:14 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								36aa542ef0 
								
							 
						 
						
							
							
								
								Split RegisterAllocation stuff OUT of Sparc.cpp into a well defined pass  
							
							 
							
							... 
							
							
							
							that has a very minimal interface (like it should have).
llvm-svn: 1667 
							
						 
						
							2002-02-04 00:33:08 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								64593c51bb 
								
							 
						 
						
							
							
								
								Move a ton of tables out of SparcInternals.h and move them to Sparc.cpp.  
							
							 
							
							... 
							
							
							
							Eventually they will probably get moved again, but at least now they aren't
having to be compiled by 7 different .cpp files...
llvm-svn: 1666 
							
						 
						
							2002-02-04 00:04:35 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								38aa77b911 
								
							 
						 
						
							
							
								
								Convert sparc backend over to use pass based compilation structure.  
							
							 
							
							... 
							
							
							
							Try to decouple stuff as much as possible.
llvm-svn: 1664 
							
						 
						
							2002-02-03 23:42:19 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								84fa1e7801 
								
							 
						 
						
							
							
								
								Convert sparc backend over to use pass based compilation structure.  
							
							 
							
							... 
							
							
							
							Convert some stages into passes in preparation for more splitting up.
Try to decouple stuff as much as possible.
llvm-svn: 1663 
							
						 
						
							2002-02-03 23:41:51 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								d682045227 
								
							 
						 
						
							
							
								
								Convert assembly emission over to a two pass approach.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1662 
							
						 
						
							2002-02-03 23:41:08 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								eda6bd71a0 
								
							 
						 
						
							
							
								
								Code pulled out of MAchineInstr.(h|cpp)  
							
							 
							
							... 
							
							
							
							llvm-svn: 1660 
							
						 
						
							2002-02-03 07:54:50 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								4b361376f0 
								
							 
						 
						
							
							
								
								Switch from MachineCodeForVMInstr model that is built into the VMCore library to an annotation based MAchineCodeForInstruction model  
							
							 
							
							... 
							
							
							
							Instruction.cpp now has 0 lines of code generation related code in it.
llvm-svn: 1658 
							
						 
						
							2002-02-03 07:52:58 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								029af0b37f 
								
							 
						 
						
							
							
								
								Add a file level comment  
							
							 
							
							... 
							
							
							
							Remove #includes
llvm-svn: 1657 
							
						 
						
							2002-02-03 07:52:04 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								92a49c5cae 
								
							 
						 
						
							
							
								
								Implement new method by method assembly output & memory releasing  
							
							 
							
							... 
							
							
							
							llvm-svn: 1656 
							
						 
						
							2002-02-03 07:51:17 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								477923d0d4 
								
							 
						 
						
							
							
								
								* Switch to new TmpInstruction model  
							
							 
							
							... 
							
							
							
							* Switch to new MachineCodeForInstruction model
llvm-svn: 1655 
							
						 
						
							2002-02-03 07:50:56 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								f08669fcbc 
								
							 
						 
						
							
							
								
								* Switch to new TmpInstruction model  
							
							 
							
							... 
							
							
							
							llvm-svn: 1654 
							
						 
						
							2002-02-03 07:49:49 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								0752167009 
								
							 
						 
						
							
							
								
								* Swithc to new MachineCodeForInstruction model  
							
							 
							
							... 
							
							
							
							* Implement memory freeing for instruction temporaries
llvm-svn: 1653 
							
						 
						
							2002-02-03 07:49:15 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								e772d28862 
								
							 
						 
						
							
							
								
								* prune #includes  
							
							 
							
							... 
							
							
							
							* Implement permethod output of machine code to assembly
llvm-svn: 1652 
							
						 
						
							2002-02-03 07:48:06 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								621457a34b 
								
							 
						 
						
							
							
								
								Add #include that is no longer implicitly included  
							
							 
							
							... 
							
							
							
							llvm-svn: 1651 
							
						 
						
							2002-02-03 07:47:05 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								abafc3bc70 
								
							 
						 
						
							
							
								
								Lots of code cleanups, no functional changes  
							
							 
							
							... 
							
							
							
							llvm-svn: 1650 
							
						 
						
							2002-02-03 07:46:34 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								4cec147d4e 
								
							 
						 
						
							
							
								
								* Prune #includes  
							
							 
							
							... 
							
							
							
							* Remove MachineCodeFor(Method|VMInstr) code to their own .cpp files
llvm-svn: 1649 
							
						 
						
							2002-02-03 07:46:01 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								b86d191dbe 
								
							 
						 
						
							
							
								
								* Switch over to cleaner TmpInstruction model  
							
							 
							
							... 
							
							
							
							llvm-svn: 1648 
							
						 
						
							2002-02-03 07:39:06 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								e59929f7b2 
								
							 
						 
						
							
							
								
								* Straighten out #includes  
							
							 
							
							... 
							
							
							
							* Switch to MAchineCodeForInstruction model instead of MachineCodeForVMInstr
llvm-svn: 1647 
							
						 
						
							2002-02-03 07:33:46 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								0068ea26d7 
								
							 
						 
						
							
							
								
								* Swich to annotation model for MachineCodeForInstruction  
							
							 
							
							... 
							
							
							
							llvm-svn: 1646 
							
						 
						
							2002-02-03 07:31:41 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								02d8e37cae 
								
							 
						 
						
							
							
								
								Remove extraneous #includes  
							
							 
							
							... 
							
							
							
							llvm-svn: 1645 
							
						 
						
							2002-02-03 07:30:08 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								a17c469136 
								
							 
						 
						
							
							
								
								* Straighten out #includes  
							
							 
							
							... 
							
							
							
							* Switch from MachineCodeForVMInstr to MachineCodeForInstruction model
llvm-svn: 1644 
							
						 
						
							2002-02-03 07:29:45 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								7c9c85947c 
								
							 
						 
						
							
							
								
								* Get machine instrs from Instructin's by using MachineCodeForInstruction::get  
							
							 
							
							... 
							
							
							
							* Convert a few (*X). to X->
llvm-svn: 1643 
							
						 
						
							2002-02-03 07:28:30 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								6f27b7d41c 
								
							 
						 
						
							
							
								
								Lots of nonfunctional code cleanups  
							
							 
							
							... 
							
							
							
							llvm-svn: 1642 
							
						 
						
							2002-02-03 07:25:25 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								6316f38c96 
								
							 
						 
						
							
							
								
								Add a class forward decl  
							
							 
							
							... 
							
							
							
							llvm-svn: 1637 
							
						 
						
							2002-02-03 07:13:04 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								86595ae342 
								
							 
						 
						
							
							
								
								General cleanup  
							
							 
							
							... 
							
							
							
							llvm-svn: 1628 
							
						 
						
							2002-02-01 04:53:48 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								f2f31bdfb5 
								
							 
						 
						
							
							
								
								Add more debug output  
							
							 
							
							... 
							
							
							
							llvm-svn: 1627 
							
						 
						
							2002-02-01 04:53:36 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								ac3e060c59 
								
							 
						 
						
							
							
								
								* Make debugging output nicer  
							
							 
							
							... 
							
							
							
							* Implement pass memory freeing after the pass is unused
* Expose PassManager typedef in Pass.h instead of PassManager.h
llvm-svn: 1617 
							
						 
						
							2002-01-31 18:32:27 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								a5e103a2ae 
								
							 
						 
						
							
							
								
								Provide the right AnalysisID for postdominators  
							
							 
							
							... 
							
							
							
							llvm-svn: 1616 
							
						 
						
							2002-01-31 18:29:24 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								f9f2896c48 
								
							 
						 
						
							
							
								
								Eliminate SimplifyCFG.h file, pull everything into the UnifyMethodExitNodes class  
							
							 
							
							... 
							
							
							
							llvm-svn: 1613 
							
						 
						
							2002-01-31 01:12:06 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								352151e222 
								
							 
						 
						
							
							
								
								MethodPass's are now guaranteed to not be run on external methods!  
							
							 
							
							... 
							
							
							
							llvm-svn: 1611 
							
						 
						
							2002-01-31 00:51:24 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								cdd09c2c17 
								
							 
						 
						
							
							
								
								Implement new pass framework  
							
							 
							
							... 
							
							
							
							llvm-svn: 1606 
							
						 
						
							2002-01-31 00:45:31 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								d5d56780e2 
								
							 
						 
						
							
							
								
								Convert xforms over to new pass structure.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1605 
							
						 
						
							2002-01-31 00:45:11 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								c2ef08ccf5 
								
							 
						 
						
							
							
								
								If an invalid alternative is listed for an argument, print the valid options  
							
							 
							
							... 
							
							
							
							llvm-svn: 1604 
							
						 
						
							2002-01-31 00:42:56 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								ccf571a408 
								
							 
						 
						
							
							
								
								Convert analyses to new pass structure  
							
							 
							
							... 
							
							
							
							llvm-svn: 1603 
							
						 
						
							2002-01-31 00:42:27 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								979d11db14 
								
							 
						 
						
							
							
								
								Implement loop depth calculation in terms of dominators instead of intervals  
							
							 
							
							... 
							
							
							
							No problems with irreducibility now
llvm-svn: 1602 
							
						 
						
							2002-01-31 00:42:06 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								9fcaf328f6 
								
							 
						 
						
							
							
								
								LoopDepth calculation is now in CFG namespace  
							
							 
							
							... 
							
							
							
							llvm-svn: 1601 
							
						 
						
							2002-01-31 00:41:13 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								2eaac39d9e 
								
							 
						 
						
							
							
								
								Fix bug where we didn't initialize and finalize basic block passes  
							
							 
							
							... 
							
							
							
							llvm-svn: 1599 
							
						 
						
							2002-01-31 00:40:44 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								67d256568f 
								
							 
						 
						
							
							
								
								Checkin new pass framework.  This one is more useful and automatically  
							
							 
							
							... 
							
							
							
							creates analysis results for passes that need them.   MethodPass's never
have to worry about being invoked on external methods.
llvm-svn: 1594 
							
						 
						
							2002-01-30 23:20:39 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								d5851db315 
								
							 
						 
						
							
							
								
								Remove extraneous #includes  
							
							 
							
							... 
							
							
							
							llvm-svn: 1588 
							
						 
						
							2002-01-26 22:47:32 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								7209dc2446 
								
							 
						 
						
							
							
								
								Remove opt namespace  
							
							 
							
							... 
							
							
							
							llvm-svn: 1587 
							
						 
						
							2002-01-26 22:47:07 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								36faf3a99c 
								
							 
						 
						
							
							
								
								This checkin fixes the bug described in:  
							
							 
							
							... 
							
							
							
							test/Regression/Assembler/2002-01-24-BadSymbolTableAssert.ll
llvm-svn: 1583 
							
						 
						
							2002-01-25 03:56:34 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								67e5c29ae4 
								
							 
						 
						
							
							
								
								Check in fix for bug: test/Regression/Assembler/ValueRefineAbsType.ll  
							
							 
							
							... 
							
							
							
							llvm-svn: 1582 
							
						 
						
							2002-01-25 03:45:27 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								8f52ffd3ce 
								
							 
						 
						
							
							
								
								Implement the clock() function  
							
							 
							
							... 
							
							
							
							llvm-svn: 1573 
							
						 
						
							2002-01-23 21:38:07 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								d013ba96a9 
								
							 
						 
						
							
							
								
								* Expose new command line arg --debug-pass for gccas and llc debugging  
							
							 
							
							... 
							
							
							
							* Remember to initialize MethodPassBatcher::BBPBatcher instance var in ctor
* Move PassManager::run() from header file
llvm-svn: 1556 
							
						 
						
							2002-01-23 05:49:41 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								ccbd4e4643 
								
							 
						 
						
							
							
								
								Implement new DeadInstElmination pass  
							
							 
							
							... 
							
							
							
							remove old comment
llvm-svn: 1555 
							
						 
						
							2002-01-23 05:48:24 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								447fd86599 
								
							 
						 
						
							
							
								
								Make it build with 2.95.3  
							
							 
							
							... 
							
							
							
							llvm-svn: 1554 
							
						 
						
							2002-01-23 05:47:57 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								9c56a28309 
								
							 
						 
						
							
							
								
								Oops, misnamed function, didn't override correctly, drat.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1528 
							
						 
						
							2002-01-22 03:30:25 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								70090079e7 
								
							 
						 
						
							
							
								
								Don't insert a useless cast  
							
							 
							
							... 
							
							
							
							llvm-svn: 1527 
							
						 
						
							2002-01-22 03:30:06 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								3787ee6be6 
								
							 
						 
						
							
							
								
								Rename LowerAllocations.h to ChangeAllocations.h since it now contains the  
							
							 
							
							... 
							
							
							
							RaiseAllocations pass as well.
llvm-svn: 1525 
							
						 
						
							2002-01-22 01:04:08 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								654b5bc77a 
								
							 
						 
						
							
							
								
								Ooops, forgot to implement void PassManager::add(BasicBlockPass *BBP)  
							
							 
							
							... 
							
							
							
							llvm-svn: 1523 
							
						 
						
							2002-01-22 00:17:48 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								4f0f09757d 
								
							 
						 
						
							
							
								
								Pull RaiseAllocations stuff out of the CleanGCC pass into it's own pass in  
							
							 
							
							... 
							
							
							
							the ChangeAllocations.h header file.
llvm-svn: 1522 
							
						 
						
							2002-01-22 00:13:51 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								d07471d6c3 
								
							 
						 
						
							
							
								
								LowerAllocations is really a BasicBlock pass.  Make it so.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1521 
							
						 
						
							2002-01-21 23:34:02 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								ee965abc36 
								
							 
						 
						
							
							
								
								Move stuff out of the Optimizations directories into the appropriate Transforms  
							
							 
							
							... 
							
							
							
							directories.  Eliminate the opt namespace.
llvm-svn: 1520 
							
						 
						
							2002-01-21 23:17:48 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								4f32cf118a 
								
							 
						 
						
							
							
								
								Chuck fixed the GCC problems so this hack is now unneccesary  
							
							 
							
							... 
							
							
							
							llvm-svn: 1519 
							
						 
						
							2002-01-21 23:17:07 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								8cc83611e6 
								
							 
						 
						
							
							
								
								Elminate an unused variable  
							
							 
							
							... 
							
							
							
							llvm-svn: 1518 
							
						 
						
							2002-01-21 23:16:30 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								4a75c2b248 
								
							 
						 
						
							
							
								
								Eliminate opt library  
							
							 
							
							... 
							
							
							
							llvm-svn: 1516 
							
						 
						
							2002-01-21 23:13:46 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								b07bf170c6 
								
							 
						 
						
							
							
								
								Remove dead variable  
							
							 
							
							... 
							
							
							
							llvm-svn: 1515 
							
						 
						
							2002-01-21 22:50:38 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								61c6aeb6fe 
								
							 
						 
						
							
							
								
								Remove dead variable.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1514 
							
						 
						
							2002-01-21 22:44:57 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								d9f1ab2077 
								
							 
						 
						
							
							
								
								Pull stuff out of opt namespace  
							
							 
							
							... 
							
							
							
							llvm-svn: 1511 
							
						 
						
							2002-01-21 21:44:38 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								c940c536ab 
								
							 
						 
						
							
							
								
								Rename SwapStructureContents -> IPO/SimpleStructMutation  
							
							 
							
							... 
							
							
							
							Move MutateStructTypes.(cpp|h) -> IPO/MutateStructTypes.(cpp|h)
llvm-svn: 1510 
							
						 
						
							2002-01-21 07:52:35 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								26e4f89419 
								
							 
						 
						
							
							
								
								Implementation of the new spiffy pass system  
							
							 
							
							... 
							
							
							
							llvm-svn: 1508 
							
						 
						
							2002-01-21 07:37:31 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								0686e435d1 
								
							 
						 
						
							
							
								
								Implement a more powerful, simpler, pass system.  This pass system can figure  
							
							 
							
							... 
							
							
							
							out how to run a collection of passes optimially given their behaviors and
charactaristics.
Convert code to use it.
llvm-svn: 1507 
							
						 
						
							2002-01-21 07:31:50 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								73da1cea60 
								
							 
						 
						
							
							
								
								Oops lost a parenthesis somehow  :(  
							
							 
							
							... 
							
							
							
							llvm-svn: 1504 
							
						 
						
							2002-01-21 01:33:12 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								7f74a56e24 
								
							 
						 
						
							
							
								
								Changes to build successfully with GCC 3.02  
							
							 
							
							... 
							
							
							
							llvm-svn: 1503 
							
						 
						
							2002-01-20 22:54:45 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								bc28455806 
								
							 
						 
						
							
							
								
								Fixed a bug in spill cost estimation  
							
							 
							
							... 
							
							
							
							llvm-svn: 1500 
							
						 
						
							2002-01-08 16:29:23 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								a42a7e78b6 
								
							 
						 
						
							
							
								
								PhyRegAlloc.cpp: Added temp area resetting before every call  
							
							 
							
							... 
							
							
							
							llvm-svn: 1499 
							
						 
						
							2002-01-07 21:09:06 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								f4c2dddcda 
								
							 
						 
						
							
							
								
								Added more comments  
							
							 
							
							... 
							
							
							
							llvm-svn: 1498 
							
						 
						
							2002-01-07 21:03:42 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								c07341f999 
								
							 
						 
						
							
							
								
								removed SizeOfStackOperand constant from the SparcRegInfo class - no longer used  
							
							 
							
							... 
							
							
							
							by code.
llvm-svn: 1497 
							
						 
						
							2002-01-07 20:33:44 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								57386b570f 
								
							 
						 
						
							
							
								
								Added more comments  
							
							 
							
							... 
							
							
							
							llvm-svn: 1496 
							
						 
						
							2002-01-07 20:28:49 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								4cfbfd599a 
								
							 
						 
						
							
							
								
								Added comments and correct logic for finding register sizes.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1494 
							
						 
						
							2002-01-07 19:20:28 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								8c2d8256a9 
								
							 
						 
						
							
							
								
								Added destructors and comments.  
							
							 
							
							... 
							
							
							
							Added correct spill candidate selection logic.
llvm-svn: 1493 
							
						 
						
							2002-01-07 19:19:18 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								f20079dfed 
								
							 
						 
						
							
							
								
								Added comments, destructors where necessary.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1491 
							
						 
						
							2002-01-07 19:16:26 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								ecce65a4ba 
								
							 
						 
						
							
							
								
								Eliminate function getIndicesBROKEN().  
							
							 
							
							... 
							
							
							
							llvm-svn: 1486 
							
						 
						
							2001-12-15 00:37:12 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								cb2335f13f 
								
							 
						 
						
							
							
								
								Eliminate all uses of memInst->getIndicesBROKEN().  
							
							 
							
							... 
							
							
							
							llvm-svn: 1485 
							
						 
						
							2001-12-15 00:36:32 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								721fee255c 
								
							 
						 
						
							
							
								
								getIndexedOffset() shd take vector of Values, not of Constants!  
							
							 
							
							... 
							
							
							
							llvm-svn: 1484 
							
						 
						
							2001-12-15 00:35:48 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								8234b04143 
								
							 
						 
						
							
							
								
								Remove int hack to allow unsigned numbers greater than 2^63 - 1...  
							
							 
							
							... 
							
							
							
							llvm-svn: 1483 
							
						 
						
							2001-12-15 00:33:36 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								ca081257e5 
								
							 
						 
						
							
							
								
								initial checkin  
							
							 
							
							... 
							
							
							
							llvm-svn: 1480 
							
						 
						
							2001-12-14 16:52:21 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								24404f8223 
								
							 
						 
						
							
							
								
								* Support the new -q flag for automated tests  
							
							 
							
							... 
							
							
							
							* Remove unsized array support
* Add pointer indexing support
llvm-svn: 1477 
							
						 
						
							2001-12-14 16:49:29 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								195b8779dc 
								
							 
						 
						
							
							
								
								* Assert that indices are valid for an indexing instruction.  
							
							 
							
							... 
							
							
							
							* Add support for indexing into pointers
* Remove support for unsized arrays
llvm-svn: 1472 
							
						 
						
							2001-12-14 16:43:26 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								6d6f01a488 
								
							 
						 
						
							
							
								
								Rename ConstPoolVals.cpp to Constants.cpp  
							
							 
							
							... 
							
							
							
							llvm-svn: 1471 
							
						 
						
							2001-12-14 16:42:30 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								44d49e2bb8 
								
							 
						 
						
							
							
								
								Remove unsized array support  
							
							 
							
							... 
							
							
							
							Add new SequentialType class
llvm-svn: 1470 
							
						 
						
							2001-12-14 16:41:56 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								bec9b0b9ef 
								
							 
						 
						
							
							
								
								Make strings SByte* arrays instead of UByte * arrays  
							
							 
							
							... 
							
							
							
							llvm-svn: 1469 
							
						 
						
							2001-12-14 16:41:18 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								3655cfb4e2 
								
							 
						 
						
							
							
								
								* isFirstClassType is now provided by the Type class  
							
							 
							
							... 
							
							
							
							* Add ReplaceInstWithInst
llvm-svn: 1468 
							
						 
						
							2001-12-14 16:39:22 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								9dedd32ff4 
								
							 
						 
						
							
							
								
								* add ReplaceInstWithInst  
							
							 
							
							... 
							
							
							
							* Add support for pointer indexing
* Fix minor bugs that are majorly annoying
llvm-svn: 1467 
							
						 
						
							2001-12-14 16:38:59 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								b3364fc169 
								
							 
						 
						
							
							
								
								Remove unsized array support  
							
							 
							
							... 
							
							
							
							llvm-svn: 1466 
							
						 
						
							2001-12-14 16:38:04 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								b457653c6f 
								
							 
						 
						
							
							
								
								* Support pointer indexing  
							
							 
							
							... 
							
							
							
							* Unsized arrays are a thing of the past, remove DoInsertArrayCast family
* Remove cases were we would get into infinite loops because we would insert a cast
  which would then be removed, inserting a different cast, ad infinitum...
* Remove some code that should be redundant with ExprTypeConvert code
llvm-svn: 1465 
							
						 
						
							2001-12-14 16:37:52 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								3e88b44afc 
								
							 
						 
						
							
							
								
								Many many changes and bugfixes:  
							
							 
							
							... 
							
							
							
							* Remove support for unsized arrays
* Add pointer indexing support
* Allow more arbitrary malloc type changes (which are too generous currently
  and should be fixed in the future)
* Allow more and better conversions
llvm-svn: 1464 
							
						 
						
							2001-12-14 16:35:53 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								11439b2360 
								
							 
						 
						
							
							
								
								The proper prototype for malloc returns a pointer, not an unsized array  
							
							 
							
							... 
							
							
							
							llvm-svn: 1463 
							
						 
						
							2001-12-14 16:32:20 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								7dc20864b6 
								
							 
						 
						
							
							
								
								Allow pointer indexing  
							
							 
							
							... 
							
							
							
							llvm-svn: 1462 
							
						 
						
							2001-12-14 16:31:26 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								b2b1b3d036 
								
							 
						 
						
							
							
								
								Remove unsized array support  
							
							 
							
							... 
							
							
							
							llvm-svn: 1461 
							
						 
						
							2001-12-14 16:30:51 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								f4ba330416 
								
							 
						 
						
							
							
								
								Add pointer indexing support  
							
							 
							
							... 
							
							
							
							llvm-svn: 1460 
							
						 
						
							2001-12-14 16:30:09 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								3cb3a1f06c 
								
							 
						 
						
							
							
								
								Don't waste as much horizontal space on #uses flag when printing  
							
							 
							
							... 
							
							
							
							llvm-svn: 1459 
							
						 
						
							2001-12-14 16:29:12 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								ef99d3c144 
								
							 
						 
						
							
							
								
								* Fix cases where we were calling Type->getName() instead of Type->getDescription()  
							
							 
							
							... 
							
							
							
							* Remove unsized array support
* Malloc/alloca do not require that the first element be an unsized array to be an
  array allocation
llvm-svn: 1458 
							
						 
						
							2001-12-14 16:28:42 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								f1197b0d43 
								
							 
						 
						
							
							
								
								* Refactor trace values to work as a proper pass.  Before it used to add  
							
							 
							
							... 
							
							
							
							methods while the pass was running which was a no no.  Now it adds the
  printf method at pass initialization
* Revamp code to use printf calls instead of the old style print_<type>
  calls.
* Simplify code
llvm-svn: 1457 
							
						 
						
							2001-12-14 16:26:05 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								1a98b28bde 
								
							 
						 
						
							
							
								
								added a section on how to modify live variable code to use LLVM instructions  
							
							 
							
							... 
							
							
							
							instead of machine instructions.
llvm-svn: 1451 
							
						 
						
							2001-12-13 21:25:46 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								6650d18892 
								
							 
						 
						
							
							
								
								Not just arrays are unsized  
							
							 
							
							... 
							
							
							
							llvm-svn: 1450 
							
						 
						
							2001-12-13 00:46:11 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								f5c6f65e7f 
								
							 
						 
						
							
							
								
								Assertion could never fail because another one would in it's place.  :)  
							
							 
							
							... 
							
							
							
							llvm-svn: 1449 
							
						 
						
							2001-12-13 00:45:40 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								cdbcb1fd17 
								
							 
						 
						
							
							
								
								Some programs are using BB's as values, until we resolve this. Disable the assert  
							
							 
							
							... 
							
							
							
							llvm-svn: 1448 
							
						 
						
							2001-12-13 00:45:06 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								403ff802a3 
								
							 
						 
						
							
							
								
								Build runtime library with local GCCAS  
							
							 
							
							... 
							
							
							
							llvm-svn: 1447 
							
						 
						
							2001-12-13 00:44:23 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								60a9a23aba 
								
							 
						 
						
							
							
								
								Implement sprintf  
							
							 
							
							... 
							
							
							
							llvm-svn: 1445 
							
						 
						
							2001-12-13 00:43:47 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								156344c890 
								
							 
						 
						
							
							
								
								Swap operands now preserves the semantics of the binary operator by changing  
							
							 
							
							... 
							
							
							
							the opcode of the instruction if possible.
llvm-svn: 1444 
							
						 
						
							2001-12-13 00:43:03 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								25450e32c0 
								
							 
						 
						
							
							
								
								Add debugging to make a more useful message if a value gets constructed with a null type  
							
							 
							
							... 
							
							
							
							llvm-svn: 1443 
							
						 
						
							2001-12-13 00:41:27 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								4552ee447a 
								
							 
						 
						
							
							
								
								Added more comments. Added code to destructor in MethodLiveVarInfo to delete  
							
							 
							
							... 
							
							
							
							LiveVarSet caches.
llvm-svn: 1435 
							
						 
						
							2001-12-08 21:05:27 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								565a5c423d 
								
							 
						 
						
							
							
								
								Added comments are more documentation info  
							
							 
							
							... 
							
							
							
							llvm-svn: 1434 
							
						 
						
							2001-12-08 21:04:22 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								e51379766b 
								
							 
						 
						
							
							
								
								Implement more general conversions for getelementptr instructions  
							
							 
							
							... 
							
							
							
							llvm-svn: 1432 
							
						 
						
							2001-12-07 04:40:30 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								dae4d63ddf 
								
							 
						 
						
							
							
								
								Remove code that is superceeded by code in ExprTypeConvert.cpp  
							
							 
							
							... 
							
							
							
							llvm-svn: 1431 
							
						 
						
							2001-12-07 04:39:01 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								72da4460b3 
								
							 
						 
						
							
							
								
								Don't insert scales of 1  :)  
							
							 
							
							... 
							
							
							
							llvm-svn: 1430 
							
						 
						
							2001-12-07 04:26:02 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								7af2be143d 
								
							 
						 
						
							
							
								
								Do not pessimize users of this function.  Fix logic.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1428 
							
						 
						
							2001-12-06 18:06:37 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								71ffba7b70 
								
							 
						 
						
							
							
								
								We can do cast-add elimination even on casts that reinterpret  
							
							 
							
							... 
							
							
							
							llvm-svn: 1427 
							
						 
						
							2001-12-06 18:06:13 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								b1995e1e69 
								
							 
						 
						
							
							
								
								Fix bug that caused invalid transformations to be applied  
							
							 
							
							... 
							
							
							
							llvm-svn: 1426 
							
						 
						
							2001-12-06 18:05:55 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								674394077f 
								
							 
						 
						
							
							
								
								Actually return true when a change has been made  
							
							 
							
							... 
							
							
							
							llvm-svn: 1425 
							
						 
						
							2001-12-05 19:41:33 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								8d16760c21 
								
							 
						 
						
							
							
								
								Handle more complex array indexing expressions  
							
							 
							
							... 
							
							
							
							llvm-svn: 1424 
							
						 
						
							2001-12-05 19:41:16 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								1d244625c0 
								
							 
						 
						
							
							
								
								Fix pessimizations on sized arrays  
							
							 
							
							... 
							
							
							
							llvm-svn: 1423 
							
						 
						
							2001-12-05 19:40:32 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								ad08d2fd8e 
								
							 
						 
						
							
							
								
								Fix a few bugs.  Fix pessimization handling sized arrays  
							
							 
							
							... 
							
							
							
							llvm-svn: 1422 
							
						 
						
							2001-12-05 19:39:15 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								be68833765 
								
							 
						 
						
							
							
								
								"fix" problems processing floating point expressions  
							
							 
							
							... 
							
							
							
							llvm-svn: 1421 
							
						 
						
							2001-12-05 19:38:29 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								cd7fb504a5 
								
							 
						 
						
							
							
								
								Hrm, don't do debugging output when debugging is off.  :(  
							
							 
							
							... 
							
							
							
							llvm-svn: 1420 
							
						 
						
							2001-12-05 06:40:17 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								617aaaad86 
								
							 
						 
						
							
							
								
								Fixes to type conversion stuff to match induction variables more frequently  
							
							 
							
							... 
							
							
							
							llvm-svn: 1417 
							
						 
						
							2001-12-05 06:34:00 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								1bedac9af0 
								
							 
						 
						
							
							
								
								Fix a bug that clobbered the step value on some inputs  
							
							 
							
							... 
							
							
							
							llvm-svn: 1416 
							
						 
						
							2001-12-05 06:32:30 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								25b151dfdf 
								
							 
						 
						
							
							
								
								Fix a bug introduced by "internal linkage" work.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1415 
							
						 
						
							2001-12-04 18:01:49 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								d23d752dc5 
								
							 
						 
						
							
							
								
								Fix bugs, don't do external methods which causes segv.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1414 
							
						 
						
							2001-12-04 08:13:06 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								4c160c39b4 
								
							 
						 
						
							
							
								
								Remove printouts  
							
							 
							
							... 
							
							
							
							llvm-svn: 1413 
							
						 
						
							2001-12-04 08:12:53 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								54794fe11f 
								
							 
						 
						
							
							
								
								Fix a pessimization due to sucky LI testing  
							
							 
							
							... 
							
							
							
							llvm-svn: 1412 
							
						 
						
							2001-12-04 08:12:47 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								91daaabb56 
								
							 
						 
						
							
							
								
								Implement induction variable simplification  
							
							 
							
							... 
							
							
							
							llvm-svn: 1411 
							
						 
						
							2001-12-04 04:32:29 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								1366b3019e 
								
							 
						 
						
							
							
								
								Allow hyphens in identifier names  
							
							 
							
							... 
							
							
							
							llvm-svn: 1409 
							
						 
						
							2001-12-04 04:31:30 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								2413b160ec 
								
							 
						 
						
							
							
								
								Renamed inst_const_iterator -> const_inst_iterator  
							
							 
							
							... 
							
							
							
							Renamed op_const_iterator   -> const_op_iterator
Renamed PointerType::getValueType() -> PointerType::getElementType()
llvm-svn: 1408 
							
						 
						
							2001-12-04 00:03:30 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								3462ae3ad7 
								
							 
						 
						
							
							
								
								Rename ConstPoolVal -> Constant  
							
							 
							
							... 
							
							
							
							Rename ConstPool*   -> Constant*
Rename ConstPoolVals.h -> ConstantVals.h
llvm-svn: 1407 
							
						 
						
							2001-12-03 22:26:30 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								fb5ae02e1a 
								
							 
						 
						
							
							
								
								Split the PHINode class out from the iOther.h file into the iPHINode.h file  
							
							 
							
							... 
							
							
							
							llvm-svn: 1405 
							
						 
						
							2001-12-03 18:02:31 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								476e6df794 
								
							 
						 
						
							
							
								
								Initial checkin of indvar stuff  
							
							 
							
							... 
							
							
							
							llvm-svn: 1404 
							
						 
						
							2001-12-03 17:28:42 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								f55d8013d9 
								
							 
						 
						
							
							
								
								Compile the scalar directory  
							
							 
							
							... 
							
							
							
							llvm-svn: 1403 
							
						 
						
							2001-12-03 17:28:15 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								66d9ceaaba 
								
							 
						 
						
							
							
								
								Induction variables must be phi nodes  
							
							 
							
							... 
							
							
							
							llvm-svn: 1402 
							
						 
						
							2001-12-03 17:27:42 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								b4c677745e 
								
							 
						 
						
							
							
								
								Move support directory  
							
							 
							
							... 
							
							
							
							llvm-svn: 1401 
							
						 
						
							2001-11-29 16:32:16 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								5de2204fe8 
								
							 
						 
						
							
							
								
								Create a new #include "Support/..." directory structure to move things  
							
							 
							
							... 
							
							
							
							from "llvm/Support/..." that are not llvm dependant.
Move files and fix #includes
llvm-svn: 1400 
							
						 
						
							2001-11-27 00:03:19 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								f679703feb 
								
							 
						 
						
							
							
								
								Move DataTypes.h from llvm/Support to just Support  
							
							 
							
							... 
							
							
							
							llvm-svn: 1399 
							
						 
						
							2001-11-26 23:04:08 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								54d5928569 
								
							 
						 
						
							
							
								
								Turn off debug info  
							
							 
							
							... 
							
							
							
							llvm-svn: 1396 
							
						 
						
							2001-11-26 19:36:58 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								56f1f594fd 
								
							 
						 
						
							
							
								
								Use pointertype where appropriate  
							
							 
							
							... 
							
							
							
							llvm-svn: 1392 
							
						 
						
							2001-11-26 19:20:16 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								e977e5d973 
								
							 
						 
						
							
							
								
								Remove invalid,unneccesary ## token  
							
							 
							
							... 
							
							
							
							llvm-svn: 1391 
							
						 
						
							2001-11-26 19:19:27 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								7a787227d8 
								
							 
						 
						
							
							
								
								Implement internal  
							
							 
							
							... 
							
							
							
							llvm-svn: 1385 
							
						 
						
							2001-11-26 19:14:56 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								302014f2e7 
								
							 
						 
						
							
							
								
								Make strings be internal  
							
							 
							
							... 
							
							
							
							llvm-svn: 1384 
							
						 
						
							2001-11-26 19:14:33 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								1416a2992e 
								
							 
						 
						
							
							
								
								Remove debugging output  
							
							 
							
							... 
							
							
							
							llvm-svn: 1383 
							
						 
						
							2001-11-26 19:14:16 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								4219baafb5 
								
							 
						 
						
							
							
								
								Support internal linkage  
							
							 
							
							... 
							
							
							
							llvm-svn: 1382 
							
						 
						
							2001-11-26 19:14:03 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								660c2f0e6f 
								
							 
						 
						
							
							
								
								Build IPO directory  
							
							 
							
							... 
							
							
							
							llvm-svn: 1381 
							
						 
						
							2001-11-26 18:59:30 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								22fd21ed16 
								
							 
						 
						
							
							
								
								Implement support for internal methods  
							
							 
							
							... 
							
							
							
							llvm-svn: 1380 
							
						 
						
							2001-11-26 18:59:18 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								ee568eb459 
								
							 
						 
						
							
							
								
								Include const prop as part of -raise  
							
							 
							
							... 
							
							
							
							llvm-svn: 1379 
							
						 
						
							2001-11-26 18:58:55 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								f0f9105d4f 
								
							 
						 
						
							
							
								
								* Implement support for folding multiple single letter arguments together like  
							
							 
							
							... 
							
							
							
							with ls: ls -la  === ls -l -a
* Implement support for trimming arguments that start with a single letter
  argument so that -lfoo is recognized as -l foo for the linker
llvm-svn: 1378 
							
						 
						
							2001-11-26 18:58:34 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								c4ad64cb9c 
								
							 
						 
						
							
							
								
								Misc cleanups  
							
							 
							
							... 
							
							
							
							llvm-svn: 1377 
							
						 
						
							2001-11-26 18:57:38 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								1f86880af4 
								
							 
						 
						
							
							
								
								Expose constant propogation of an instruction in a clean way  
							
							 
							
							... 
							
							
							
							llvm-svn: 1376 
							
						 
						
							2001-11-26 18:57:12 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								0c8eea1b6f 
								
							 
						 
						
							
							
								
								Stuff after a #endif is not valid CPP input and breaks some compilers  
							
							 
							
							... 
							
							
							
							llvm-svn: 1375 
							
						 
						
							2001-11-26 18:56:52 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								2263733dcf 
								
							 
						 
						
							
							
								
								Implement internal method support  
							
							 
							
							... 
							
							
							
							llvm-svn: 1374 
							
						 
						
							2001-11-26 18:56:10 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								841d8b9e50 
								
							 
						 
						
							
							
								
								Implement support for internal methods  
							
							 
							
							... 
							
							
							
							llvm-svn: 1373 
							
						 
						
							2001-11-26 18:54:16 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								34dfe56c1a 
								
							 
						 
						
							
							
								
								Implement writer support for Loops, Induction Variables, and CallGraphs  
							
							 
							
							... 
							
							
							
							llvm-svn: 1372 
							
						 
						
							2001-11-26 18:53:29 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								b4a7eb10fa 
								
							 
						 
						
							
							
								
								Make Mul work right  
							
							 
							
							... 
							
							
							
							Make sub work right
llvm-svn: 1371 
							
						 
						
							2001-11-26 18:53:07 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								a88403bf31 
								
							 
						 
						
							
							
								
								Fix a bad assertion to be correct . The root basic block can be used by PHI nodes.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1370 
							
						 
						
							2001-11-26 18:52:02 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								03946cd9b6 
								
							 
						 
						
							
							
								
								Implement a new entry node that has edges to all external methods in the module  
							
							 
							
							... 
							
							
							
							llvm-svn: 1369 
							
						 
						
							2001-11-26 18:51:25 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								bd422e6686 
								
							 
						 
						
							
							
								
								Implement DCE of global values  
							
							 
							
							... 
							
							
							
							llvm-svn: 1360 
							
						 
						
							2001-11-26 18:42:17 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								6de9942b92 
								
							 
						 
						
							
							
								
								* Implement dominator based loop identification  
							
							 
							
							... 
							
							
							
							* Implement cleaner induction variable identification
llvm-svn: 1359 
							
						 
						
							2001-11-26 18:41:20 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								5ba757369c 
								
							 
						 
						
							
							
								
								* Implement array indexing in lli  
							
							 
							
							... 
							
							
							
							* Add external atoi method as well as floor, and srand
llvm-svn: 1355 
							
						 
						
							2001-11-26 18:18:18 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								3b30570f9a 
								
							 
						 
						
							
							
								
								Support Array Indexing  
							
							 
							
							... 
							
							
							
							llvm-svn: 1348 
							
						 
						
							2001-11-26 17:02:05 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								1c5e8f5d58 
								
							 
						 
						
							
							
								
								Implement: isLosslesslyConvertableTo and new CompositeType base class  
							
							 
							
							... 
							
							
							
							llvm-svn: 1347 
							
						 
						
							2001-11-26 17:01:47 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								f87b579b9d 
								
							 
						 
						
							
							
								
								If a name conflict occurs when inserting a value, rename it.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1346 
							
						 
						
							2001-11-26 17:01:18 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								330dc57305 
								
							 
						 
						
							
							
								
								Support array indexing  
							
							 
							
							... 
							
							
							
							llvm-svn: 1345 
							
						 
						
							2001-11-26 17:00:43 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								c43c461ca6 
								
							 
						 
						
							
							
								
								Support Composite's, not just structs  
							
							 
							
							... 
							
							
							
							llvm-svn: 1344 
							
						 
						
							2001-11-26 17:00:13 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								03386ec88b 
								
							 
						 
						
							
							
								
								losslessCastableTypes is moved to Type class  
							
							 
							
							... 
							
							
							
							getStructOffsetType supports array indexing
llvm-svn: 1343 
							
						 
						
							2001-11-26 16:59:47 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								2cc6d418fa 
								
							 
						 
						
							
							
								
								Support selectable structure transformations  
							
							 
							
							... 
							
							
							
							llvm-svn: 1342 
							
						 
						
							2001-11-26 16:59:10 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								f80013a917 
								
							 
						 
						
							
							
								
								Support mutation of array indexing  
							
							 
							
							... 
							
							
							
							llvm-svn: 1341 
							
						 
						
							2001-11-26 16:58:33 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								f9378e7d2d 
								
							 
						 
						
							
							
								
								Clean up code, implement array indexing stuff  
							
							 
							
							... 
							
							
							
							llvm-svn: 1340 
							
						 
						
							2001-11-26 16:58:14 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								1df615c834 
								
							 
						 
						
							
							
								
								Implement array indexing reverse engineering  
							
							 
							
							... 
							
							
							
							llvm-svn: 1339 
							
						 
						
							2001-11-26 16:57:31 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								63b52693c8 
								
							 
						 
						
							
							
								
								The old getIndices has been deprecated, because it no longer works.  It now  
							
							 
							
							... 
							
							
							
							is named getIndicesBROKEN() and shall be removed when the codebase is updated
to not call it
llvm-svn: 1338 
							
						 
						
							2001-11-26 16:56:19 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								20faede952 
								
							 
						 
						
							
							
								
								Implement array indexing  
							
							 
							
							... 
							
							
							
							llvm-svn: 1337 
							
						 
						
							2001-11-26 16:54:55 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								476148f95a 
								
							 
						 
						
							
							
								
								Implement array indexing with uints  
							
							 
							
							... 
							
							
							
							llvm-svn: 1336 
							
						 
						
							2001-11-26 16:54:11 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								0ae45bd3f4 
								
							 
						 
						
							
							
								
								* Implement more powerful expr analysis of cast instructions  
							
							 
							
							... 
							
							
							
							llvm-svn: 1335 
							
						 
						
							2001-11-26 16:53:50 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								edbf52c7f9 
								
							 
						 
						
							
							
								
								commented out popAllTempValues since it leads to a bug - see code  
							
							 
							
							... 
							
							
							
							llvm-svn: 1327 
							
						 
						
							2001-11-15 22:03:04 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								7dfa1650a2 
								
							 
						 
						
							
							
								
								Commented some popTempArg.. since it leads to a bug  
							
							 
							
							... 
							
							
							
							llvm-svn: 1326 
							
						 
						
							2001-11-15 22:02:06 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								ec62f24009 
								
							 
						 
						
							
							
								
								Added naming to inserted phi copy values - for easy debugging  
							
							 
							
							... 
							
							
							
							llvm-svn: 1325 
							
						 
						
							2001-11-15 20:46:40 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								c97ccc5cb5 
								
							 
						 
						
							
							
								
								changed since names of some methods in PhyRegAlloc changed  
							
							 
							
							... 
							
							
							
							llvm-svn: 1324 
							
						 
						
							2001-11-15 20:25:07 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								9066899a78 
								
							 
						 
						
							
							
								
								Fixed a bug in setReLRegsUsedByMI  
							
							 
							
							... 
							
							
							
							llvm-svn: 1323 
							
						 
						
							2001-11-15 20:23:19 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								dec9bfd554 
								
							 
						 
						
							
							
								
								Changed some names of methods, added const etc.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1322 
							
						 
						
							2001-11-15 20:22:37 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								5c8f573bbf 
								
							 
						 
						
							
							
								
								Fix use of AllocateLocalVar for alloca instruction!  
							
							 
							
							... 
							
							
							
							llvm-svn: 1319 
							
						 
						
							2001-11-15 15:22:39 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								fbb8a64749 
								
							 
						 
						
							
							
								
								Modify AllocateLocalVar method to take a size argument.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1318 
							
						 
						
							2001-11-15 15:22:26 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								a514745a96 
								
							 
						 
						
							
							
								
								fixed setUsedRegAtMI  
							
							 
							
							... 
							
							
							
							llvm-svn: 1317 
							
						 
						
							2001-11-15 15:00:53 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								b601fda7ce 
								
							 
						 
						
							
							
								
								Print incoming arguments and return values.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1315 
							
						 
						
							2001-11-15 15:00:16 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								821b129755 
								
							 
						 
						
							
							
								
								Fix int->float conversion.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1314 
							
						 
						
							2001-11-15 14:59:56 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								02c43c8609 
								
							 
						 
						
							
							
								
								-cleangcc pass now remove type names that are never referenced and type names for pointers to primitive types.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1312 
							
						 
						
							2001-11-15 04:34:46 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								c5989f645b 
								
							 
						 
						
							
							
								
								Changed phi elimination code  
							
							 
							
							... 
							
							
							
							llvm-svn: 1311 
							
						 
						
							2001-11-15 00:27:14 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								3fb79e61c2 
								
							 
						 
						
							
							
								
								Fix cute little bug that was causing the last  
							
							 
							
							... 
							
							
							
							structure offset to be ignored in computing an offset!
llvm-svn: 1310 
							
						 
						
							2001-11-14 21:24:44 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								64f7567391 
								
							 
						 
						
							
							
								
								Small changed to printing a machine operand - It the operand is a def, it prints  
							
							 
							
							... 
							
							
							
							a star after it - only for debugging
llvm-svn: 1309 
							
						 
						
							2001-11-14 20:05:23 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								cba86d060b 
								
							 
						 
						
							
							
								
								Don't assume constant operand can only be in position 1!  
							
							 
							
							... 
							
							
							
							llvm-svn: 1308 
							
						 
						
							2001-11-14 18:49:45 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								7e833073e3 
								
							 
						 
						
							
							
								
								Add function returning which operand holds immediate constant  
							
							 
							
							... 
							
							
							
							for a given opcode.
llvm-svn: 1307 
							
						 
						
							2001-11-14 18:48:36 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								65d54eb06e 
								
							 
						 
						
							
							
								
								Idiotic error in last fix.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1306 
							
						 
						
							2001-11-14 17:55:02 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								c1b534043f 
								
							 
						 
						
							
							
								
								Don't need to load a NULL pointer constant from memory!  
							
							 
							
							... 
							
							
							
							llvm-svn: 1305 
							
						 
						
							2001-11-14 17:24:49 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								ea1a93b95d 
								
							 
						 
						
							
							
								
								Change latency of SETX to improve schedule -- just a hack.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1304 
							
						 
						
							2001-11-14 15:54:44 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								7765ca8b25 
								
							 
						 
						
							
							
								
								Added support method for setting interference for pseudo instructions  
							
							 
							
							... 
							
							
							
							llvm-svn: 1303 
							
						 
						
							2001-11-14 15:37:13 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								b8be6f6856 
								
							 
						 
						
							
							
								
								Added M_PSEUDO_FLAG for SETX .. instr  
							
							 
							
							... 
							
							
							
							llvm-svn: 1301 
							
						 
						
							2001-11-14 15:35:13 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								f1acecccb6 
								
							 
						 
						
							
							
								
								Added interference for args in pseudo instructions  
							
							 
							
							... 
							
							
							
							llvm-svn: 1300 
							
						 
						
							2001-11-14 15:33:58 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								af84e627fd 
								
							 
						 
						
							
							
								
								Rename cruft  
							
							 
							
							... 
							
							
							
							llvm-svn: 1299 
							
						 
						
							2001-11-14 11:28:18 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								1237e86597 
								
							 
						 
						
							
							
								
								Remove much cruft from the MemAccessInst instruction  
							
							 
							
							... 
							
							
							
							llvm-svn: 1298 
							
						 
						
							2001-11-14 11:27:58 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								abf40ba6e8 
								
							 
						 
						
							
							
								
								Better heuristics for handling arrays  
							
							 
							
							... 
							
							
							
							llvm-svn: 1296 
							
						 
						
							2001-11-14 11:02:49 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								33c400f6a7 
								
							 
						 
						
							
							
								
								commented out lines printing code after scheduling  
							
							 
							
							... 
							
							
							
							llvm-svn: 1295 
							
						 
						
							2001-11-13 23:12:53 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								36f13d1c2f 
								
							 
						 
						
							
							
								
								Fixed a bug concering LR spilling. Earlier, added spilled code was not inserted  
							
							 
							
							... 
							
							
							
							into the instruction stream correctly.
llvm-svn: 1294 
							
						 
						
							2001-11-13 23:09:30 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								1a9a7f2ef1 
								
							 
						 
						
							
							
								
								Changed checking for invalid register number - earlier it was uisng a contant  
							
							 
							
							... 
							
							
							
							llvm-svn: 1293 
							
						 
						
							2001-11-13 23:08:19 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								9754aba7f0 
								
							 
						 
						
							
							
								
								Implement some more rand functions for em3d benchmark  
							
							 
							
							... 
							
							
							
							llvm-svn: 1291 
							
						 
						
							2001-11-13 05:46:08 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								0cd962fa61 
								
							 
						 
						
							
							
								
								* Change ExpressionConvertableToType to more closely match map behavior of  
							
							 
							
							... 
							
							
							
							ConvertExpressionToType
* Make ValueHandle's remove instruction from maps when they are deleted so that
  no false map hits occur if a subsequent instruction is allocated to the same
  space in memory.  This was a VERY VERY VERY EVIL NASTY BUG to track down. :-P
llvm-svn: 1288 
							
						 
						
							2001-11-13 05:01:36 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								99ed5fb28d 
								
							 
						 
						
							
							
								
								Minor style cleanups  
							
							 
							
							... 
							
							
							
							llvm-svn: 1287 
							
						 
						
							2001-11-13 04:59:58 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								4f8e9468cb 
								
							 
						 
						
							
							
								
								Avoid assertion failure when taking size of unsized array.  Todo item herE  
							
							 
							
							... 
							
							
							
							llvm-svn: 1286 
							
						 
						
							2001-11-13 04:59:41 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								dafc8b909e 
								
							 
						 
						
							
							
								
								Do the same for allocating spills to get their alignment right too.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1285 
							
						 
						
							2001-11-12 23:40:22 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								6e9422e14c 
								
							 
						 
						
							
							
								
								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.
llvm-svn: 1284 
							
						 
						
							2001-11-12 23:26:35 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								4b9c46da24 
								
							 
						 
						
							
							
								
								Bug fix in offset alignment computations: don't subtract the padding  
							
							 
							
							... 
							
							
							
							value from size *before* subtracting size from offset!
llvm-svn: 1283 
							
						 
						
							2001-11-12 23:26:23 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								7e42584354 
								
							 
						 
						
							
							
								
								Remove debug info :(  
							
							 
							
							... 
							
							
							
							llvm-svn: 1280 
							
						 
						
							2001-11-12 21:52:57 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								7c627e7632 
								
							 
						 
						
							
							
								
								Fix bug in new assertion  
							
							 
							
							... 
							
							
							
							llvm-svn: 1279 
							
						 
						
							2001-11-12 21:48:38 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								20e105f4b1 
								
							 
						 
						
							
							
								
								Fixed a bug with pervious ColorCallArg  
							
							 
							
							... 
							
							
							
							llvm-svn: 1278 
							
						 
						
							2001-11-12 20:54:19 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								24e29431bc 
								
							 
						 
						
							
							
								
								Canged ColorCallArg so that when a call arg is directly pushed on to stack  
							
							 
							
							... 
							
							
							
							for argument passing, that instruction is directly added to the InstructionsBefore
set of the called machine instruction - i.e., it is not reordered.
llvm-svn: 1277 
							
						 
						
							2001-11-12 20:31:47 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								f0cd13bc28 
								
							 
						 
						
							
							
								
								Add an assertion check  
							
							 
							
							... 
							
							
							
							llvm-svn: 1276 
							
						 
						
							2001-11-12 20:30:32 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								4a797f461f 
								
							 
						 
						
							
							
								
								I don't know what I was thinking  
							
							 
							
							... 
							
							
							
							llvm-svn: 1275 
							
						 
						
							2001-11-12 20:30:12 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								747f016184 
								
							 
						 
						
							
							
								
								Print percentages for profiling info better  
							
							 
							
							... 
							
							
							
							llvm-svn: 1274 
							
						 
						
							2001-11-12 20:13:14 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								1643e8ec7b 
								
							 
						 
						
							
							
								
								Fix minor bug  
							
							 
							
							... 
							
							
							
							llvm-svn: 1273 
							
						 
						
							2001-11-12 20:13:04 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								c189997516 
								
							 
						 
						
							
							
								
								For phi elimination, now we are generating only one instruction  
							
							 
							
							... 
							
							
							
							using cpValue2Value instead of
passing vector to createCopyInstructionByType.
llvm-svn: 1272 
							
						 
						
							2001-11-12 19:42:27 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								cc3da8c107 
								
							 
						 
						
							
							
								
								Changed insert instructions only for CONSTANTS - back to original  
							
							 
							
							... 
							
							
							
							llvm-svn: 1271 
							
						 
						
							2001-11-12 19:32:04 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								01daa32a92 
								
							 
						 
						
							
							
								
								Disable use of the Phi machine instruction which is no longer needed  
							
							 
							
							... 
							
							
							
							for register allocation.
llvm-svn: 1270 
							
						 
						
							2001-11-12 18:54:11 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								03fae5e5db 
								
							 
						 
						
							
							
								
								Eliminate most uses of the machine instruction vector for each LLVM instr,  
							
							 
							
							... 
							
							
							
							since some m. instr. may be generated by LLVM instrs. in other blocks.
Handle non-SSA (anti and output) edges and true edges uniformly by
working with machine instructions alone.
llvm-svn: 1269 
							
						 
						
							2001-11-12 18:53:43 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								a7482e05d0 
								
							 
						 
						
							
							
								
								Print profile info if exit() is called  
							
							 
							
							... 
							
							
							
							llvm-svn: 1268 
							
						 
						
							2001-11-12 16:28:48 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								e32deb455b 
								
							 
						 
						
							
							
								
								Hack a structure profiling option together  
							
							 
							
							... 
							
							
							
							llvm-svn: 1267 
							
						 
						
							2001-11-12 16:19:45 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								fcdc2ff6e0 
								
							 
						 
						
							
							
								
								Added phi elimination code  
							
							 
							
							... 
							
							
							
							llvm-svn: 1265 
							
						 
						
							2001-11-12 14:45:33 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								9f246e65d3 
								
							 
						 
						
							
							
								
								Added phi elimination code - not final  
							
							 
							
							... 
							
							
							
							llvm-svn: 1264 
							
						 
						
							2001-11-12 14:44:50 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								6e004c0818 
								
							 
						 
						
							
							
								
								Improved printing routines.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1263 
							
						 
						
							2001-11-12 14:19:47 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								dff0a891c1 
								
							 
						 
						
							
							
								
								Major improvement to how nodes are built for a BB.  
							
							 
							
							... 
							
							
							
							LLVM instruction is no longer recorded in each node, but BB is.
llvm-svn: 1262 
							
						 
						
							2001-11-12 14:18:01 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								3b02a35a80 
								
							 
						 
						
							
							
								
								Adjust all stack variable offsets to be aligned by size.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1261 
							
						 
						
							2001-11-12 05:17:23 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								e7dc82ec0d 
								
							 
						 
						
							
							
								
								Fix dumb bug in alignment adjustment code!  
							
							 
							
							... 
							
							
							
							llvm-svn: 1260 
							
						 
						
							2001-11-12 05:16:39 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								68d00415b4 
								
							 
						 
						
							
							
								
								Fix bogus code that was eliminating needed args.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1259 
							
						 
						
							2001-11-11 23:11:36 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								80fc434970 
								
							 
						 
						
							
							
								
								Fixed FP and SP usage. SP for outgoing args - for everything else FP  
							
							 
							
							... 
							
							
							
							llvm-svn: 1258 
							
						 
						
							2001-11-11 22:37:51 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								2d5c48fcc9 
								
							 
						 
						
							
							
								
								cahnged StackPointer accesses to FramePointer  
							
							 
							
							... 
							
							
							
							llvm-svn: 1257 
							
						 
						
							2001-11-11 21:49:37 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								1d5c6e0939 
								
							 
						 
						
							
							
								
								Fix errors in computing downgrowing offsets, and in  
							
							 
							
							... 
							
							
							
							computing size of extra outgoing args.
llvm-svn: 1256 
							
						 
						
							2001-11-11 21:23:33 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								b3b55ae4b1 
								
							 
						 
						
							
							
								
								Down-growing offsets from FP should start at 0, not -1.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1255 
							
						 
						
							2001-11-11 21:22:11 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								6cd83556e6 
								
							 
						 
						
							
							
								
								Only add true dep. edges from an earlier to a later instruction.  
							
							 
							
							... 
							
							
							
							This wasn't a problem until we started putting copies for Phi values
that produced cycles in the SchedGraph!
llvm-svn: 1254 
							
						 
						
							2001-11-11 01:23:27 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								d1d5e97431 
								
							 
						 
						
							
							
								
								Changed code to ignore Phi Nodes in PhyRegAlloc  
							
							 
							
							... 
							
							
							
							llvm-svn: 1253 
							
						 
						
							2001-11-10 21:21:36 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								0c0859846a 
								
							 
						 
						
							
							
								
								Corrected reodering code for instructions inserted before calls  
							
							 
							
							... 
							
							
							
							llvm-svn: 1252 
							
						 
						
							2001-11-10 21:20:43 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								49ec72411e 
								
							 
						 
						
							
							
								
								Initail checking of structure swapper  
							
							 
							
							... 
							
							
							
							llvm-svn: 1248 
							
						 
						
							2001-11-10 07:28:25 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								5dada09565 
								
							 
						 
						
							
							
								
								Initial checkin of structure mutator  
							
							 
							
							... 
							
							
							
							llvm-svn: 1246 
							
						 
						
							2001-11-10 07:26:31 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								295600c417 
								
							 
						 
						
							
							
								
								Several bug fixes in printing constants, particularly with unsized  
							
							 
							
							... 
							
							
							
							arrays and multi-dimensional arrays.
llvm-svn: 1239 
							
						 
						
							2001-11-10 02:03:06 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								209d8e1c3b 
								
							 
						 
						
							
							
								
								Must generate an instruction for GetElementPtr if single user is not  
							
							 
							
							... 
							
							
							
							a memory instruction!
llvm-svn: 1238 
							
						 
						
							2001-11-10 01:05:26 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								1812fc499d 
								
							 
						 
						
							
							
								
								Disabled some debuggin messages  
							
							 
							
							... 
							
							
							
							llvm-svn: 1237 
							
						 
						
							2001-11-10 00:26:55 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								31305c0d57 
								
							 
						 
						
							
							
								
								Coalesing bug fix - now checks for the same regType instead of the same  
							
							 
							
							... 
							
							
							
							regClass since FP class has two reg Types.
llvm-svn: 1236 
							
						 
						
							2001-11-10 00:20:24 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								d499a26116 
								
							 
						 
						
							
							
								
								No major change  
							
							 
							
							... 
							
							
							
							llvm-svn: 1235 
							
						 
						
							2001-11-09 23:49:42 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								d0d294afde 
								
							 
						 
						
							
							
								
								Added code for correct reordering of call arguments  
							
							 
							
							... 
							
							
							
							llvm-svn: 1234 
							
						 
						
							2001-11-09 23:49:14 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								7082e110f7 
								
							 
						 
						
							
							
								
								New pass to find types in use by a program  
							
							 
							
							... 
							
							
							
							llvm-svn: 1232 
							
						 
						
							2001-11-09 05:27:21 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								1c96dfd7af 
								
							 
						 
						
							
							
								
								Added class MachineCacheInfo.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1229 
							
						 
						
							2001-11-09 02:20:18 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								2ccb900add 
								
							 
						 
						
							
							
								
								Add support to print constant arrays and structures.  
							
							 
							
							... 
							
							
							
							Align data larger than an L1 cache line on L1 cache line boundary.
llvm-svn: 1228 
							
						 
						
							2001-11-09 02:19:29 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								bc23cf5521 
								
							 
						 
						
							
							
								
								Do the same for float->int that we did for int->float earlier.  
							
							 
							
							... 
							
							
							
							Also check IsPointerType() in addition to IsIntegral() in several places.
llvm-svn: 1227 
							
						 
						
							2001-11-09 02:18:16 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								e6642f93d4 
								
							 
						 
						
							
							
								
								Added function UltraSparcInstrInfo::CreateCodeToCopyFloatToInt.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1226 
							
						 
						
							2001-11-09 02:16:40 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								f34fa6956d 
								
							 
						 
						
							
							
								
								Added class UltraSparcCacheInfo.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1225 
							
						 
						
							2001-11-09 02:16:04 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								367f34f7cc 
								
							 
						 
						
							
							
								
								Bug fix: Need to include the stack offset "bias" in assembly code itself.  
							
							 
							
							... 
							
							
							
							Added class UltraSparcCacheInfo.
Added function to convert float to int by copying via memory.
llvm-svn: 1224 
							
						 
						
							2001-11-09 02:15:52 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								313a36f2d3 
								
							 
						 
						
							
							
								
								Use node->getOpCode() instead of node->getMachineInstr()->getOpCode().  
							
							 
							
							... 
							
							
							
							Much nicer.
llvm-svn: 1223 
							
						 
						
							2001-11-09 02:14:20 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								0043cc1109 
								
							 
						 
						
							
							
								
								Remove false optimization that basically broke everything  
							
							 
							
							... 
							
							
							
							llvm-svn: 1219 
							
						 
						
							2001-11-09 01:08:10 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								54e9f453c9 
								
							 
						 
						
							
							
								
								* Add better caching of data to avoid silly recusions  
							
							 
							
							... 
							
							
							
							* Only check to see if uses of instructions can be converted for expressions... so we don't look at all of the uses of a constant.  This was making the code unnecessarily conservative
llvm-svn: 1218 
							
						 
						
							2001-11-08 22:06:31 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								2b48b9694c 
								
							 
						 
						
							
							
								
								Add method decl  
							
							 
							
							... 
							
							
							
							llvm-svn: 1217 
							
						 
						
							2001-11-08 20:55:05 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								583e95e0b2 
								
							 
						 
						
							
							
								
								Improve raising significantly  
							
							 
							
							... 
							
							
							
							llvm-svn: 1214 
							
						 
						
							2001-11-08 20:19:56 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								cf66422978 
								
							 
						 
						
							
							
								
								Print the method that makes an instruction invalid  
							
							 
							
							... 
							
							
							
							llvm-svn: 1213 
							
						 
						
							2001-11-08 19:29:51 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								dc709780aa 
								
							 
						 
						
							
							
								
								corrected insertCode4Spilled ...  bug.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1212 
							
						 
						
							2001-11-08 19:11:30 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								19a5165c29 
								
							 
						 
						
							
							
								
								Uncommented LR spill code insertion  
							
							 
							
							... 
							
							
							
							llvm-svn: 1207 
							
						 
						
							2001-11-08 16:43:25 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								56e61ec517 
								
							 
						 
						
							
							
								
								Bug fix: need to use .reserve for uninitialized data.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1205 
							
						 
						
							2001-11-08 14:29:57 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								3b193679f0 
								
							 
						 
						
							
							
								
								Bug fix: cannot modify Phi operands while iterating over them!  
							
							 
							
							... 
							
							
							
							llvm-svn: 1203 
							
						 
						
							2001-11-08 05:25:33 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								621b90440b 
								
							 
						 
						
							
							
								
								Major change to how defs are found when adding dependences (they  
							
							 
							
							... 
							
							
							
							are now found as part of the initial walk of the machine code).
Also memory load/store instructions can be generated for non-memory
LLVM instructions, which wasn't handled before.  It is now.
llvm-svn: 1199 
							
						 
						
							2001-11-08 05:20:23 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								80310bba37 
								
							 
						 
						
							
							
								
								MachineCodeForMethod is now an annotation on class Method.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1198 
							
						 
						
							2001-11-08 05:18:18 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								c2f8911114 
								
							 
						 
						
							
							
								
								Add handle to TargetMachine object in all Machine...Info classes.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1197 
							
						 
						
							2001-11-08 05:15:08 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								81908213ae 
								
							 
						 
						
							
							
								
								Added support for bitwise logical operators.  Use different labels for  
							
							 
							
							... 
							
							
							
							for these than for boolean logicals to avoid making Burg diverge.
See Burg manual for more information.
llvm-svn: 1196 
							
						 
						
							2001-11-08 05:14:02 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								03f12f521f 
								
							 
						 
						
							
							
								
								Fixed function getEscapedString to follow the Sparc assembly rules  
							
							 
							
							... 
							
							
							
							for symbol names!  (And renamed it to getValidSymbolName).
Fixed format for float and other constants.
llvm-svn: 1195 
							
						 
						
							2001-11-08 05:12:37 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								f889a11590 
								
							 
						 
						
							
							
								
								Fix bugs in FITOS/D instruction generation.  
							
							 
							
							... 
							
							
							
							The space for optional args in the stack frame is now being computed,
so finish the code generation for the variable `alloca'.
Finally, made a major overhaul of how stack frame is managed.
llvm-svn: 1194 
							
						 
						
							2001-11-08 05:04:09 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								503d3098fa 
								
							 
						 
						
							
							
								
								Added new function UltraSparcInstrInfo::CreateCodeToCopyIntToFloat.  
							
							 
							
							... 
							
							
							
							Also major overhaul of how stack frame is managed.
llvm-svn: 1193 
							
						 
						
							2001-11-08 04:57:53 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								7a1524f971 
								
							 
						 
						
							
							
								
								Removed class RegStackOffsets and used class MachineCodeForMethod  
							
							 
							
							... 
							
							
							
							directly to manage stack frame.
llvm-svn: 1192 
							
						 
						
							2001-11-08 04:56:41 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								6fcb28924b 
								
							 
						 
						
							
							
								
								Use MachineFrameInfo as base class of UltraSparcFrameInfo, and made  
							
							 
							
							... 
							
							
							
							a major overhaul of this class and how stack frames are managed.
llvm-svn: 1191 
							
						 
						
							2001-11-08 04:55:13 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								bdbb802c2f 
								
							 
						 
						
							
							
								
								Added two minor methods.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1187 
							
						 
						
							2001-11-08 04:49:52 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								d9f8598104 
								
							 
						 
						
							
							
								
								Removed class RegStackOffsets and used class MachineCodeForMethod  
							
							 
							
							... 
							
							
							
							directly to manage stack frame.
llvm-svn: 1186 
							
						 
						
							2001-11-08 04:48:50 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								c53037205b 
								
							 
						 
						
							
							
								
								Major overhaul of stack frame management.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1185 
							
						 
						
							2001-11-08 04:47:06 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								b375b89e00 
								
							 
						 
						
							
							
								
								Removed MachineCodeForMethod object and made it an annotation.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1183 
							
						 
						
							2001-11-08 04:38:58 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								83f1528061 
								
							 
						 
						
							
							
								
								Initial checkin of pointer safety checker  
							
							 
							
							... 
							
							
							
							llvm-svn: 1181 
							
						 
						
							2001-11-07 21:16:12 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								b1f672812b 
								
							 
						 
						
							
							
								
								Correct problem that allows indirect function calls  
							
							 
							
							... 
							
							
							
							llvm-svn: 1179 
							
						 
						
							2001-11-07 20:12:30 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								31e9e4d219 
								
							 
						 
						
							
							
								
								* Switch to operation on pointers with PointerTy more consistently  
							
							 
							
							... 
							
							
							
							* Fix misspeling
* Catch SIGFPE for traps
* info XXX now prints the raw contents of the GenericValue
* Switch to calloc instead of malloc (temporarily I hope) to bandaid Olden benchmarks
* Implement binary And & Or
* Convert expressions like this:
     PointerTy SrcPtr = getOperandValue(I->getPtrOperand(), SF).PointerVal;
  to:
    GenericValue SRC = getOperandValue(I->getPtrOperand(), SF);
    PointerTy SrcPtr = SRC.PointerVal;
  because the prior way confuses purify.
* Taint the initial values of the value planes
* Handling 'print bb4' in the interpreter without crashing
* Print nicer stack frames with concise return type
* printf doesn't suck nearly as badly as it used to
llvm-svn: 1177 
							
						 
						
							2001-11-07 19:46:27 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								e147d062fa 
								
							 
						 
						
							
							
								
								Killing warnings  
							
							 
							
							... 
							
							
							
							llvm-svn: 1175 
							
						 
						
							2001-11-07 14:01:59 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								3b7199e36c 
								
							 
						 
						
							
							
								
								Add #includes to enable buiding in Release mode  
							
							 
							
							... 
							
							
							
							llvm-svn: 1174 
							
						 
						
							2001-11-07 13:49:45 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								5e030830a3 
								
							 
						 
						
							
							
								
								Squelch warnings about not returning a value  
							
							 
							
							... 
							
							
							
							llvm-svn: 1173 
							
						 
						
							2001-11-07 13:49:12 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								eaec4ede57 
								
							 
						 
						
							
							
								
								*Print Stack traces better.  
							
							 
							
							... 
							
							
							
							* Use the cache writer for all it's problems.
* print arguments to methods in stack traces.
*Print the current stack from for up/down commands.
llvm-svn: 1170 
							
						 
						
							2001-11-07 05:31:27 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								1f01726487 
								
							 
						 
						
							
							
								
								* Use cached writer to speed up printing and get symbolic types more consistently  
							
							 
							
							... 
							
							
							
							* When a segfault or bus error occurs, stop the program, print a stack trace, and dump the user in the debugger mode
llvm-svn: 1169 
							
						 
						
							2001-11-07 04:23:00 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								7db7958bd4 
								
							 
						 
						
							
							
								
								Implement CachedWriter class to allow module level printing of various components very quickly  
							
							 
							
							... 
							
							
							
							llvm-svn: 1168 
							
						 
						
							2001-11-07 04:21:57 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								51862ef777 
								
							 
						 
						
							
							
								
								Add %p format to printf, which MUST be used when printing pointer values.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1166 
							
						 
						
							2001-11-07 02:57:33 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								c23094efb4 
								
							 
						 
						
							
							
								
								Implement log and drand48 for TSP bm  
							
							 
							
							... 
							
							
							
							llvm-svn: 1165 
							
						 
						
							2001-11-06 22:53:25 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								68289f0b89 
								
							 
						 
						
							
							
								
								Add notes  
							
							 
							
							... 
							
							
							
							llvm-svn: 1163 
							
						 
						
							2001-11-06 22:53:11 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								5cc318819c 
								
							 
						 
						
							
							
								
								Implement sqrt, implement printf better, simpler.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1161 
							
						 
						
							2001-11-06 21:52:18 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								6c4681ca28 
								
							 
						 
						
							
							
								
								Fix minor bug for shifts  
							
							 
							
							... 
							
							
							
							llvm-svn: 1160 
							
						 
						
							2001-11-06 21:51:48 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								2f2d947f73 
								
							 
						 
						
							
							
								
								Print out the abridged form of the call instruction.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1159 
							
						 
						
							2001-11-06 21:28:12 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								074d52d60d 
								
							 
						 
						
							
							
								
								Fixed bug - added code in pushUnconstrainedIGNodes() to check whether a node  
							
							 
							
							... 
							
							
							
							is already pushed to stack by a previous call to the same method.
llvm-svn: 1154 
							
						 
						
							2001-11-06 15:25:38 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								0136101e37 
								
							 
						 
						
							
							
								
								Fix bugs  
							
							 
							
							... 
							
							
							
							llvm-svn: 1152 
							
						 
						
							2001-11-06 08:34:29 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								4031cdde57 
								
							 
						 
						
							
							
								
								Fix many bugs.  Implement PHI transforms & other cycles  
							
							 
							
							... 
							
							
							
							llvm-svn: 1151 
							
						 
						
							2001-11-06 08:34:17 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								9d3292d327 
								
							 
						 
						
							
							
								
								Give me PHI's space back  
							
							 
							
							... 
							
							
							
							llvm-svn: 1150 
							
						 
						
							2001-11-06 08:33:46 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								928833ecea 
								
							 
						 
						
							
							
								
								Bug fix: uninitialized variable.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1147 
							
						 
						
							2001-11-06 05:11:05 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								f5b4f47cff 
								
							 
						 
						
							
							
								
								Bug fix: Printing AdIBef and AdIAft outside the scope where they  
							
							 
							
							... 
							
							
							
							were declared, and in some cases when they were unintialized.
llvm-svn: 1146 
							
						 
						
							2001-11-06 05:01:54 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								29644b3849 
								
							 
						 
						
							
							
								
								Print PHI nodes with zero operands even if they are illegal  
							
							 
							
							... 
							
							
							
							llvm-svn: 1145 
							
						 
						
							2001-11-06 01:48:45 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								710c3861b5 
								
							 
						 
						
							
							
								
								Fix bug with ADD nodes and malloc promotion  
							
							 
							
							... 
							
							
							
							llvm-svn: 1144 
							
						 
						
							2001-11-05 21:13:30 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								7e89a616e6 
								
							 
						 
						
							
							
								
								Don't print spurious linking warnings about methods that are never used.  
							
							 
							
							... 
							
							
							
							Cleanup ExprTypeConvert a bit.
llvm-svn: 1141 
							
						 
						
							2001-11-05 19:43:10 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								0ecba60d26 
								
							 
						 
						
							
							
								
								Use the expression map correctly.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1140 
							
						 
						
							2001-11-05 18:30:53 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								596721384b 
								
							 
						 
						
							
							
								
								Modified graph construction to use one pass to find all defs.  
							
							 
							
							... 
							
							
							
							Avoids having to handle some special cases that cause complex interactions
with instr. selection.
llvm-svn: 1138 
							
						 
						
							2001-11-05 04:04:23 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								59a13288a6 
								
							 
						 
						
							
							
								
								Make reg. numbers signed ints.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1137 
							
						 
						
							2001-11-05 03:56:02 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								db750679a3 
								
							 
						 
						
							
							
								
								New file for expression tree conversion  
							
							 
							
							... 
							
							
							
							llvm-svn: 1128 
							
						 
						
							2001-11-04 23:24:20 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								3084cb65ff 
								
							 
						 
						
							
							
								
								Refactor code to share stuff  
							
							 
							
							... 
							
							
							
							llvm-svn: 1127 
							
						 
						
							2001-11-04 23:24:06 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								cb3da314d9 
								
							 
						 
						
							
							
								
								* Relax restriction that prevented malloc promotion in certain cases  
							
							 
							
							... 
							
							
							
							llvm-svn: 1125 
							
						 
						
							2001-11-04 22:11:10 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								80cf60687d 
								
							 
						 
						
							
							
								
								Generate code for Rem instruction.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1124 
							
						 
						
							2001-11-04 21:59:14 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								dc194d54f9 
								
							 
						 
						
							
							
								
								Fix obscure nasty bug with bytecode writing that could cause the last byte to be dropped.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1123 
							
						 
						
							2001-11-04 21:32:41 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								36c5a79153 
								
							 
						 
						
							
							
								
								* Disable debug output  
							
							 
							
							... 
							
							
							
							* fix minor bug with taking datasize of unsized array type
* Insert code to support speculative changes later
llvm-svn: 1122 
							
						 
						
							2001-11-04 21:32:11 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								40a2d9076b 
								
							 
						 
						
							
							
								
								Convert backward conversion of expression trees into a new more powerful bidirectional approach.  Add transforms for more instructions.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1121 
							
						 
						
							2001-11-04 20:21:12 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								ea5d1f5db8 
								
							 
						 
						
							
							
								
								Fixed instruction information for RDCCR and WRCCR.  
							
							 
							
							... 
							
							
							
							Fixed selection to create a TmpInstruction for each integer CC register
(since it is an implicit side-effect, unlike FP CC registers which are
explicit operands).
llvm-svn: 1120 
							
						 
						
							2001-11-04 19:34:49 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								33d9cb9903 
								
							 
						 
						
							
							
								
								Minor method rename  
							
							 
							
							... 
							
							
							
							llvm-svn: 1119 
							
						 
						
							2001-11-04 08:08:34 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								f00563d39d 
								
							 
						 
						
							
							
								
								Add transformations for Load and GetElementPtr.  Fix broken transform with shr.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1118 
							
						 
						
							2001-11-04 07:42:17 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								eb7b620d58 
								
							 
						 
						
							
							
								
								Fix cast instructions that end up in bad places in GCC output  
							
							 
							
							... 
							
							
							
							llvm-svn: 1117 
							
						 
						
							2001-11-04 07:40:51 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								471babe2d2 
								
							 
						 
						
							
							
								
								Added an assertion since it seems like AdjList returns an errornous size in method  
							
							 
							
							... 
							
							
							
							IGNode::pushOnStack().
llvm-svn: 1116 
							
						 
						
							2001-11-03 22:01:09 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								033324fc0c 
								
							 
						 
						
							
							
								
								Avoid making a broken transformation!  
							
							 
							
							... 
							
							
							
							llvm-svn: 1115 
							
						 
						
							2001-11-03 21:30:22 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								ec83fc091e 
								
							 
						 
						
							
							
								
								Add new cleanup pass:  
							
							 
							
							... 
							
							
							
							//  1. PHI nodes with multiple entries for the same predecessor.  GCC sometimes
//     generates code that looks like this:
//
//  bb7:  br bool %cond1004, label %bb8, label %bb8
//  bb8: %reg119 = phi uint [ 0, %bb7 ], [ 1, %bb7 ]
//
//     which is completely illegal LLVM code.  To compensate for this, we insert
//     an extra basic block, and convert the code to look like this:
//
//  bb7: br bool %cond1004, label %bbX, label %bb8
//  bbX: br label bb8
//  bb8: %reg119 = phi uint [ 0, %bbX ], [ 1, %bb7 ]
//
llvm-svn: 1114 
							
						 
						
							2001-11-03 21:08:59 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								51fc1c2d72 
								
							 
						 
						
							
							
								
								Added support for correct spilling of %ccr  
							
							 
							
							... 
							
							
							
							llvm-svn: 1112 
							
						 
						
							2001-11-03 20:41:22 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								9d8950d240 
								
							 
						 
						
							
							
								
								Added code to support correct saving of %ccr across calls  
							
							 
							
							... 
							
							
							
							llvm-svn: 1111 
							
						 
						
							2001-11-03 19:59:59 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								784c623efb 
								
							 
						 
						
							
							
								
								* Export method to merge identically named methods  
							
							 
							
							... 
							
							
							
							* Add code to fix PHI nodes that are missing arguments.  These PHI nodes can
  be generated by GCC if there is an uninitialized variable flowing into a merge
  point.  For example:
int foo(int y) {
  int X;
  if (y) X = 1;
  return X;
}
llvm-svn: 1110 
							
						 
						
							2001-11-03 19:51:56 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								ca632ed71a 
								
							 
						 
						
							
							
								
								Arranged stack frame - needs furhter organization  
							
							 
							
							... 
							
							
							
							llvm-svn: 1108 
							
						 
						
							2001-11-03 17:14:44 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								b7a397253f 
								
							 
						 
						
							
							
								
								Arranged stack frame - needs furhter organization  
							
							 
							
							... 
							
							
							
							Moved InsertCallerSaveInstr to the SparcRegInfo.cpp
llvm-svn: 1106 
							
						 
						
							2001-11-03 17:13:27 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								629a15247a 
								
							 
						 
						
							
							
								
								Commented out code so that copies are inserted for all phi args  
							
							 
							
							... 
							
							
							
							CahedCopyMap was disabled to insert phi elimination code for all phi args
llvm-svn: 1105 
							
						 
						
							2001-11-03 17:09:59 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								d7c742f46a 
								
							 
						 
						
							
							
								
								Be lenient on types so that programs that are not very typesafe will work  
							
							 
							
							... 
							
							
							
							llvm-svn: 1104 
							
						 
						
							2001-11-03 10:15:32 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								629d7a7849 
								
							 
						 
						
							
							
								
								Changes to compile the TSP benchmark successfully.  Favor warning instead of assertion failures.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1103 
							
						 
						
							2001-11-03 10:04:22 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								1f3947c1d1 
								
							 
						 
						
							
							
								
								Add code to link method together with the same name if one is vararg and the other isn't.  
							
							 
							
							... 
							
							
							
							This resolves definitions like this:
   %list * "foo"(...)
   %list * "foo"(int)
together which can often occur because C programmers don't put prototypes in like they should.  GRR
llvm-svn: 1102 
							
						 
						
							2001-11-03 09:19:00 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								3855f2c806 
								
							 
						 
						
							
							
								
								Don't forget to link type names together too.  Fix for Olden/mst benchmark  
							
							 
							
							... 
							
							
							
							llvm-svn: 1094 
							
						 
						
							2001-11-03 05:18:24 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								34ec31bb74 
								
							 
						 
						
							
							
								
								Remove debugging info  
							
							 
							
							... 
							
							
							
							llvm-svn: 1093 
							
						 
						
							2001-11-03 03:31:39 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								4f1ca018aa 
								
							 
						 
						
							
							
								
								Fix major bugs in type resolution  
							
							 
							
							... 
							
							
							
							llvm-svn: 1092 
							
						 
						
							2001-11-03 03:27:53 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								1e60d6b762 
								
							 
						 
						
							
							
								
								Add extra code for debugging linker problems  
							
							 
							
							... 
							
							
							
							llvm-svn: 1091 
							
						 
						
							2001-11-03 03:27:29 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								866cbddec8 
								
							 
						 
						
							
							
								
								Dramatically simplify recursive type processing.  Fixed a few bugs, a few still remain :(  
							
							 
							
							... 
							
							
							
							Why does this stuff have to come up NOW?
llvm-svn: 1089 
							
						 
						
							2001-11-02 07:51:31 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								f29b231c77 
								
							 
						 
						
							
							
								
								Improve some debugging code  
							
							 
							
							... 
							
							
							
							llvm-svn: 1088 
							
						 
						
							2001-11-02 07:46:26 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								50f68acb37 
								
							 
						 
						
							
							
								
								Support floating point numbers in expodential form so that small numbers don't get truncated, which broke the health benchmark  
							
							 
							
							... 
							
							
							
							llvm-svn: 1087 
							
						 
						
							2001-11-01 22:06:08 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								9bc6b190cc 
								
							 
						 
						
							
							
								
								* Add comments for peepholes  
							
							 
							
							... 
							
							
							
							* Implement new peephole:
     // Peephole optimize the following instructions:
     // %t1 = cast {<...>} * %StructPtr to <ty> *
     //
     // Into: %t2 = getelementptr {<...>} * %StructPtr, <0, 0, 0, ...>
     //       %t1 = cast <eltype> * %t1 to <ty> *
  This peephole eliminated 9 evil casts in the health benchmark, and
  completely turned the addList method around.  :)
llvm-svn: 1085 
							
						 
						
							2001-11-01 17:05:27 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								71c842cddf 
								
							 
						 
						
							
							
								
								Add DCE as integral part of the level raising to avoid processing instructions that are dead  
							
							 
							
							... 
							
							
							
							llvm-svn: 1084 
							
						 
						
							2001-11-01 07:00:51 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								7567f6c15f 
								
							 
						 
						
							
							
								
								Expose the low level DCE mechanism to external users  
							
							 
							
							... 
							
							
							
							Refactor code to support it
llvm-svn: 1083 
							
						 
						
							2001-11-01 07:00:27 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								f652674162 
								
							 
						 
						
							
							
								
								Implement new simpler constructors for if you don't have a index list  
							
							 
							
							... 
							
							
							
							llvm-svn: 1081 
							
						 
						
							2001-11-01 05:58:42 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								9a13ececd8 
								
							 
						 
						
							
							
								
								* Implement expression type conversion for constant values  
							
							 
							
							... 
							
							
							
							* Fix a problem setting a name on a constant value that died because no symbol table was passed in
* Add some comments describing the passes
* Implement a new peephole:
     // Peephole optimize the following instructions:
     // %t = cast <T1>* %P to <T2> * ;; If T1 is losslessly convertable to T2
     // store <T2> %V, <T2>* %t
     //
     // Into:
     // %t = cast <T2> %V to <T1>
     // store <T1> %t2, <T1>* %P
llvm-svn: 1080 
							
						 
						
							2001-11-01 05:57:59 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								04648a4cc6 
								
							 
						 
						
							
							
								
								Simplify DCE code a lot  
							
							 
							
							... 
							
							
							
							llvm-svn: 1079 
							
						 
						
							2001-11-01 05:55:29 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								977f0044fc 
								
							 
						 
						
							
							
								
								Implement constant propogation of null pointer values.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1078 
							
						 
						
							2001-11-01 05:55:13 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								1267be2319 
								
							 
						 
						
							
							
								
								* Convert getelementptr/store pairs into a single store  
							
							 
							
							... 
							
							
							
							* Convert getelementptr/load pairs into a single load
llvm-svn: 1075 
							
						 
						
							2001-11-01 03:12:34 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								025f9fcf80 
								
							 
						 
						
							
							
								
								Initial checkin of level raising code, after move and cleanup and expands from the opt directory  
							
							 
							
							... 
							
							
							
							llvm-svn: 1074 
							
						 
						
							2001-11-01 02:42:08 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								246f157af4 
								
							 
						 
						
							
							
								
								Propogate name to the malloc itself instead of to the cast  
							
							 
							
							... 
							
							
							
							llvm-svn: 1071 
							
						 
						
							2001-11-01 02:40:36 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								7e6a0d8c17 
								
							 
						 
						
							
							
								
								Use the correct prototype for malloc and free  
							
							 
							
							... 
							
							
							
							llvm-svn: 1066 
							
						 
						
							2001-10-31 06:36:23 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								20726ed31b 
								
							 
						 
						
							
							
								
								Implement code to convert %malloc and %free FUNCTION CALLS into the instruction equivalent  
							
							 
							
							... 
							
							
							
							llvm-svn: 1065 
							
						 
						
							2001-10-31 06:35:59 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								9db8b765cd 
								
							 
						 
						
							
							
								
								Implemented constant propogation of cast instructions  
							
							 
							
							... 
							
							
							
							llvm-svn: 1064 
							
						 
						
							2001-10-31 05:07:57 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								34b9518c88 
								
							 
						 
						
							
							
								
								Initial version of GCC cleanup pass: just removes extraneous global symbol table entries for types  
							
							 
							
							... 
							
							
							
							llvm-svn: 1062 
							
						 
						
							2001-10-31 04:33:19 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								2a2b531294 
								
							 
						 
						
							
							
								
								Fix bug when inlining a method that refers to a global variable  
							
							 
							
							... 
							
							
							
							llvm-svn: 1056 
							
						 
						
							2001-10-31 02:27:26 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								487b1b8cc1 
								
							 
						 
						
							
							
								
								Implement xor operator  
							
							 
							
							... 
							
							
							
							llvm-svn: 1050 
							
						 
						
							2001-10-30 20:54:36 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								8bd5c77731 
								
							 
						 
						
							
							
								
								callExternalMethod now returns the return value of the function  
							
							 
							
							... 
							
							
							
							llvm-svn: 1048 
							
						 
						
							2001-10-30 20:28:23 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								7fd51b54e5 
								
							 
						 
						
							
							
								
								Implement a gross function name map that must be used when linking statically  
							
							 
							
							... 
							
							
							
							This is for use with purify
llvm-svn: 1047 
							
						 
						
							2001-10-30 20:28:00 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								5946b1150d 
								
							 
						 
						
							
							
								
								* Add some assertions for checking internal error conditions  
							
							 
							
							... 
							
							
							
							* Implement the 'rem' instruction
* Fix getelementptr to work right
* Copy the return result of an external function call into the receiving value
* Convert stuff to new style casts
llvm-svn: 1046 
							
						 
						
							2001-10-30 20:27:31 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								c85ee99b42 
								
							 
						 
						
							
							
								
								Don't fail to load runtime if running LLI from the current directory  
							
							 
							
							... 
							
							
							
							llvm-svn: 1044 
							
						 
						
							2001-10-30 16:40:37 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								ff2a07f4df 
								
							 
						 
						
							
							
								
								Initialize isRecursive.  Found by Purify  
							
							 
							
							... 
							
							
							
							llvm-svn: 1043 
							
						 
						
							2001-10-30 16:39:16 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								62d1fb6777 
								
							 
						 
						
							
							
								
								Print out a label if we step into the first instruction of a basic block  
							
							 
							
							... 
							
							
							
							llvm-svn: 1038 
							
						 
						
							2001-10-29 20:44:34 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								490d2a8461 
								
							 
						 
						
							
							
								
								* Fix pow wrapper to actually work  
							
							 
							
							... 
							
							
							
							* Implement rudimentary printf support for lli
llvm-svn: 1037 
							
						 
						
							2001-10-29 20:27:45 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								05fbeedde8 
								
							 
						 
						
							
							
								
								Implement getelementptr instruction as well as the load and store forms  
							
							 
							
							... 
							
							
							
							that incorporate gep
llvm-svn: 1036 
							
						 
						
							2001-10-29 19:32:19 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								cba9036e34 
								
							 
						 
						
							
							
								
								Fix broken assertion.  Didn't allow for pointer case  
							
							 
							
							... 
							
							
							
							llvm-svn: 1034 
							
						 
						
							2001-10-29 17:27:38 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								3e95c716aa 
								
							 
						 
						
							
							
								
								Pull method symbols over when linking.  Otherwise the result of the link will appear stripped  
							
							 
							
							... 
							
							
							
							llvm-svn: 1033 
							
						 
						
							2001-10-29 16:55:41 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								72f866eda3 
								
							 
						 
						
							
							
								
								Fix blatent bugs in checkin  
							
							 
							
							... 
							
							
							
							llvm-svn: 1032 
							
						 
						
							2001-10-29 16:40:32 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								b86620e9b1 
								
							 
						 
						
							
							
								
								Expose the WriteTypeSymbolic function from the library.  Refactor code to make  
							
							 
							
							... 
							
							
							
							this function explicit.  Cause WriteAsOperand to use symbolic types as available.
llvm-svn: 1031 
							
						 
						
							2001-10-29 16:37:48 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								7bfee414aa 
								
							 
						 
						
							
							
								
								Be careful to output symbolic type name if possible for a type.  This makes  
							
							 
							
							... 
							
							
							
							debugging the Olden/health benchmark actually possible.
llvm-svn: 1029 
							
						 
						
							2001-10-29 16:05:51 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								13babb6805 
								
							 
						 
						
							
							
								
								Remember to print out the next instruction if stepping over an external method call  
							
							 
							
							... 
							
							
							
							llvm-svn: 1028 
							
						 
						
							2001-10-29 16:05:19 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								689049e1cd 
								
							 
						 
						
							
							
								
								Fix problem next'ing over an external method  
							
							 
							
							... 
							
							
							
							llvm-svn: 1027 
							
						 
						
							2001-10-29 14:08:33 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								41a8289eb8 
								
							 
						 
						
							
							
								
								Check in to use moved stringizing code  
							
							 
							
							... 
							
							
							
							llvm-svn: 1024 
							
						 
						
							2001-10-29 13:39:38 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								239a1bdfe1 
								
							 
						 
						
							
							
								
								Remove C string capability from VMCore library.  Move to Support  
							
							 
							
							... 
							
							
							
							llvm-svn: 1021 
							
						 
						
							2001-10-29 13:27:09 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								66aea7a58c 
								
							 
						 
						
							
							
								
								Make newlines be newlines! This should now work in both lli and native code.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1016 
							
						 
						
							2001-10-28 22:44:02 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								fc361b1d55 
								
							 
						 
						
							
							
								
								Remove non linking related stuff  
							
							 
							
							... 
							
							
							
							llvm-svn: 1015 
							
						 
						
							2001-10-28 22:43:06 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								9cd1451b89 
								
							 
						 
						
							
							
								
								Fix some illegal uses of the ## operator  
							
							 
							
							... 
							
							
							
							llvm-svn: 1013 
							
						 
						
							2001-10-28 22:38:22 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								5ff15721c9 
								
							 
						 
						
							
							
								
								Minor fix I omitted to check in.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1012 
							
						 
						
							2001-10-28 22:19:06 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								eada6b128a 
								
							 
						 
						
							
							
								
								Support printing control characters in standard C/assembly style,  
							
							 
							
							... 
							
							
							
							if you specify useCSyntax = true.  The old style is still the default.
llvm-svn: 1011 
							
						 
						
							2001-10-28 21:48:05 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								33ec4a3c23 
								
							 
						 
						
							
							
								
								Record constants that need to be emitted in the assembly code.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1010 
							
						 
						
							2001-10-28 21:46:23 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								979800ede8 
								
							 
						 
						
							
							
								
								Allow combinations of True/Anti/Output flags for each edge to  
							
							 
							
							... 
							
							
							
							support, e.g., dependences on Call instructions.
llvm-svn: 1009 
							
						 
						
							2001-10-28 21:45:02 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								df6913549a 
								
							 
						 
						
							
							
								
								Add edges between call instructions and (a) load/store instructions, and  
							
							 
							
							... 
							
							
							
							(b) any instructions that use or set CC registers.  Whether or not the
latter are needed really should be machine-dependent.
llvm-svn: 1008 
							
						 
						
							2001-10-28 21:43:33 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								2f72cdd756 
								
							 
						 
						
							
							
								
								Generate SETX for 64-bit integers!  
							
							 
							
							... 
							
							
							
							llvm-svn: 1007 
							
						 
						
							2001-10-28 21:41:46 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								a5619eb835 
								
							 
						 
						
							
							
								
								Add SETX instruction for 64-bit constants.  
							
							 
							
							... 
							
							
							
							Add M_CC_FLAG for many instructions that use int or fp CC registers.
llvm-svn: 1006 
							
						 
						
							2001-10-28 21:41:01 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								b31f9c3ea6 
								
							 
						 
						
							
							
								
								Need to subtract, not add, stack size in SAVE instruction!  
							
							 
							
							... 
							
							
							
							llvm-svn: 1005 
							
						 
						
							2001-10-28 21:39:47 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								71b265a848 
								
							 
						 
						
							
							
								
								Major overhaul to print globals and constants.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1004 
							
						 
						
							2001-10-28 21:38:52 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								6e26c8b0fc 
								
							 
						 
						
							
							
								
								Added name-mangling routines for future use.  
							
							 
							
							... 
							
							
							
							llvm-svn: 1003 
							
						 
						
							2001-10-28 21:38:02 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								96f6ac9ffc 
								
							 
						 
						
							
							
								
								Use separate functions for printing values of each type.  
							
							 
							
							... 
							
							
							
							Put trace code before condition-generating instruction in basic blocks
that end in a conditional branch.
llvm-svn: 1002 
							
						 
						
							2001-10-28 21:37:25 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								578a840b29 
								
							 
						 
						
							
							
								
								Add methods print<TYPE> for String, Pointer, and each primitive type.  
							
							 
							
							... 
							
							
							
							llvm-svn: 994 
							
						 
						
							2001-10-28 20:52:27 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								9c38dbc249 
								
							 
						 
						
							
							
								
								Added support for spilling  
							
							 
							
							... 
							
							
							
							llvm-svn: 992 
							
						 
						
							2001-10-28 18:15:12 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								321ed7be93 
								
							 
						 
						
							
							
								
								Added spill code support; moved insertCallerSaving to SparRegInfo since  
							
							 
							
							... 
							
							
							
							we need to handle %ccr reg in a special way.
llvm-svn: 990 
							
						 
						
							2001-10-28 18:12:02 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								009f8108bc 
								
							 
						 
						
							
							
								
								Implement a -trace command line option and a trace option in the interpreter.  
							
							 
							
							... 
							
							
							
							llvm-svn: 989 
							
						 
						
							2001-10-27 08:43:52 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								0b00b31c78 
								
							 
						 
						
							
							
								
								* Make pointer values work better by treating them uniformly as 64 bit values.  
							
							 
							
							... 
							
							
							
							This causes code that is generated by gcc to work better.
* Implement mul & div
* Export malloc, free, and pow
* add strtol, atoi, and atol to the runtime library
llvm-svn: 988 
							
						 
						
							2001-10-27 08:28:11 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								6642eec003 
								
							 
						 
						
							
							
								
								Provide argv for commands  
							
							 
							
							... 
							
							
							
							llvm-svn: 987 
							
						 
						
							2001-10-27 05:54:31 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								e81c409952 
								
							 
						 
						
							
							
								
								Provide option to enable eating of all arguments following a specific one  
							
							 
							
							... 
							
							
							
							llvm-svn: 986 
							
						 
						
							2001-10-27 05:54:17 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								15157b88e9 
								
							 
						 
						
							
							
								
								* Implement exit() builtin function  
							
							 
							
							... 
							
							
							
							* Implement linked in runtime library with puts(char*) in it
* implement builtin putchar(int) function
llvm-svn: 985 
							
						 
						
							2001-10-27 04:15:57 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								0863c161e9 
								
							 
						 
						
							
							
								
								Fixed load syntax in EmitAssembly  
							
							 
							
							... 
							
							
							
							Fixed cpReg2Mem (store) operand oreder in SparcRegInfo.cpp
llvm-svn: 984 
							
						 
						
							2001-10-24 22:05:34 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								f9e623e1f9 
								
							 
						 
						
							
							
								
								Add support for building a runtime library for LLI  
							
							 
							
							... 
							
							
							
							llvm-svn: 983 
							
						 
						
							2001-10-24 19:52:41 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								36bcd79050 
								
							 
						 
						
							
							
								
								Fixed logic for checking whether a LR received the correct color.  
							
							 
							
							... 
							
							
							
							llvm-svn: 976 
							
						 
						
							2001-10-24 15:56:58 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								d4617cdf41 
								
							 
						 
						
							
							
								
								Clean up error handling a bit.  Add / as a seperator for command line arguments.  This is just a big old ugly hack.  
							
							 
							
							... 
							
							
							
							llvm-svn: 974 
							
						 
						
							2001-10-24 06:21:56 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								e3fe1ac4ee 
								
							 
						 
						
							
							
								
								Frivolous cleanups  
							
							 
							
							... 
							
							
							
							llvm-svn: 973 
							
						 
						
							2001-10-24 06:21:22 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								a065a732bf 
								
							 
						 
						
							
							
								
								Dang it, do NOT check in code that enables debugging.  Bad chris  
							
							 
							
							... 
							
							
							
							llvm-svn: 972 
							
						 
						
							2001-10-24 05:14:35 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								7dacd514ca 
								
							 
						 
						
							
							
								
								Two things:  
							
							 
							
							... 
							
							
							
							1. Forward propogate a loaded constant to make debugging slightly less annoying
2. Fix an extremely nasty hard to find bug that really irritated me for the better
   part of 6 hours and was causing linking to die and bizarre and mysterious ways.
   Things should be much more stable now that this one liner has been fixed. GRR
llvm-svn: 971 
							
						 
						
							2001-10-24 05:12:04 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								daebd7508d 
								
							 
						 
						
							
							
								
								Changes to get some meaningful feedback from the bytecode reader.  At some point this stuff should all be exception driven, but for now it is not.  
							
							 
							
							... 
							
							
							
							llvm-svn: 970 
							
						 
						
							2001-10-24 01:15:12 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								6a7f02082b 
								
							 
						 
						
							
							
								
								Corrected a bug in SparcRegInfo.cpp - to add inserted instructions before a return  
							
							 
							
							... 
							
							
							
							llvm-svn: 969 
							
						 
						
							2001-10-23 21:40:39 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								33b0d85f65 
								
							 
						 
						
							
							
								
								added support to move "added instructions" after the delay slot  
							
							 
							
							... 
							
							
							
							llvm-svn: 968 
							
						 
						
							2001-10-23 21:38:42 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								c300c6ba58 
								
							 
						 
						
							
							
								
								Added support to move "added instructions" after the delay slot  
							
							 
							
							... 
							
							
							
							llvm-svn: 967 
							
						 
						
							2001-10-23 21:38:00 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								b046867a97 
								
							 
						 
						
							
							
								
								Fix problem linking in a method prototype when a method body exists  
							
							 
							
							... 
							
							
							
							llvm-svn: 965 
							
						 
						
							2001-10-23 20:43:42 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								aeaec1ccb9 
								
							 
						 
						
							
							
								
								Remove unnamed prototypes that are created.  
							
							 
							
							... 
							
							
							
							llvm-svn: 964 
							
						 
						
							2001-10-23 15:30:18 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								adb4dbaef3 
								
							 
						 
						
							
							
								
								Negative FP constants... whodathunkit.  
							
							 
							
							... 
							
							
							
							llvm-svn: 963 
							
						 
						
							2001-10-23 04:13:01 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								7540328e46 
								
							 
						 
						
							
							
								
								Oops, didn't mean to check in enabled debugging support. :(  
							
							 
							
							... 
							
							
							
							llvm-svn: 962 
							
						 
						
							2001-10-23 03:21:42 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								b5498aba50 
								
							 
						 
						
							
							
								
								Fixed a LONG standing, SCARY problem with bytecode encoding.  It turns out to be an endian problem that only shows up with type 0 instructions in LARGE programs.  
							
							 
							
							... 
							
							
							
							llvm-svn: 961 
							
						 
						
							2001-10-23 03:21:10 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								98960dce6d 
								
							 
						 
						
							
							
								
								More symbol table bugfixes that are impossible to track down.  Goody  
							
							 
							
							... 
							
							
							
							llvm-svn: 960 
							
						 
						
							2001-10-23 02:32:45 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								0557f117dd 
								
							 
						 
						
							
							
								
								Allow unresolved/opaque types to be read and written to bytecode files  
							
							 
							
							... 
							
							
							
							llvm-svn: 959 
							
						 
						
							2001-10-23 01:53:22 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								61b665528e 
								
							 
						 
						
							
							
								
								Fix another annoying bug that took forever to track down.  This one involves abstract type resolution at a bad time that broke symbol tables.  
							
							 
							
							... 
							
							
							
							llvm-svn: 958 
							
						 
						
							2001-10-23 01:53:01 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								0009da41c6 
								
							 
						 
						
							
							
								
								Delete MachineCodeInfoForMethod object.  
							
							 
							
							... 
							
							
							
							llvm-svn: 956 
							
						 
						
							2001-10-22 22:32:11 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								100884edad 
								
							 
						 
						
							
							
								
								Fix a problem occuring with type unification of symbol table entries  
							
							 
							
							... 
							
							
							
							llvm-svn: 955 
							
						 
						
							2001-10-22 21:59:46 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								5dab57de99 
								
							 
						 
						
							
							
								
								Added function IsLeafMethod to identify leaf methods.  
							
							 
							
							... 
							
							
							
							This will use the CallGraph only if one is provided.
llvm-svn: 950 
							
						 
						
							2001-10-22 13:55:46 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								4e594bebba 
								
							 
						 
						
							
							
								
								Added MachineCodeForMethod object in class Method.  
							
							 
							
							... 
							
							
							
							llvm-svn: 949 
							
						 
						
							2001-10-22 13:52:47 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								901da32e64 
								
							 
						 
						
							
							
								
								Use class MachineCodeForMethod to print machine code.  
							
							 
							
							... 
							
							
							
							llvm-svn: 948 
							
						 
						
							2001-10-22 13:52:03 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								cc80b02834 
								
							 
						 
						
							
							
								
								Added class MachineCodeForMethod.  
							
							 
							
							... 
							
							
							
							llvm-svn: 947 
							
						 
						
							2001-10-22 13:51:33 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								3686293bd2 
								
							 
						 
						
							
							
								
								Cosmetic changes only.  
							
							 
							
							... 
							
							
							
							llvm-svn: 946 
							
						 
						
							2001-10-22 13:51:09 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								9a6457388f 
								
							 
						 
						
							
							
								
								Modify code that processes delay slots so that it preserves any  
							
							 
							
							... 
							
							
							
							useful instructions already inserted into delay slots.
llvm-svn: 945 
							
						 
						
							2001-10-22 13:49:27 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								18a9e39214 
								
							 
						 
						
							
							
								
								UNUSED.  
							
							 
							
							... 
							
							
							
							llvm-svn: 944 
							
						 
						
							2001-10-22 13:46:38 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								a0177cdca5 
								
							 
						 
						
							
							
								
								Split JMPL into JMPLCALL and JMPLRET.  
							
							 
							
							... 
							
							
							
							llvm-svn: 943 
							
						 
						
							2001-10-22 13:44:53 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								9090b50ba9 
								
							 
						 
						
							
							
								
								Added a frame layout class, and code to insert prolog/epilog code.  
							
							 
							
							... 
							
							
							
							llvm-svn: 942 
							
						 
						
							2001-10-22 13:44:23 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								5462dca9f1 
								
							 
						 
						
							
							
								
								Reordered registers slightly to simplify a new check.  
							
							 
							
							... 
							
							
							
							Added a function to map between the caller's and callee's register windows.
llvm-svn: 941 
							
						 
						
							2001-10-22 13:43:08 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								8498277e77 
								
							 
						 
						
							
							
								
								Split JMPL into JMPLCALL and JMPLRET so that IsCall and IsReturn can  
							
							 
							
							... 
							
							
							
							be used to distinguish those uses of the `jmpl' instruction.
llvm-svn: 940 
							
						 
						
							2001-10-22 13:41:12 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								52e41008e3 
								
							 
						 
						
							
							
								
								Added functions to generate prolog and epilog code.  
							
							 
							
							... 
							
							
							
							Use JMPLRET instead of RETURN for method returns so that
llvm-svn: 939 
							
						 
						
							2001-10-22 13:36:31 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								6b492ddc15 
								
							 
						 
						
							
							
								
								Added SAVE and RESTORE.  Duplicated JMPL into JMPLCALL and JMPLRET,  
							
							 
							
							... 
							
							
							
							which have the same opcode and operands but different flags.
llvm-svn: 938 
							
						 
						
							2001-10-22 13:32:55 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								7c1a8d6d53 
								
							 
						 
						
							
							
								
								Reordered a couple of registers to simplify some new checks.  
							
							 
							
							... 
							
							
							
							Added code to map between caller's and callee's register windows.
Added frame layout class.
llvm-svn: 937 
							
						 
						
							2001-10-22 13:31:53 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								e6b470c3f1 
								
							 
						 
						
							
							
								
								Remove ugly subclass of Opaque type  
							
							 
							
							... 
							
							
							
							llvm-svn: 936 
							
						 
						
							2001-10-22 06:01:08 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								d50fa5aa36 
								
							 
						 
						
							
							
								
								Fix bug with  
							
							 
							
							... 
							
							
							
							%list = type {%list *}
%list = type {%list *}
not being accepted (broken testmisc.ll)
llvm-svn: 935 
							
						 
						
							2001-10-22 05:56:09 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								fb864a35aa 
								
							 
						 
						
							
							
								
								Fix bug exposed by this testcase:  
							
							 
							
							... 
							
							
							
							declare int "call_operand"      (%rtx_def*, int)        ;; Prototype for: call_operand
declare int "restore_operand"   (%rtx_def*, int)        ;; Prototype for: restore_operand
%rtx_def = type opaque
%rtx_def = type int
implementation
llvm-svn: 934 
							
						 
						
							2001-10-22 04:55:44 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								6265d798d4 
								
							 
						 
						
							
							
								
								Two changes:  
							
							 
							
							... 
							
							
							
							1. Delete type handle regardless of whether a collision occured
2. Remove a MAJOR pessimization of runtime performance (thought be be an optimization at the time).
This second one was causing a 105k llvm file (from gcc) to parse in 58 seconds... without the
'optimization' it now parses in 3.64 seconds.  I suck.
llvm-svn: 933 
							
						 
						
							2001-10-21 23:02:41 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								b57ac6f4bd 
								
							 
						 
						
							
							
								
								Fix erroneous assertion failure on the following code:  
							
							 
							
							... 
							
							
							
							declare int "malloc"(...)
...
%reg112 = call int (...) * %malloc( uint %cast1007 )
llvm-svn: 932 
							
						 
						
							2001-10-21 21:54:51 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								28a63e2972 
								
							 
						 
						
							
							
								
								Fix bug caused by:  
							
							 
							
							... 
							
							
							
							%list = type opaque
%list = type %list
llvm-svn: 931 
							
						 
						
							2001-10-21 21:43:25 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								24729a34ce 
								
							 
						 
						
							
							
								
								Added support for both call/jmpl instructions  
							
							 
							
							... 
							
							
							
							llvm-svn: 930 
							
						 
						
							2001-10-21 16:43:41 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								18e81933c7 
								
							 
						 
						
							
							
								
								Fix problem with a cast instruction that must be expanded to type 0  
							
							 
							
							... 
							
							
							
							llvm-svn: 929 
							
						 
						
							2001-10-21 00:14:44 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								9bc488984f 
								
							 
						 
						
							
							
								
								Fixed printing of offset operand for RETURN instruction.  
							
							 
							
							... 
							
							
							
							llvm-svn: 928 
							
						 
						
							2001-10-20 21:33:50 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								5731249137 
								
							 
						 
						
							
							
								
								Use CALL for direct function calls; JMPL for indirect ones.  
							
							 
							
							... 
							
							
							
							llvm-svn: 927 
							
						 
						
							2001-10-20 20:57:06 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								72ebb454d0 
								
							 
						 
						
							
							
								
								Minor bug fix in printing operands of JMPL.  
							
							 
							
							... 
							
							
							
							llvm-svn: 926 
							
						 
						
							2001-10-20 20:56:40 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								b6fe2345f1 
								
							 
						 
						
							
							
								
								Fix shift printing when using a ubyte LHS  
							
							 
							
							... 
							
							
							
							llvm-svn: 925 
							
						 
						
							2001-10-20 09:33:10 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								c27b1d7bf3 
								
							 
						 
						
							
							
								
								Add support for And, XOR, and Or  
							
							 
							
							... 
							
							
							
							llvm-svn: 924 
							
						 
						
							2001-10-20 09:32:59 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								f96ef663e0 
								
							 
						 
						
							
							
								
								It is valid to have unsigned arrays as constants... the linker may initialize them later  
							
							 
							
							... 
							
							
							
							llvm-svn: 923 
							
						 
						
							2001-10-20 06:43:05 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								53516cd05b 
								
							 
						 
						
							
							
								
								Added code to support unusable Suggested Colors.  
							
							 
							
							... 
							
							
							
							llvm-svn: 922 
							
						 
						
							2001-10-19 21:42:06 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								6a073498ba 
								
							 
						 
						
							
							
								
								Added code so that colorIGNode does not unnecessarily reserve unusable  
							
							 
							
							... 
							
							
							
							Suggested colors for neighbors.
llvm-svn: 921 
							
						 
						
							2001-10-19 21:41:16 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								01c55ba00c 
								
							 
						 
						
							
							
								
								Added code to PhyRegAlloc to mark unusable suggested regs  
							
							 
							
							... 
							
							
							
							Added initialization to AdjList to IGNode constructor - major bug fix
llvm-svn: 920 
							
						 
						
							2001-10-19 21:39:31 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								d77a1bbc2f 
								
							 
						 
						
							
							
								
								Corrected call interference bug - suggested color not allocated if  
							
							 
							
							... 
							
							
							
							volatile and there are call interferences
llvm-svn: 918 
							
						 
						
							2001-10-19 17:23:43 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								6275a04aac 
								
							 
						 
						
							
							
								
								Changed Call interference info  
							
							 
							
							... 
							
							
							
							llvm-svn: 917 
							
						 
						
							2001-10-19 17:21:59 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								09d7a2a496 
								
							 
						 
						
							
							
								
								Corrected call interference bug  
							
							 
							
							... 
							
							
							
							llvm-svn: 916 
							
						 
						
							2001-10-19 17:21:03 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								6b1d2691c6 
								
							 
						 
						
							
							
								
								no major change  
							
							 
							
							... 
							
							
							
							llvm-svn: 914 
							
						 
						
							2001-10-18 23:58:08 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								59e864eb92 
								
							 
						 
						
							
							
								
								Added implict operand printing for operator( ostream, MachineInstr&)  
							
							 
							
							... 
							
							
							
							llvm-svn: 912 
							
						 
						
							2001-10-18 22:40:02 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								5f629318fa 
								
							 
						 
						
							
							
								
								Added support for condition code loading/stroing in methods cpReg2Reg etc.  
							
							 
							
							... 
							
							
							
							llvm-svn: 911 
							
						 
						
							2001-10-18 22:38:52 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								0a2990a7c6 
								
							 
						 
						
							
							
								
								removed some debug messages  
							
							 
							
							... 
							
							
							
							llvm-svn: 910 
							
						 
						
							2001-10-18 22:36:26 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								d299dbac0e 
								
							 
						 
						
							
							
								
								Enhancements to pass argc & argv to main if required  
							
							 
							
							... 
							
							
							
							llvm-svn: 909 
							
						 
						
							2001-10-18 21:55:32 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								e2c61267ad 
								
							 
						 
						
							
							
								
								Refix bugs, stop using deprecated strstream header  
							
							 
							
							... 
							
							
							
							llvm-svn: 898 
							
						 
						
							2001-10-18 20:06:03 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								4816d63844 
								
							 
						 
						
							
							
								
								Initial checkin  
							
							 
							
							... 
							
							
							
							llvm-svn: 897 
							
						 
						
							2001-10-18 20:05:37 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								a0db1c9a0e 
								
							 
						 
						
							
							
								
								Only print values live at BB or method exit, and insert loads at each  
							
							 
							
							... 
							
							
							
							BB exit to read and print values stored in that BB.   Note that only
these stored values are live at method exit!.  Also, print messages at
method entry and exit.
llvm-svn: 892 
							
						 
						
							2001-10-18 18:16:11 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								7ac553aa12 
								
							 
						 
						
							
							
								
								Handle multiple exit blocks correctly.  
							
							 
							
							... 
							
							
							
							Restore string variable cache.
Resurrect code to use formatted printing instead of PrintVal
but leave it turned off for now.
llvm-svn: 888 
							
						 
						
							2001-10-18 13:49:22 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								5055730379 
								
							 
						 
						
							
							
								
								Dang, we were losing the Constant bit on globals.  Fix this  
							
							 
							
							... 
							
							
							
							llvm-svn: 885 
							
						 
						
							2001-10-18 06:11:23 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								5309e10be1 
								
							 
						 
						
							
							
								
								Convert to be compatible with lli.  
							
							 
							
							... 
							
							
							
							Need to eliminate duplicate \n entries
llvm-svn: 883 
							
						 
						
							2001-10-18 06:03:05 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								a0a8b5bc26 
								
							 
						 
						
							
							
								
								Massive hacks to try to fix subtle logic bugs.  I think it's all working now,  
							
							 
							
							... 
							
							
							
							at least what used to.  I should disable method exit code completely because
it's broken (doesn't insert just post dominating values)
llvm-svn: 881 
							
						 
						
							2001-10-18 05:28:08 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								6fea0324d7 
								
							 
						 
						
							
							
								
								Convert to new simpler pass itf  
							
							 
							
							... 
							
							
							
							llvm-svn: 880 
							
						 
						
							2001-10-18 05:27:33 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								ee6e199f0e 
								
							 
						 
						
							
							
								
								Change Sources specifier to ExtraSources  
							
							 
							
							... 
							
							
							
							llvm-svn: 874 
							
						 
						
							2001-10-18 01:48:09 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								5398a6eb6c 
								
							 
						 
						
							
							
								
								Convert optimizations to the pass infrastructure  
							
							 
							
							... 
							
							
							
							llvm-svn: 873 
							
						 
						
							2001-10-18 01:32:34 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								6c697526bf 
								
							 
						 
						
							
							
								
								1. Move most of the constant-fixup code into machine-independent file  
							
							 
							
							... 
							
							
							
							InstrSelectionSupport.cpp.  It now happens in a bottom-up pass on
   each BURG tree after the original top-down selection pass on the tree.
2. Handle global values as constants (viz., constant addresses).
llvm-svn: 868 
							
						 
						
							2001-10-18 00:26:20 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								cc776df39c 
								
							 
						 
						
							
							
								
								Sparc-specific code shared between local files.  
							
							 
							
							... 
							
							
							
							llvm-svn: 864 
							
						 
						
							2001-10-18 00:03:20 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								01e57a481e 
								
							 
						 
						
							
							
								
								Moved implementation of class UltraSparcInstrInfo to SparcInstrInfo.cpp.  
							
							 
							
							... 
							
							
							
							llvm-svn: 863 
							
						 
						
							2001-10-18 00:02:32 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								505130cb30 
								
							 
						 
						
							
							
								
								Added virtual function to generate an instruction sequence to  
							
							 
							
							... 
							
							
							
							load a constant into a register.
llvm-svn: 862 
							
						 
						
							2001-10-18 00:02:06 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								4cc2b3b155 
								
							 
						 
						
							
							
								
								Moved implementation of class UltraSparcInstrInfo here.  
							
							 
							
							... 
							
							
							
							llvm-svn: 861 
							
						 
						
							2001-10-18 00:01:48 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								6d19dc9080 
								
							 
						 
						
							
							
								
								1. Add a bottom-up pass on BURG trees that is used to fix constant operands.  
							
							 
							
							... 
							
							
							
							Needs to be bottom up because constant values may be forward-substituted
   to their uses (i.e., into the parent in the BURG tree).
2. Move most of the constant-fixup code into machine-indepedent file
   InstrSelectionSupport.cpp.
llvm-svn: 859 
							
						 
						
							2001-10-17 23:57:50 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								ad97e4ed84 
								
							 
						 
						
							
							
								
								Separate VM instruction that generates the instructions that compute a value  
							
							 
							
							... 
							
							
							
							from the value itself (the one causing an edge) because the latter may be
a temporary used within the instruction sequence for the VM instruction.
llvm-svn: 858 
							
						 
						
							2001-10-17 23:55:16 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								59cbb6498c 
								
							 
						 
						
							
							
								
								*** empty log message ***  
							
							 
							
							... 
							
							
							
							llvm-svn: 857 
							
						 
						
							2001-10-17 23:53:16 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								6b4ba47f31 
								
							 
						 
						
							
							
								
								Only list automatically generated .cpp files.  
							
							 
							
							... 
							
							
							
							llvm-svn: 854 
							
						 
						
							2001-10-17 12:34:26 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								322e49aa36 
								
							 
						 
						
							
							
								
								Simplify some code  
							
							 
							
							... 
							
							
							
							Remove Method special case
Fix bug exposed by this testcase:
implementation
void "PtrFunc2"()
begin
bb1:
        %reg = add int(int)* null, null
        add int (int)* %reg, null
        ret void
end
llvm-svn: 852 
							
						 
						
							2001-10-16 19:54:17 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								7d23a2bee9 
								
							 
						 
						
							
							
								
								changed debugg message printing - no change to useful code  
							
							 
							
							... 
							
							
							
							llvm-svn: 850 
							
						 
						
							2001-10-16 16:34:44 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								3d878424d2 
								
							 
						 
						
							
							
								
								No major change - commented some debug code  
							
							 
							
							... 
							
							
							
							llvm-svn: 849 
							
						 
						
							2001-10-16 01:33:55 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								cc91b21fe1 
								
							 
						 
						
							
							
								
								No major change - added some comments  
							
							 
							
							... 
							
							
							
							llvm-svn: 848 
							
						 
						
							2001-10-16 01:25:05 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								5b8971f418 
								
							 
						 
						
							
							
								
								Added support for caller saving  
							
							 
							
							... 
							
							
							
							llvm-svn: 847 
							
						 
						
							2001-10-16 01:23:19 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								3294e7c14b 
								
							 
						 
						
							
							
								
								Emit the proper .type declarations to tell the debugger what a function is  
							
							 
							
							... 
							
							
							
							llvm-svn: 845 
							
						 
						
							2001-10-15 19:34:17 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								77d2c22d94 
								
							 
						 
						
							
							
								
								Handle abnormal jmpl syntax correctly  
							
							 
							
							... 
							
							
							
							llvm-svn: 844 
							
						 
						
							2001-10-15 19:21:31 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								67beacef4f 
								
							 
						 
						
							
							
								
								Implement ulong & long support  
							
							 
							
							... 
							
							
							
							llvm-svn: 843 
							
						 
						
							2001-10-15 19:18:26 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								24872c8838 
								
							 
						 
						
							
							
								
								Print Debug Code to stderr instead of stdout so that it doesn't mess up the assembly output  
							
							 
							
							... 
							
							
							
							llvm-svn: 841 
							
						 
						
							2001-10-15 18:30:06 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								f3f1e452ea 
								
							 
						 
						
							
							
								
								Output to cerr rather than cout so that debug info doesn't mess up assembly generation  
							
							 
							
							... 
							
							
							
							llvm-svn: 840 
							
						 
						
							2001-10-15 18:15:27 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								1bb5f8e4ee 
								
							 
						 
						
							
							
								
								Add new Pass infrastructure and some examples  
							
							 
							
							... 
							
							
							
							llvm-svn: 836 
							
						 
						
							2001-10-15 17:31:51 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								82605b239c 
								
							 
						 
						
							
							
								
								--added support for implicit operands  
							
							 
							
							... 
							
							
							
							llvm-svn: 832 
							
						 
						
							2001-10-15 16:58:50 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								2a6cc8300d 
								
							 
						 
						
							
							
								
								updated suggesting/coloring of call & return args & implicit operands.  
							
							 
							
							... 
							
							
							
							Changed added instr to a deque (from a vector)
llvm-svn: 831 
							
						 
						
							2001-10-15 16:26:38 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								086bf0fe3a 
								
							 
						 
						
							
							
								
								updated suggesting/coloring of call & return args & implicit operands  
							
							 
							
							... 
							
							
							
							llvm-svn: 830 
							
						 
						
							2001-10-15 16:25:28 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								33535773cb 
								
							 
						 
						
							
							
								
								fixed a coalscing bug  
							
							 
							
							... 
							
							
							
							llvm-svn: 828 
							
						 
						
							2001-10-15 16:22:44 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								02b671388e 
								
							 
						 
						
							
							
								
								Be const correct  
							
							 
							
							... 
							
							
							
							llvm-svn: 826 
							
						 
						
							2001-10-15 15:54:43 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								78244c4667 
								
							 
						 
						
							
							
								
								Implement initializers for structs and pointers  
							
							 
							
							... 
							
							
							
							llvm-svn: 823 
							
						 
						
							2001-10-15 13:25:40 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								162ed4d6cc 
								
							 
						 
						
							
							
								
								Rename ConstPoolPointerReference to ConstPoolPointerRef - My fingers get tired typing that much  
							
							 
							
							... 
							
							
							
							llvm-svn: 822 
							
						 
						
							2001-10-15 13:21:42 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								1afbdc0ea5 
								
							 
						 
						
							
							
								
								* getExitNode() doesn't exist in method anymore  
							
							 
							
							... 
							
							
							
							* Make local functions static
llvm-svn: 820 
							
						 
						
							2001-10-15 13:07:21 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								9a35320053 
								
							 
						 
						
							
							
								
								Added Instrumentation subdirectory.  
							
							 
							
							... 
							
							
							
							llvm-svn: 819 
							
						 
						
							2001-10-15 12:01:05 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								c62e2e5bf7 
								
							 
						 
						
							
							
								
								Implement global variables.  Struct and Pointer initializers are not implemented yet though  
							
							 
							
							... 
							
							
							
							llvm-svn: 818 
							
						 
						
							2001-10-15 05:51:48 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								c306f18c3e 
								
							 
						 
						
							
							
								
								Implement linking of global variable constant references  
							
							 
							
							... 
							
							
							
							llvm-svn: 817 
							
						 
						
							2001-10-15 03:12:52 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								78e11ae816 
								
							 
						 
						
							
							
								
								Oops, didn't handle hex values correctly.  :(  
							
							 
							
							... 
							
							
							
							llvm-svn: 815 
							
						 
						
							2001-10-15 00:05:03 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								8f80fe0bfd 
								
							 
						 
						
							
							
								
								* Fix the constpoolarray -> c"" printing routines to escape things properly  
							
							 
							
							... 
							
							
							
							* Fix slightly broken sharing problems
* Do not escape the literal string passed in
llvm-svn: 814 
							
						 
						
							2001-10-14 23:54:12 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								a972919f92 
								
							 
						 
						
							
							
								
								Minor cleanup  
							
							 
							
							... 
							
							
							
							llvm-svn: 812 
							
						 
						
							2001-10-14 23:29:30 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								1090dc96ff 
								
							 
						 
						
							
							
								
								Implement linker.  It's 95% working now.  
							
							 
							
							... 
							
							
							
							llvm-svn: 810 
							
						 
						
							2001-10-14 23:29:15 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								e6c611b990 
								
							 
						 
						
							
							
								
								Forward operands into implicit uses as well as explicit ones.  
							
							 
							
							... 
							
							
							
							llvm-svn: 808 
							
						 
						
							2001-10-14 23:28:43 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								01a206b8fd 
								
							 
						 
						
							
							
								
								External methods shouldn't have argument lists  
							
							 
							
							... 
							
							
							
							llvm-svn: 807 
							
						 
						
							2001-10-14 23:28:41 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								a200a6c583 
								
							 
						 
						
							
							
								
								Insert code to trace values at basic block and method exits.  
							
							 
							
							... 
							
							
							
							Current version does not check for liveness.
llvm-svn: 800 
							
						 
						
							2001-10-14 23:18:45 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								34410432da 
								
							 
						 
						
							
							
								
								Added routine to create a char array for a string.  
							
							 
							
							... 
							
							
							
							Also, print char arrays as strings.
llvm-svn: 799 
							
						 
						
							2001-10-14 23:17:20 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								1679709b71 
								
							 
						 
						
							
							
								
								Two bug fixes that were suppressing some "load-constant-into-register" instrs.  
							
							 
							
							... 
							
							
							
							llvm-svn: 795 
							
						 
						
							2001-10-14 18:10:33 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								b3368ac9db 
								
							 
						 
						
							
							
								
								Move the burg file to here.  Add .in suffix to indicate that it gets  
							
							 
							
							... 
							
							
							
							preprocessed before burg gets to it
llvm-svn: 794 
							
						 
						
							2001-10-14 17:26:21 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								1a176f15dc 
								
							 
						 
						
							
							
								
								Make the sparc.burg file be a little more flexible and rubust in the fact of  
							
							 
							
							... 
							
							
							
							renumbering of instructions.  It is still horribly broken and grossly dependant on the number of instructions, but now it is a least a little better.
Oh yeah it also works now.
llvm-svn: 793 
							
						 
						
							2001-10-14 17:25:31 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								1362299644 
								
							 
						 
						
							
							
								
								Check in makefile  
							
							 
							
							... 
							
							
							
							llvm-svn: 788 
							
						 
						
							2001-10-13 16:57:03 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								1efb6bc30e 
								
							 
						 
						
							
							
								
								Compile the transforms directory  
							
							 
							
							... 
							
							
							
							llvm-svn: 776 
							
						 
						
							2001-10-13 07:04:00 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								b7b537f192 
								
							 
						 
						
							
							
								
								Start of a linker  
							
							 
							
							... 
							
							
							
							llvm-svn: 775 
							
						 
						
							2001-10-13 07:03:50 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								cc17a7af5a 
								
							 
						 
						
							
							
								
								Implement the invoke instruction  
							
							 
							
							... 
							
							
							
							llvm-svn: 774 
							
						 
						
							2001-10-13 07:01:45 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								74a0151acb 
								
							 
						 
						
							
							
								
								* Fix a nefarious bugs: TypesEqual was wrong for varargs methods  
							
							 
							
							... 
							
							
							
							* MethodType::get now takes a literal isVarArg method argument
* Use new style casts
llvm-svn: 773 
							
						 
						
							2001-10-13 07:01:33 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								2ec97a2b9c 
								
							 
						 
						
							
							
								
								Convert a runtime check into an assertion  
							
							 
							
							... 
							
							
							
							llvm-svn: 772 
							
						 
						
							2001-10-13 06:58:56 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								446ad50c30 
								
							 
						 
						
							
							
								
								* Add support for Module specific constants  
							
							 
							
							... 
							
							
							
							* Add proper support for ConstPoolPointerReference's
llvm-svn: 771 
							
						 
						
							2001-10-13 06:58:40 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								3b88b14312 
								
							 
						 
						
							
							
								
								Add new TerminatorInst ctor for invoke  
							
							 
							
							... 
							
							
							
							llvm-svn: 770 
							
						 
						
							2001-10-13 06:57:47 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								d7a7330e97 
								
							 
						 
						
							
							
								
								* Fix TODO  
							
							 
							
							... 
							
							
							
							* Support ConstPoolPOinterReferences correctly
* New constPoolPointerNull subclass
* Add classof support for more classes
* Add proper support for ConstPoolPointerReference::getStrValue()
llvm-svn: 769 
							
						 
						
							2001-10-13 06:57:33 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								8deb9e588e 
								
							 
						 
						
							
							
								
								Fix broken #endif  
							
							 
							
							... 
							
							
							
							llvm-svn: 768 
							
						 
						
							2001-10-13 06:54:54 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								a742b6acf3 
								
							 
						 
						
							
							
								
								* Add #include  
							
							 
							
							... 
							
							
							
							* Fix #endif problems
* Change to getCalledValue instead of getCalledMethod
llvm-svn: 767 
							
						 
						
							2001-10-13 06:54:30 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								675db8db26 
								
							 
						 
						
							
							
								
								Add StringList support  
							
							 
							
							... 
							
							
							
							llvm-svn: 766 
							
						 
						
							2001-10-13 06:53:19 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								f0b68888af 
								
							 
						 
						
							
							
								
								Support the invoke instruction  
							
							 
							
							... 
							
							
							
							llvm-svn: 765 
							
						 
						
							2001-10-13 06:52:41 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								cfc2f446a6 
								
							 
						 
						
							
							
								
								Support indirect calls  
							
							 
							
							... 
							
							
							
							llvm-svn: 764 
							
						 
						
							2001-10-13 06:52:31 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								9be166000d 
								
							 
						 
						
							
							
								
								not is a keyword in ansi C++, avoid it  
							
							 
							
							... 
							
							
							
							llvm-svn: 763 
							
						 
						
							2001-10-13 06:51:26 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								2b3369567e 
								
							 
						 
						
							
							
								
								* Fix privacy issues on RegToRefVecMap  
							
							 
							
							... 
							
							
							
							* Fix initialization order problems...
llvm-svn: 762 
							
						 
						
							2001-10-13 06:51:01 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								81125b6c48 
								
							 
						 
						
							
							
								
								* Use new style casts more  
							
							 
							
							... 
							
							
							
							* Add real support for global variable addresses initializing constants
* Fix encoding/decoding of VarArgs calls
* Support the Invoke instruction
llvm-svn: 761 
							
						 
						
							2001-10-13 06:48:38 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								fb49fd6642 
								
							 
						 
						
							
							
								
								* Add real support for global variable addresses initializing constants  
							
							 
							
							... 
							
							
							
							* Add minor optimization to BytecodeParser::refineAbstractType
* MethodType::get now take an explicit isVarArg parameter
* Fix encoding/decoding of VarArgs calls
* Support the Invoke instruction
llvm-svn: 760 
							
						 
						
							2001-10-13 06:47:01 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								862e338b46 
								
							 
						 
						
							
							
								
								* Support writing GlobalVariables with info comments by them  
							
							 
							
							... 
							
							
							
							* Print out prototypes correctly in cases that we weren't before
* Use new style casts more
* Support printing new invoke instruction
llvm-svn: 759 
							
						 
						
							2001-10-13 06:42:36 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								f26e0d9ffe 
								
							 
						 
						
							
							
								
								* Add support for forward references of global variable addresses  
							
							 
							
							... 
							
							
							
							* Add support for numeric global variable addresses
* Clean up getVal function by refactoring it into several smaller functions
* MethodTypes are now specified with an explicit isVarArg parameter
* Break ValueRef into ConstValueRef & SymbolicValueRef components
* Add support for the new Invoke instruction
* Fix a few broken calls to Type::getName instead of Type::getDescription
llvm-svn: 758 
							
						 
						
							2001-10-13 06:41:08 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								930f610ea5 
								
							 
						 
						
							
							
								
								Add operator< to ValID's so that they can be put in map's  
							
							 
							
							... 
							
							
							
							llvm-svn: 757 
							
						 
						
							2001-10-13 06:37:47 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								fc4c5040aa 
								
							 
						 
						
							
							
								
								Remove exception specification  
							
							 
							
							... 
							
							
							
							llvm-svn: 756 
							
						 
						
							2001-10-13 06:37:27 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								3d4b290757 
								
							 
						 
						
							
							
								
								Support the new Invoke instruction  
							
							 
							
							... 
							
							
							
							llvm-svn: 755 
							
						 
						
							2001-10-13 06:37:14 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								1907f4e8cc 
								
							 
						 
						
							
							
								
								Support pointers to globals happily  
							
							 
							
							... 
							
							
							
							llvm-svn: 754 
							
						 
						
							2001-10-13 06:35:09 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								f7d66a73ce 
								
							 
						 
						
							
							
								
								Fix code to make GCC 2.96 happy  
							
							 
							
							... 
							
							
							
							llvm-svn: 753 
							
						 
						
							2001-10-13 06:34:47 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								8cbbbef674 
								
							 
						 
						
							
							
								
								* Add support for Invoke instructions  
							
							 
							
							... 
							
							
							
							* Add support for indirect calls
llvm-svn: 752 
							
						 
						
							2001-10-13 06:33:19 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								7c10e086eb 
								
							 
						 
						
							
							
								
								--corrected coalescing test: coalsed only if two are of the same reg class  
							
							 
							
							... 
							
							
							
							llvm-svn: 729 
							
						 
						
							2001-10-12 17:48:18 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								04009efe48 
								
							 
						 
						
							
							
								
								added support for implict operands in machine instruction  
							
							 
							
							... 
							
							
							
							llvm-svn: 728 
							
						 
						
							2001-10-12 17:47:23 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								85cc5744ba 
								
							 
						 
						
							
							
								
								--added support for implicit operands in machine instructions  
							
							 
							
							... 
							
							
							
							llvm-svn: 727 
							
						 
						
							2001-10-12 17:46:27 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								8aeb09fcc7 
								
							 
						 
						
							
							
								
								Record implicitRefs for each machine instruction instead of  
							
							 
							
							... 
							
							
							
							each VM instruction.
llvm-svn: 725 
							
						 
						
							2001-10-11 04:23:19 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								1235b330f7 
								
							 
						 
						
							
							
								
								Add graph edges due to implicit refs in each machine instruction.  
							
							 
							
							... 
							
							
							
							llvm-svn: 724 
							
						 
						
							2001-10-11 04:22:45 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								d50b665acf 
								
							 
						 
						
							
							
								
								Don't insert useful instructions in delay slot of a RETURN.  
							
							 
							
							... 
							
							
							
							llvm-svn: 721 
							
						 
						
							2001-10-10 20:58:11 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								021d523b2f 
								
							 
						 
						
							
							
								
								Insert code to load constants used as Call or Return arguments.  
							
							 
							
							... 
							
							
							
							Also, note return value of a Call as an "implicitUse".
llvm-svn: 720 
							
						 
						
							2001-10-10 20:56:33 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								192686db96 
								
							 
						 
						
							
							
								
								Machine-independent code generation routines used in instruction  
							
							 
							
							... 
							
							
							
							selection.  These used to live in several different places before.
llvm-svn: 719 
							
						 
						
							2001-10-10 20:50:43 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								c36a504cfe 
								
							 
						 
						
							
							
								
								Moved code generation support routines to InstrSelectionSupport.cpp.  
							
							 
							
							... 
							
							
							
							llvm-svn: 717 
							
						 
						
							2001-10-10 20:49:07 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								990d8fb3e8 
								
							 
						 
						
							
							
								
								--removed %g regs being allocated - fix later  
							
							 
							
							... 
							
							
							
							llvm-svn: 714 
							
						 
						
							2001-10-09 23:36:13 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								78326d20c5 
								
							 
						 
						
							
							
								
								Add comment  
							
							 
							
							... 
							
							
							
							llvm-svn: 712 
							
						 
						
							2001-10-03 19:35:57 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								e504b4395b 
								
							 
						 
						
							
							
								
								Support multiple global's definitions  
							
							 
							
							... 
							
							
							
							llvm-svn: 711 
							
						 
						
							2001-10-03 19:35:04 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								2503325027 
								
							 
						 
						
							
							
								
								Factor parentness out of Module & GlobalVariable into GlobalValue  
							
							 
							
							... 
							
							
							
							Implement SymbolTable debug/dump utility
llvm-svn: 710 
							
						 
						
							2001-10-03 19:28:15 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								883ad0b352 
								
							 
						 
						
							
							
								
								Rename getNullPointer to getNull  
							
							 
							
							... 
							
							
							
							Allow sharing of null pointer constants
llvm-svn: 709 
							
						 
						
							2001-10-03 15:39:36 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								ad95d1d12f 
								
							 
						 
						
							
							
								
								Rename getNullPointer to getNull  
							
							 
							
							... 
							
							
							
							llvm-svn: 708 
							
						 
						
							2001-10-03 15:39:24 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								fb3e54940b 
								
							 
						 
						
							
							
								
								Allow duplicate constant values as long as they are compatible.  
							
							 
							
							... 
							
							
							
							Clean up stuff a little bit with inMethod/ModuleContext functions
llvm-svn: 707 
							
						 
						
							2001-10-03 15:39:04 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								28807801be 
								
							 
						 
						
							
							
								
								Add check to make sure that we dont reference MEthodType's directly  
							
							 
							
							... 
							
							
							
							llvm-svn: 704 
							
						 
						
							2001-10-03 14:59:05 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								7fac070215 
								
							 
						 
						
							
							
								
								* Both Method & GlobalVariable now subclass GlobalValue  
							
							 
							
							... 
							
							
							
							* ConstPoolPointerReference now represents a pointer to a GlobalValue
* Methods name references are now explicit pointers to methods
* Rename Value::GlobalVal to Value::GlobalVariableVal to avoid confusion
llvm-svn: 703 
							
						 
						
							2001-10-03 14:53:21 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								60e0dd78b2 
								
							 
						 
						
							
							
								
								First try at a horrible global value reference wrapper  
							
							 
							
							... 
							
							
							
							llvm-svn: 701 
							
						 
						
							2001-10-03 06:12:09 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								e63ddd8df7 
								
							 
						 
						
							
							
								
								Clean up parser, fix a bug that prevented this from working:  
							
							 
							
							... 
							
							
							
							%ListNode3 = global %list { %list* null, int 4 }
because %list is name and the parser expected a literal {..} type there.
In addition, simplified rules that the fix (Allow any Types there, not just a StructType)
made obsolete.  Simplified type propogation a bit.
llvm-svn: 700 
							
						 
						
							2001-10-03 03:19:33 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								571a6b07b6 
								
							 
						 
						
							
							
								
								* Add support for null as a constant  
							
							 
							
							... 
							
							
							
							* Allow multiple definitions of a type with the same name as long as they are the same type
* Eagerly resolve types to allow #2  to work instead of after the whole const pool has been processed
* Change grammar to require a const before a local constant definition
llvm-svn: 699 
							
						 
						
							2001-10-03 01:49:25 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								da55810666 
								
							 
						 
						
							
							
								
								Commit more code over to new cast style  
							
							 
							
							... 
							
							
							
							llvm-svn: 697 
							
						 
						
							2001-10-02 03:41:24 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								3856934386 
								
							 
						 
						
							
							
								
								Convert more code to use new style casts  
							
							 
							
							... 
							
							
							
							Eliminate old style casts from value.h
llvm-svn: 696 
							
						 
						
							2001-10-01 20:11:19 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								8f19112923 
								
							 
						 
						
							
							
								
								Add more support for new style casts  
							
							 
							
							... 
							
							
							
							Convert more code to use them
llvm-svn: 695 
							
						 
						
							2001-10-01 18:26:53 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								4b717c0edc 
								
							 
						 
						
							
							
								
								Add support for new style casts  
							
							 
							
							... 
							
							
							
							llvm-svn: 694 
							
						 
						
							2001-10-01 16:18:37 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								ba1c1f2fb6 
								
							 
						 
						
							
							
								
								Pull predecessor and successor iterators out of the CFG*.h files, and plop them into  
							
							 
							
							... 
							
							
							
							the BasicBlock class where they should be.  pred_begin/pred_end become methods on BasicBlock,
and the cfg namespace isn't used anymore.
llvm-svn: 691 
							
						 
						
							2001-10-01 13:19:53 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								0156ba6185 
								
							 
						 
						
							
							
								
								Fix emission of return instructions  
							
							 
							
							... 
							
							
							
							llvm-svn: 688 
							
						 
						
							2001-10-01 02:32:34 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								3652ef7587 
								
							 
						 
						
							
							
								
								Several fixes:  
							
							 
							
							... 
							
							
							
							(1) Avoid hard-coding some register numbers.
(2) Fix some incorrect branch opcodes.
(3) Don't try to move int register to float register!
(4) If an operand being forwarded is a constant and it doesn't fit
    into the immed field of the copy machine instruction, then
    generate a load-constant instead of a copy.
(5) Use (unsigned long) 0 for copying a pointer via "add 0, ptr -> ptr2".
llvm-svn: 683 
							
						 
						
							2001-10-01 00:12:53 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								acffb966b9 
								
							 
						 
						
							
							
								
								removing phy regaloc - incorrect file  
							
							 
							
							... 
							
							
							
							llvm-svn: 682 
							
						 
						
							2001-09-30 23:52:14 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								40378e32cd 
								
							 
						 
						
							
							
								
								Change latency of setuw and setsw to 2 cycles.  
							
							 
							
							... 
							
							
							
							llvm-svn: 681 
							
						 
						
							2001-09-30 23:46:57 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								813ffcc4f6 
								
							 
						 
						
							
							
								
								Change ! ( ...== ...)  to !=.  
							
							 
							
							... 
							
							
							
							llvm-svn: 680 
							
						 
						
							2001-09-30 23:45:08 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								e44abbb99d 
								
							 
						 
						
							
							
								
								Improved dump for disp type operand.  
							
							 
							
							... 
							
							
							
							llvm-svn: 679 
							
						 
						
							2001-09-30 23:44:19 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								819635eb7c 
								
							 
						 
						
							
							
								
								Bug fixes:  
							
							 
							
							... 
							
							
							
							(1) Ensure that delay slot instructions are not moved out of place (this
    was happening for some CALL instructions).  Basically, we need to
    move all delay slot instructions out of the graph and handle them
    along with the delayed control transfer instruction.
(2) Mark scheduled instructions correctly when instructions are scheduled
    in more than one cycle in a single step (due to delay slots).
llvm-svn: 678 
							
						 
						
							2001-09-30 23:43:34 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								f734fc2af7 
								
							 
						 
						
							
							
								
								Minor changes for bug fixes in SchedGraph.cpp.  
							
							 
							
							... 
							
							
							
							llvm-svn: 677 
							
						 
						
							2001-09-30 23:37:26 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								2b2ca42761 
								
							 
						 
						
							
							
								
								Two bug fixes:  
							
							 
							
							... 
							
							
							
							(1) Add edges for Values that are written by multiple m/c instructions
(2) Add edges for LLVM operands that are not machine operands (e.g., Call args)
llvm-svn: 676 
							
						 
						
							2001-09-30 23:36:58 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								c8b4d12a8f 
								
							 
						 
						
							
							
								
								*** empty log message ***  
							
							 
							
							... 
							
							
							
							llvm-svn: 675 
							
						 
						
							2001-09-30 23:28:04 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								560b0ad482 
								
							 
						 
						
							
							
								
								added suggesting color support  
							
							 
							
							... 
							
							
							
							llvm-svn: 673 
							
						 
						
							2001-09-30 23:19:57 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								5867c7ae80 
								
							 
						 
						
							
							
								
								added support for suggesting colors  
							
							 
							
							... 
							
							
							
							llvm-svn: 671 
							
						 
						
							2001-09-30 23:16:47 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								e3b9faddad 
								
							 
						 
						
							
							
								
								--added suggesting colors; call/ret arg handling  
							
							 
							
							... 
							
							
							
							llvm-svn: 670 
							
						 
						
							2001-09-30 23:11:59 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								fbdec250b3 
								
							 
						 
						
							
							
								
								Implement constant pointers, and null specifically in the parser, bytecode writer, and  
							
							 
							
							... 
							
							
							
							bytecode reader.
llvm-svn: 668 
							
						 
						
							2001-09-30 22:46:54 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								436248f236 
								
							 
						 
						
							
							
								
								Implement a constant pointer value  
							
							 
							
							... 
							
							
							
							llvm-svn: 667 
							
						 
						
							2001-09-30 20:14:07 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								707d4db319 
								
							 
						 
						
							
							
								
								File #include file  
							
							 
							
							... 
							
							
							
							llvm-svn: 665 
							
						 
						
							2001-09-28 22:56:43 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								bb09a10929 
								
							 
						 
						
							
							
								
								Pull iterators out of CFG.h and CFGdecls and put them in Support directory  
							
							 
							
							... 
							
							
							
							llvm-svn: 664 
							
						 
						
							2001-09-28 22:56:31 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								b021f68438 
								
							 
						 
						
							
							
								
								* Properly escape function names  
							
							 
							
							... 
							
							
							
							* Ignore %xcc argument on conditional branches
llvm-svn: 663 
							
						 
						
							2001-09-28 15:07:24 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								c6635c9fa2 
								
							 
						 
						
							
							
								
								Check in bug fix for vadve  
							
							 
							
							... 
							
							
							
							llvm-svn: 662 
							
						 
						
							2001-09-28 15:06:55 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								bbf3ae8414 
								
							 
						 
						
							
							
								
								Initial support for construction of a call graph  
							
							 
							
							... 
							
							
							
							llvm-svn: 660 
							
						 
						
							2001-09-28 00:08:15 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								d695305ea3 
								
							 
						 
						
							
							
								
								Make error report a little more useful  
							
							 
							
							... 
							
							
							
							llvm-svn: 657 
							
						 
						
							2001-09-28 00:06:52 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								b271be3185 
								
							 
						 
						
							
							
								
								ADCE is broken but at least we know why  
							
							 
							
							... 
							
							
							
							llvm-svn: 656 
							
						 
						
							2001-09-28 00:06:42 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								ebd284dfe9 
								
							 
						 
						
							
							
								
								-- fixed a ret val bug  
							
							 
							
							... 
							
							
							
							llvm-svn: 652 
							
						 
						
							2001-09-19 22:40:51 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								72727bf358 
								
							 
						 
						
							
							
								
								-- removed debugging messages  
							
							 
							
							... 
							
							
							
							llvm-svn: 651 
							
						 
						
							2001-09-19 22:39:58 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								213b3621ac 
								
							 
						 
						
							
							
								
								-fixed return value bug.  
							
							 
							
							... 
							
							
							
							llvm-svn: 650 
							
						 
						
							2001-09-19 22:31:21 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								da876eff3c 
								
							 
						 
						
							
							
								
								Change debug info from #define to command line option  
							
							 
							
							... 
							
							
							
							Clean up extra debug info that wasn't guarded
llvm-svn: 647 
							
						 
						
							2001-09-19 16:26:23 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								d89425bb58 
								
							 
						 
						
							
							
								
								Change debug info from #define to command line option  
							
							 
							
							... 
							
							
							
							llvm-svn: 646 
							
						 
						
							2001-09-19 16:26:10 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								1bec3bd0a4 
								
							 
						 
						
							
							
								
								* REMOVE extraneous debug info if DEBUG_RA is not set  
							
							 
							
							... 
							
							
							
							* Spell PhyRegAlloc right.
llvm-svn: 645 
							
						 
						
							2001-09-19 16:09:04 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								e86a0230aa 
								
							 
						 
						
							
							
								
								Seperate instruction definitions into new SparcInstr.def file  
							
							 
							
							... 
							
							
							
							Move contents of SparcMachineInstrDesc[] out of SparcInternals.h
into Sparc.cpp
llvm-svn: 644 
							
						 
						
							2001-09-19 15:56:23 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								92c15742ad 
								
							 
						 
						
							
							
								
								Okay, make the member function work.  
							
							 
							
							... 
							
							
							
							llvm-svn: 643 
							
						 
						
							2001-09-19 14:09:25 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								8c3f09e42f 
								
							 
						 
						
							
							
								
								Remove global debug output fns that have been superceded by a member func  
							
							 
							
							... 
							
							
							
							llvm-svn: 642 
							
						 
						
							2001-09-19 14:08:53 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								49726a21a5 
								
							 
						 
						
							
							
								
								Add EmitAssembly to mf  
							
							 
							
							... 
							
							
							
							llvm-svn: 637 
							
						 
						
							2001-09-19 13:48:18 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								036a317f2a 
								
							 
						 
						
							
							
								
								First cut at assembly output  
							
							 
							
							... 
							
							
							
							llvm-svn: 636 
							
						 
						
							2001-09-19 13:47:27 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								518da4f3cd 
								
							 
						 
						
							
							
								
								Add emitAssemblyMethod to TargetMachine  
							
							 
							
							... 
							
							
							
							llvm-svn: 635 
							
						 
						
							2001-09-19 13:47:12 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								219f777bad 
								
							 
						 
						
							
							
								
								*** empty log message ***  
							
							 
							
							... 
							
							
							
							llvm-svn: 634 
							
						 
						
							2001-09-18 22:57:47 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								dfc6c887da 
								
							 
						 
						
							
							
								
								-- ruchira  
							
							 
							
							... 
							
							
							
							llvm-svn: 632 
							
						 
						
							2001-09-18 22:52:44 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								1f331f258b 
								
							 
						 
						
							
							
								
								-- updated printing  
							
							 
							
							... 
							
							
							
							llvm-svn: 631 
							
						 
						
							2001-09-18 22:43:57 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								1d06a46723 
								
							 
						 
						
							
							
								
								Remove a copy of a bunch of code  
							
							 
							
							... 
							
							
							
							llvm-svn: 630 
							
						 
						
							2001-09-18 18:15:40 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								ac128cd4c6 
								
							 
						 
						
							
							
								
								Fix up code a bit, remove operator<< to Assembly/Writer.h  
							
							 
							
							... 
							
							
							
							llvm-svn: 628 
							
						 
						
							2001-09-18 17:03:59 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								caa449cf5c 
								
							 
						 
						
							
							
								
								Remove extraneous #includes  
							
							 
							
							... 
							
							
							
							llvm-svn: 627 
							
						 
						
							2001-09-18 17:03:48 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								3c6ce06243 
								
							 
						 
						
							
							
								
								Don't check for null on delete  
							
							 
							
							... 
							
							
							
							llvm-svn: 624 
							
						 
						
							2001-09-18 17:02:42 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								4d86cc2842 
								
							 
						 
						
							
							
								
								Renamed files to match the primary classes they provide.  
							
							 
							
							... 
							
							
							
							llvm-svn: 620 
							
						 
						
							2001-09-18 13:10:05 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								8dd5e310e0 
								
							 
						 
						
							
							
								
								Renamed a header file.  
							
							 
							
							... 
							
							
							
							llvm-svn: 619 
							
						 
						
							2001-09-18 13:04:53 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								514180ed83 
								
							 
						 
						
							
							
								
								Make class TargetMachine the common interface to all target-dependent  
							
							 
							
							... 
							
							
							
							information, including instr, sched, and reg information.
This allows us to allocate them all in one place and use them much
more uniformly.
llvm-svn: 618 
							
						 
						
							2001-09-18 13:04:24 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								78d50d0f7a 
								
							 
						 
						
							
							
								
								Allow pointer constants as well as integer and booleans.  
							
							 
							
							... 
							
							
							
							Skip over list nodes in ForwardOperand.
llvm-svn: 617 
							
						 
						
							2001-09-18 13:03:13 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								49d908a419 
								
							 
						 
						
							
							
								
								Make class TargetMachine the common interface to all target-dependent  
							
							 
							
							... 
							
							
							
							information, including instr, sched, and reg information.
Rename files to match the primary classes they provide.
Commented out call to register allocation until more tests run correctly.
llvm-svn: 616 
							
						 
						
							2001-09-18 13:01:29 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								6cefc7072d 
								
							 
						 
						
							
							
								
								Renamed files to match the main classes they provide.  
							
							 
							
							... 
							
							
							
							Some other minor changes.
llvm-svn: 615 
							
						 
						
							2001-09-18 12:58:33 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								82d1e14e7f 
								
							 
						 
						
							
							
								
								Cast unsigned to int!  It was causing a nice little bug.  
							
							 
							
							... 
							
							
							
							llvm-svn: 614 
							
						 
						
							2001-09-18 12:57:39 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								bb81dae651 
								
							 
						 
						
							
							
								
								Minor changes.  
							
							 
							
							... 
							
							
							
							llvm-svn: 613 
							
						 
						
							2001-09-18 12:56:28 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								0c51cf0f51 
								
							 
						 
						
							
							
								
								Don't add instructions to subtree for Phi or Call.  
							
							 
							
							... 
							
							
							
							Free tree nodes when done.
Avoid obscuring code with for_each and bind_obj :-)
llvm-svn: 612 
							
						 
						
							2001-09-18 12:54:27 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								8656a80661 
								
							 
						 
						
							
							
								
								Format file header.  
							
							 
							
							... 
							
							
							
							llvm-svn: 611 
							
						 
						
							2001-09-18 12:52:03 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								703297cf24 
								
							 
						 
						
							
							
								
								Add new entry/exit edges when removing delay slot nodes from the graph.  
							
							 
							
							... 
							
							
							
							Renamed some header files.
llvm-svn: 610 
							
						 
						
							2001-09-18 12:51:38 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								3e8029dc07 
								
							 
						 
						
							
							
								
								Moved erase edge functions to class SchedGraph.  
							
							 
							
							... 
							
							
							
							Add new dummy edges when deleting existing edges.
llvm-svn: 609 
							
						 
						
							2001-09-18 12:50:40 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								270766a210 
								
							 
						 
						
							
							
								
								Renamed some header files.  
							
							 
							
							... 
							
							
							
							llvm-svn: 608 
							
						 
						
							2001-09-18 12:49:39 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								fa64a35a01 
								
							 
						 
						
							
							
								
								Moved erase-edge functions from SchedGraphNode to SchedGraph.  
							
							 
							
							... 
							
							
							
							Renamed some header files.
llvm-svn: 607 
							
						 
						
							2001-09-18 12:49:26 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								13ba19a1a8 
								
							 
						 
						
							
							
								
								Moved DebugValue to Value.cpp.  
							
							 
							
							... 
							
							
							
							llvm-svn: 606 
							
						 
						
							2001-09-18 12:48:16 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								df6bbeb59c 
								
							 
						 
						
							
							
								
								Added debugging support.  
							
							 
							
							... 
							
							
							
							llvm-svn: 605 
							
						 
						
							2001-09-18 12:44:41 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								06225084b9 
								
							 
						 
						
							
							
								
								Minor fixes: renamed target machine files; fold sched info into TargetMachine.  
							
							 
							
							... 
							
							
							
							llvm-svn: 603 
							
						 
						
							2001-09-18 12:41:43 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								e2c8d43e1d 
								
							 
						 
						
							
							
								
								Remove the unsized array constraint  
							
							 
							
							... 
							
							
							
							llvm-svn: 599 
							
						 
						
							2001-09-18 04:38:32 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								3779864fcf 
								
							 
						 
						
							
							
								
								Add support for global constants, and for initializers for constants  
							
							 
							
							... 
							
							
							
							llvm-svn: 598 
							
						 
						
							2001-09-18 04:01:05 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								7fb14f54f8 
								
							 
						 
						
							
							
								
								Add support for global constants, and for initializers for constants  
							
							 
							
							... 
							
							
							
							Clean up parser somewhat by factoring out freeing of ID's into setname function
llvm-svn: 597 
							
						 
						
							2001-09-18 04:00:54 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								8efbd10c86 
								
							 
						 
						
							
							
								
								modified machine code printing  
							
							 
							
							... 
							
							
							
							llvm-svn: 595 
							
						 
						
							2001-09-15 21:11:11 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								970886e738 
								
							 
						 
						
							
							
								
								modified printing of debug messages  
							
							 
							
							... 
							
							
							
							llvm-svn: 593 
							
						 
						
							2001-09-15 19:11:31 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								86b2ad4b7c 
								
							 
						 
						
							
							
								
								--added methods for printing  
							
							 
							
							... 
							
							
							
							llvm-svn: 592 
							
						 
						
							2001-09-15 19:08:41 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								bae3812a95 
								
							 
						 
						
							
							
								
								added setRegForValue to MachineOperand class  
							
							 
							
							... 
							
							
							
							llvm-svn: 591 
							
						 
						
							2001-09-15 19:07:45 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								6fd9532e54 
								
							 
						 
						
							
							
								
								fixed printing messages  
							
							 
							
							... 
							
							
							
							llvm-svn: 590 
							
						 
						
							2001-09-15 19:06:58 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								fe0292e68d 
								
							 
						 
						
							
							
								
								-- debug messages dissabled  
							
							 
							
							... 
							
							
							
							llvm-svn: 589 
							
						 
						
							2001-09-15 16:54:40 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								f60342a231 
								
							 
						 
						
							
							
								
								--reg alloc code added  
							
							 
							
							... 
							
							
							
							llvm-svn: 587 
							
						 
						
							2001-09-15 00:33:26 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								671428c8a7 
								
							 
						 
						
							
							
								
								-reg alloc code  
							
							 
							
							... 
							
							
							
							llvm-svn: 586 
							
						 
						
							2001-09-15 00:31:44 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								7d144a8500 
								
							 
						 
						
							
							
								
								added register allocation code  
							
							 
							
							... 
							
							
							
							llvm-svn: 585 
							
						 
						
							2001-09-15 00:30:44 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								172a5f2911 
								
							 
						 
						
							
							
								
								Fix a bug with not removing method level types after compilation  
							
							 
							
							... 
							
							
							
							llvm-svn: 582 
							
						 
						
							2001-09-14 22:03:42 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								11002a7b93 
								
							 
						 
						
							
							
								
								added RegAlloc Directory to DIRS  
							
							 
							
							... 
							
							
							
							llvm-svn: 581 
							
						 
						
							2001-09-14 21:28:17 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								808568eafc 
								
							 
						 
						
							
							
								
								*** empty log message ***  
							
							 
							
							... 
							
							
							
							llvm-svn: 580 
							
						 
						
							2001-09-14 21:18:34 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								dfdab46dc1 
								
							 
						 
						
							
							
								
								*** empty log message ***  
							
							 
							
							... 
							
							
							
							llvm-svn: 579 
							
						 
						
							2001-09-14 20:31:39 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								95c652b59b 
								
							 
						 
						
							
							
								
								Add support for loading and storing pointers...  
							
							 
							
							... 
							
							
							
							llvm-svn: 575 
							
						 
						
							2001-09-14 20:00:02 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								ad2cbf0e18 
								
							 
						 
						
							
							
								
								Fix a bug that caused a crash if a setcc had zero uses.  
							
							 
							
							... 
							
							
							
							llvm-svn: 574 
							
						 
						
							2001-09-14 18:29:28 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								7f155e10f6 
								
							 
						 
						
							
							
								
								Add a forward decl, oops.  
							
							 
							
							... 
							
							
							
							llvm-svn: 573 
							
						 
						
							2001-09-14 17:55:51 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								8d44b99844 
								
							 
						 
						
							
							
								
								Chris seems fond of #include <vector>.  Fix these. Also convert use list in  
							
							 
							
							... 
							
							
							
							Value to a vector instead of a list.
Move SchedGraph.h & SchedPriorities.h into lib/CodeGen/InstrScheduling
llvm-svn: 572 
							
						 
						
							2001-09-14 16:56:32 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								1680fb1617 
								
							 
						 
						
							
							
								
								Add a comment  
							
							 
							
							... 
							
							
							
							llvm-svn: 571 
							
						 
						
							2001-09-14 16:08:12 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								6875e9cc97 
								
							 
						 
						
							
							
								
								Break scheduling infrastructure out of TargetMachine.cpp into SchedInfo.cpp  
							
							 
							
							... 
							
							
							
							llvm-svn: 569 
							
						 
						
							2001-09-14 15:43:58 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								87b3bf630b 
								
							 
						 
						
							
							
								
								Split Target/Machine.h into three files:  
							
							 
							
							... 
							
							
							
							* Machine.h
* InstInfo.h
* SchedInfo.h
TODO: Split out reg info stuff
llvm-svn: 567 
							
						 
						
							2001-09-14 06:08:03 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								22a6a90511 
								
							 
						 
						
							
							
								
								Make a new llvm/Target #include directory.  
							
							 
							
							... 
							
							
							
							Move files from lib/CodeGen/TargetMachine to lib/Target
Move TargetData.h and TargetMachine.h to Target/{Data.h|Machine.h}
Prepare to split TargetMachine.h into several smaller files
llvm-svn: 566 
							
						 
						
							2001-09-14 05:34:53 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								f8464e4b8d 
								
							 
						 
						
							
							
								
								Checkin changes to:  
							
							 
							
							... 
							
							
							
							1. Clean up the TargetMachine structure.  No more wierd pointers that have to
   be cast around and taken care of by the target.
2. Instruction Scheduling now takes the schedinfo as an argument.  The same
   should be done with the instinfo, it just isn't now.
llvm-svn: 565 
							
						 
						
							2001-09-14 04:32:55 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								5fae0de330 
								
							 
						 
						
							
							
								
								Move files to new sparc directory  
							
							 
							
							... 
							
							
							
							llvm-svn: 563 
							
						 
						
							2001-09-14 03:56:45 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								06028541ab 
								
							 
						 
						
							
							
								
								Move the sparc target to a new lib/Target directory  
							
							 
							
							... 
							
							
							
							llvm-svn: 562 
							
						 
						
							2001-09-14 03:55:11 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								b0ddffaae3 
								
							 
						 
						
							
							
								
								Move files.  
							
							 
							
							... 
							
							
							
							llvm-svn: 561 
							
						 
						
							2001-09-14 03:47:57 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								fc1e0f33fa 
								
							 
						 
						
							
							
								
								Move the contents of the CodeGen/TargetMachine/Sparc directory to Target/Sparc  
							
							 
							
							... 
							
							
							
							llvm-svn: 560 
							
						 
						
							2001-09-14 03:46:34 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								0a823a062c 
								
							 
						 
						
							
							
								
								This checkin represents some cleanup of the backend, implementing the following things:  
							
							 
							
							... 
							
							
							
							1. The TargetMachine structure is free to decide the process a particular target uses to generate code.
2. All of the gooee details of the sparc backend are now localized in the lib/CodeGen/TargetMAchine/Sparc directory.  The Sparc.h file that is globally visible is just a stub.
3. The Sparc.h file that esxists now will dissapear entirely someday when we have multiple backends chosen by a factory of some sort.
llvm-svn: 559 
							
						 
						
							2001-09-14 03:37:52 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								ff0c8a7511 
								
							 
						 
						
							
							
								
								This checkin represents some cleanup of the backend, implementing the following things:  
							
							 
							
							... 
							
							
							
							1. The TargetMachine structure is free to decide the process a particular target uses to generate code.
2. All of the gooee details of the sparc backend are now localized in the lib/CodeGen/TargetMAchine/Sparc directory.  The Sparc.h file that is globally visible is just a stub.
3. The Sparc.h file that esxists now will dissapear entirely someday when we have multiple backends chosen by a factory of some sort.
NOTE! The BBLiveVar.cpp file dependant on the Sparc backend, and is therefore not generic/portale to other backends.  This needs to be fixed.
llvm-svn: 558 
							
						 
						
							2001-09-14 03:37:22 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								2124f99556 
								
							 
						 
						
							
							
								
								Updates to use local header files.  
							
							 
							
							... 
							
							
							
							Note that this reverted changes that Ruchira commited that broke the build and
are unmaintainable without other checkins.
llvm-svn: 557 
							
						 
						
							2001-09-14 03:33:32 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								f8459bb199 
								
							 
						 
						
							
							
								
								More cleanups, preparing to revamp InstrForest to, among other things,  
							
							 
							
							... 
							
							
							
							not leak all its allocated memory.
llvm-svn: 553 
							
						 
						
							2001-09-12 16:34:03 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								16dd09a7bb 
								
							 
						 
						
							
							
								
								* Clean up InstrForest  
							
							 
							
							... 
							
							
							
							* Fix ins sel problem, test case:
void "foo" (int *%x, int *%y)
begin
        seteq int *%x, %y
        ret void
end
llvm-svn: 552 
							
						 
						
							2001-09-12 01:28:49 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								cc38da77e8 
								
							 
						 
						
							
							
								
								Eliminate 'BasicNode' from InstrForest.  
							
							 
							
							... 
							
							
							
							llvm-svn: 551 
							
						 
						
							2001-09-11 23:52:11 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								706ee8e5ec 
								
							 
						 
						
							
							
								
								Eliminate MainTreeNode function  
							
							 
							
							... 
							
							
							
							llvm-svn: 550 
							
						 
						
							2001-09-11 23:22:43 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								a7d3b8dca1 
								
							 
						 
						
							
							
								
								Remove irrelevant gross K&R Cisms  
							
							 
							
							... 
							
							
							
							llvm-svn: 549 
							
						 
						
							2001-09-11 23:13:38 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								3ce5ac2107 
								
							 
						 
						
							
							
								
								Handle subtract in expression classifier  
							
							 
							
							... 
							
							
							
							llvm-svn: 548 
							
						 
						
							2001-09-11 04:27:34 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								f4a0d70778 
								
							 
						 
						
							
							
								
								Use the correct style casts  
							
							 
							
							... 
							
							
							
							llvm-svn: 546 
							
						 
						
							2001-09-10 20:12:04 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								fe7b461376 
								
							 
						 
						
							
							
								
								Use correct style casts  
							
							 
							
							... 
							
							
							
							llvm-svn: 545 
							
						 
						
							2001-09-10 20:11:44 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								dd009521fe 
								
							 
						 
						
							
							
								
								Use correct style casts  
							
							 
							
							... 
							
							
							
							Types are not all constant now
llvm-svn: 544 
							
						 
						
							2001-09-10 20:11:28 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								e014d797b4 
								
							 
						 
						
							
							
								
								Use type checking predicates  
							
							 
							
							... 
							
							
							
							llvm-svn: 543 
							
						 
						
							2001-09-10 20:10:26 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								5a01692836 
								
							 
						 
						
							
							
								
								Use correct casts  
							
							 
							
							... 
							
							
							
							llvm-svn: 542 
							
						 
						
							2001-09-10 20:10:02 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								aeaba8a2ee 
								
							 
						 
						
							
							
								
								Use predicate for Value type test  
							
							 
							
							... 
							
							
							
							Use builtin casts
llvm-svn: 541 
							
						 
						
							2001-09-10 20:09:50 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								44a45af61b 
								
							 
						 
						
							
							
								
								Use predicate for Value type test  
							
							 
							
							... 
							
							
							
							llvm-svn: 540 
							
						 
						
							2001-09-10 20:09:28 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								c4b2634574 
								
							 
						 
						
							
							
								
								ModuleTyID doesn't exist anyymore  
							
							 
							
							... 
							
							
							
							Use correct cast
llvm-svn: 539 
							
						 
						
							2001-09-10 20:09:08 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								212c907cf1 
								
							 
						 
						
							
							
								
								getMethodType is now just getType  
							
							 
							
							... 
							
							
							
							llvm-svn: 538 
							
						 
						
							2001-09-10 20:08:52 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								adfe0d19d6 
								
							 
						 
						
							
							
								
								Add support for printing globals  
							
							 
							
							... 
							
							
							
							llvm-svn: 537 
							
						 
						
							2001-09-10 20:08:19 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								8ad45e8101 
								
							 
						 
						
							
							
								
								Update to use correct type cast  
							
							 
							
							... 
							
							
							
							llvm-svn: 536 
							
						 
						
							2001-09-10 20:08:08 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								706946b40a 
								
							 
						 
						
							
							
								
								Add support for global variables  
							
							 
							
							... 
							
							
							
							llvm-svn: 535 
							
						 
						
							2001-09-10 20:07:57 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								acfa507663 
								
							 
						 
						
							
							
								
								Fix a bug I introduced (assertion failed: Unknown operand type), and convert to predicate style for type checks  
							
							 
							
							... 
							
							
							
							llvm-svn: 531 
							
						 
						
							2001-09-10 19:43:38 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								da9755002f 
								
							 
						 
						
							
							
								
								Implement global variable support  
							
							 
							
							... 
							
							
							
							llvm-svn: 530 
							
						 
						
							2001-09-10 07:58:01 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								baf08eb2a7 
								
							 
						 
						
							
							
								
								Add support for external methods  
							
							 
							
							... 
							
							
							
							llvm-svn: 529 
							
						 
						
							2001-09-10 04:50:17 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								676d4118cf 
								
							 
						 
						
							
							
								
								Genericize support for calling functions a bit  
							
							 
							
							... 
							
							
							
							Add external method support
llvm-svn: 528 
							
						 
						
							2001-09-10 04:49:44 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								8b648b4a8b 
								
							 
						 
						
							
							
								
								Remove the definitions of 3 global functions that don't belong in the core  
							
							 
							
							... 
							
							
							
							llvm-svn: 526 
							
						 
						
							2001-09-09 23:02:07 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								a461b05207 
								
							 
						 
						
							
							
								
								Implement the subset of the GetConstantValueAsSignedInt function that is needed, locally.  Remove the two support functions to inline their contents.  
							
							 
							
							... 
							
							
							
							llvm-svn: 525 
							
						 
						
							2001-09-09 23:01:47 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								e4fe7bc4a5 
								
							 
						 
						
							
							
								
								Implement the subset of the GetConstantValueAsSignedInt function that is needed, locally.  
							
							 
							
							... 
							
							
							
							llvm-svn: 524 
							
						 
						
							2001-09-09 23:01:32 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								1117548f9e 
								
							 
						 
						
							
							
								
								Rename contype to subtype  
							
							 
							
							... 
							
							
							
							llvm-svn: 522 
							
						 
						
							2001-09-09 22:26:58 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								acfd27d502 
								
							 
						 
						
							
							
								
								Make ADCE more robust, it still has problems, but it's getting closer  
							
							 
							
							... 
							
							
							
							llvm-svn: 521 
							
						 
						
							2001-09-09 22:26:47 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								c49f5f35db 
								
							 
						 
						
							
							
								
								Fix problems with freeing memory twice  
							
							 
							
							... 
							
							
							
							llvm-svn: 520 
							
						 
						
							2001-09-09 22:26:29 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								9f8c09e760 
								
							 
						 
						
							
							
								
								Rename file to be consistent with header name  
							
							 
							
							... 
							
							
							
							llvm-svn: 519 
							
						 
						
							2001-09-09 21:59:43 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								81eb4c4e5c 
								
							 
						 
						
							
							
								
								Clean up Type class by removing mutable ConstRules member and use annotations insead  
							
							 
							
							... 
							
							
							
							llvm-svn: 516 
							
						 
						
							2001-09-09 21:02:38 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								61607ee880 
								
							 
						 
						
							
							
								
								Clean up ConstRules stuff to use annotations instead of a mutable member in Type  
							
							 
							
							... 
							
							
							
							llvm-svn: 515 
							
						 
						
							2001-09-09 21:01:20 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								b606fcb3e0 
								
							 
						 
						
							
							
								
								Handle cast float-to-float or cast double-to-double.  
							
							 
							
							... 
							
							
							
							llvm-svn: 512 
							
						 
						
							2001-09-09 20:35:34 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								57de997eff 
								
							 
						 
						
							
							
								
								Fix build breakage. :(  
							
							 
							
							... 
							
							
							
							llvm-svn: 511 
							
						 
						
							2001-09-09 19:52:23 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								facf074632 
								
							 
						 
						
							
							
								
								I really don't like it when people break the build.  
							
							 
							
							... 
							
							
							
							llvm-svn: 510 
							
						 
						
							2001-09-09 19:41:52 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								f5788aa837 
								
							 
						 
						
							
							
								
								Committed for compliation. Not yet final.  
							
							 
							
							... 
							
							
							
							--Ruchira
llvm-svn: 505 
							
						 
						
							2001-09-08 14:22:50 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								e5d0fb8eee 
								
							 
						 
						
							
							
								
								--Ruchira  
							
							 
							
							... 
							
							
							
							llvm-svn: 504 
							
						 
						
							2001-09-08 14:10:34 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								9373bd69b7 
								
							 
						 
						
							
							
								
								Make use of the new TOOLNAME/USEDLIBS options provided in Makefile.common  
							
							 
							
							... 
							
							
							
							llvm-svn: 501 
							
						 
						
							2001-09-07 22:59:25 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								064286b9cf 
								
							 
						 
						
							
							
								
								Updates to work with new lack of constant pool  
							
							 
							
							... 
							
							
							
							llvm-svn: 490 
							
						 
						
							2001-09-07 21:22:57 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								e99c9acb84 
								
							 
						 
						
							
							
								
								Remove unneeded #includes  
							
							 
							
							... 
							
							
							
							llvm-svn: 489 
							
						 
						
							2001-09-07 21:22:28 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								b7d0c37f5c 
								
							 
						 
						
							
							
								
								Remove unnecesary #include add dump calls pulled out of .h file  
							
							 
							
							... 
							
							
							
							llvm-svn: 488 
							
						 
						
							2001-09-07 21:21:03 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								bbf765695f 
								
							 
						 
						
							
							
								
								* Remove lots of #includes  
							
							 
							
							... 
							
							
							
							llvm-svn: 487 
							
						 
						
							2001-09-07 21:19:42 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								feb62c321e 
								
							 
						 
						
							
							
								
								Add tags so emacs knows these are C++ files  
							
							 
							
							... 
							
							
							
							llvm-svn: 483 
							
						 
						
							2001-09-07 21:04:20 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								1cedcf1c31 
								
							 
						 
						
							
							
								
								Moved functionality into the other constant pool stuff  
							
							 
							
							... 
							
							
							
							llvm-svn: 477 
							
						 
						
							2001-09-07 18:00:19 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								23fcc08d38 
								
							 
						 
						
							
							
								
								The header file for a translation unit should always be included first  
							
							 
							
							... 
							
							
							
							System headers should be last
llvm-svn: 475 
							
						 
						
							2001-09-07 17:18:30 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								74d07801bf 
								
							 
						 
						
							
							
								
								A file should always include it's private header file *FIRST* see the  
							
							 
							
							... 
							
							
							
							coding guidelines
llvm-svn: 474 
							
						 
						
							2001-09-07 17:15:18 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								8564037d97 
								
							 
						 
						
							
							
								
								Annotations are now const  
							
							 
							
							... 
							
							
							
							llvm-svn: 470 
							
						 
						
							2001-09-07 16:59:15 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								5f3b276293 
								
							 
						 
						
							
							
								
								Cleanup  
							
							 
							
							... 
							
							
							
							llvm-svn: 467 
							
						 
						
							2001-09-07 16:57:29 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								97d79f144c 
								
							 
						 
						
							
							
								
								Support abstract types  
							
							 
							
							... 
							
							
							
							Remove constant pool support
llvm-svn: 466 
							
						 
						
							2001-09-07 16:57:07 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								2bd66ebee9 
								
							 
						 
						
							
							
								
								Support a abstract, opaque, and recursive types  
							
							 
							
							... 
							
							
							
							Remove lockty, remove fillerty
Make type lookup more efficient
Support shared generic factory code
llvm-svn: 465 
							
						 
						
							2001-09-07 16:56:42 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								9e0f1cb3ad 
								
							 
						 
						
							
							
								
								Types and constnats are wierd objects in the symtabs  
							
							 
							
							... 
							
							
							
							Support abstract types in symtab
llvm-svn: 464 
							
						 
						
							2001-09-07 16:48:17 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								f50b723d9c 
								
							 
						 
						
							
							
								
								Modules must have a valid, nonnull type.  Make them void  
							
							 
							
							... 
							
							
							
							llvm-svn: 463 
							
						 
						
							2001-09-07 16:47:42 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								5c764a5a9b 
								
							 
						 
						
							
							
								
								Support new setName interface  
							
							 
							
							... 
							
							
							
							llvm-svn: 462 
							
						 
						
							2001-09-07 16:47:18 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								e8dd6ad040 
								
							 
						 
						
							
							
								
								* Support new setname interface  
							
							 
							
							... 
							
							
							
							* Add assertion for sanity checking
llvm-svn: 461 
							
						 
						
							2001-09-07 16:47:03 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								49d855ca31 
								
							 
						 
						
							
							
								
								* Cnstants are now global objects  
							
							 
							
							... 
							
							
							
							* ConstantPools no longer exist
* Constants are global objects in the LLVM system
* Constants are structurally equilivant if they are pointer equilivant
* Support abstract & opaque types
* Support setName on constants even though they don't track names
* Constnats don't get copy ctors anymore
* ConstPoolVal::equals is no longer useful [use ptr equivalency]
* Support generic factory classes to create and maintain constants
llvm-svn: 460 
							
						 
						
							2001-09-07 16:46:31 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								2d189a5981 
								
							 
						 
						
							
							
								
								Support new setName itf  
							
							 
							
							... 
							
							
							
							llvm-svn: 459 
							
						 
						
							2001-09-07 16:44:17 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								da010ca1b9 
								
							 
						 
						
							
							
								
								Annotations are const objects now  
							
							 
							
							... 
							
							
							
							llvm-svn: 458 
							
						 
						
							2001-09-07 16:44:01 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								d707ec62b6 
								
							 
						 
						
							
							
								
								Types and constants are wierd things in symbol tables now  
							
							 
							
							... 
							
							
							
							llvm-svn: 457 
							
						 
						
							2001-09-07 16:43:50 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								dae05dc937 
								
							 
						 
						
							
							
								
								* Eliminate reference to ConstantPool class  
							
							 
							
							... 
							
							
							
							* Constants are global objects that are not allocated or freed
llvm-svn: 456 
							
						 
						
							2001-09-07 16:43:22 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								e57fc205f4 
								
							 
						 
						
							
							
								
								Constant pool is dead  
							
							 
							
							... 
							
							
							
							llvm-svn: 455 
							
						 
						
							2001-09-07 16:42:51 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								6d7bce9f3c 
								
							 
						 
						
							
							
								
								Constants are now global unique objects  
							
							 
							
							... 
							
							
							
							llvm-svn: 454 
							
						 
						
							2001-09-07 16:42:26 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								07e158de3c 
								
							 
						 
						
							
							
								
								* Eliminate constant pool dependancies:  
							
							 
							
							... 
							
							
							
							* Eliminate DoRemoveUnusedConstants
llvm-svn: 453 
							
						 
						
							2001-09-07 16:42:08 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								030772df99 
								
							 
						 
						
							
							
								
								* Supoprt global constants  
							
							 
							
							... 
							
							
							
							* Remove support for local constant pools
* Eliminate constant pool merging method, which is no longer neccesary
* Disable invalid optimization (todo: fix it)
llvm-svn: 452 
							
						 
						
							2001-09-07 16:41:30 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								bbb229655b 
								
							 
						 
						
							
							
								
								* Support global constants  
							
							 
							
							... 
							
							
							
							* Eliminate need for constant pool
llvm-svn: 451 
							
						 
						
							2001-09-07 16:40:34 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								4eb6d9fd85 
								
							 
						 
						
							
							
								
								annotations are now const  
							
							 
							
							... 
							
							
							
							llvm-svn: 450 
							
						 
						
							2001-09-07 16:40:04 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								b97ef9f4cf 
								
							 
						 
						
							
							
								
								* Emit bytecode using a deque instead of a vector to be faster  
							
							 
							
							... 
							
							
							
							* Internal rep no longer has a constant pool
* Support emission of recursive types
* Don't output a constant pool for an external method
* The bytecode writer is no longer a module analyzer
llvm-svn: 449 
							
						 
						
							2001-09-07 16:39:41 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								1f043cd1ba 
								
							 
						 
						
							
							
								
								* Remove support for internal constant pool  
							
							 
							
							... 
							
							
							
							* Support globally unique constants
* Support recursive and forward referenced types
* Support abstract types
* Add new BCR_TRACE macro to enable debugging of why the bytecode reader
  occasionally refuses to read something
llvm-svn: 448 
							
						 
						
							2001-09-07 16:37:43 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								fee714f7e0 
								
							 
						 
						
							
							
								
								* Assembly writer is not a module analyzer anymore  
							
							 
							
							... 
							
							
							
							* There is no constant pool anymore
llvm-svn: 447 
							
						 
						
							2001-09-07 16:36:04 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								aa534bf195 
								
							 
						 
						
							
							
								
								* Add support for forward referencing types  
							
							 
							
							... 
							
							
							
							* Add support for upreferences for recursive types
* Remove support for ConstantPool.h
* Add support for globally unique Constants
* Add support for the opaque type
llvm-svn: 446 
							
						 
						
							2001-09-07 16:35:17 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								c7805c7d71 
								
							 
						 
						
							
							
								
								Add support for forward referencing types  
							
							 
							
							... 
							
							
							
							llvm-svn: 445 
							
						 
						
							2001-09-07 16:33:01 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								47af30c937 
								
							 
						 
						
							
							
								
								Add support for an opaque type  
							
							 
							
							... 
							
							
							
							llvm-svn: 444 
							
						 
						
							2001-09-07 16:32:43 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								dea211ea67 
								
							 
						 
						
							
							
								
								Remove #include of nonexistant header file  
							
							 
							
							... 
							
							
							
							llvm-svn: 443 
							
						 
						
							2001-09-07 16:32:10 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								1e6912a13f 
								
							 
						 
						
							
							
								
								* Slot calc is now simpler and not based on module analyzer.  
							
							 
							
							... 
							
							
							
							* Add new SC_DEBUG option to enable debugging of why stuff doesn't work
llvm-svn: 442 
							
						 
						
							2001-09-07 16:31:52 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								ce4cd006c1 
								
							 
						 
						
							
							
								
								Module analyzer no longer has to iterate over constant pool  
							
							 
							
							... 
							
							
							
							llvm-svn: 441 
							
						 
						
							2001-09-07 16:31:23 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								c6b06c4f9b 
								
							 
						 
						
							
							
								
								Simplify code by eliminating need to hang onto constant pool references  
							
							 
							
							... 
							
							
							
							llvm-svn: 440 
							
						 
						
							2001-09-07 16:31:04 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								4d30f4bb6c 
								
							 
						 
						
							
							
								
								*** empty log message ***  
							
							 
							
							... 
							
							
							
							llvm-svn: 412 
							
						 
						
							2001-08-31 20:59:58 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								8ae325420f 
								
							 
						 
						
							
							
								
								Added directory LiveVar/  
							
							 
							
							... 
							
							
							
							llvm-svn: 410 
							
						 
						
							2001-08-28 23:29:31 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								10db4c2551 
								
							 
						 
						
							
							
								
								Added nonterminals for arithmetic operations where one operand is constant.  
							
							 
							
							... 
							
							
							
							llvm-svn: 406 
							
						 
						
							2001-08-28 23:25:46 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								59a091870a 
								
							 
						 
						
							
							
								
								Makefile for InstrSched/  
							
							 
							
							... 
							
							
							
							llvm-svn: 403 
							
						 
						
							2001-08-28 23:17:22 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								27713047f4 
								
							 
						 
						
							
							
								
								Remove source list.  
							
							 
							
							... 
							
							
							
							llvm-svn: 402 
							
						 
						
							2001-08-28 23:16:59 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								ebfa4bd437 
								
							 
						 
						
							
							
								
								Added directory InstrSched.  
							
							 
							
							... 
							
							
							
							llvm-svn: 401 
							
						 
						
							2001-08-28 23:16:13 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								245b5b0691 
								
							 
						 
						
							
							
								
								Major changes too hard to document :-)  
							
							 
							
							... 
							
							
							
							llvm-svn: 400 
							
						 
						
							2001-08-28 23:12:57 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								23e59b70cd 
								
							 
						 
						
							
							
								
								Extensive additions for supporting instruction scheduling.  
							
							 
							
							... 
							
							
							
							llvm-svn: 398 
							
						 
						
							2001-08-28 23:10:41 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								742086f200 
								
							 
						 
						
							
							
								
								Added class MachineSchedInfo and several supporting classes  
							
							 
							
							... 
							
							
							
							as a machine description for instruction scheduling.
llvm-svn: 397 
							
						 
						
							2001-08-28 23:09:36 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								3148b83485 
								
							 
						 
						
							
							
								
								Implementation of instruction scheduling for LLVM.  
							
							 
							
							... 
							
							
							
							Currently schedules one basic block at a time.
llvm-svn: 396 
							
						 
						
							2001-08-28 23:07:19 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								138c3bb667 
								
							 
						 
						
							
							
								
								Class that encapsulates priority heuristics for instruction scheduling.  
							
							 
							
							... 
							
							
							
							llvm-svn: 395 
							
						 
						
							2001-08-28 23:06:49 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								754c4dd6ae 
								
							 
						 
						
							
							
								
								Scheduling DAG for instruction scheduling.  Currently for a single basic block.  
							
							 
							
							... 
							
							
							
							llvm-svn: 394 
							
						 
						
							2001-08-28 23:06:02 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								8641f9dca0 
								
							 
						 
						
							
							
								
								Moved debug options declaration to header file, and moved  
							
							 
							
							... 
							
							
							
							a function to MachineInstr.cpp.
llvm-svn: 393 
							
						 
						
							2001-08-28 23:04:38 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								5f72f42aee 
								
							 
						 
						
							
							
								
								Moved function PrintMachineInstructions here.  
							
							 
							
							... 
							
							
							
							llvm-svn: 392 
							
						 
						
							2001-08-28 23:02:39 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								1143eff628 
								
							 
						 
						
							
							
								
								analyze() now checks to see that we don't analyze the same method twice.  
							
							 
							
							... 
							
							
							
							Needs a mechnanism to override this check (e.g., after a transformation).
llvm-svn: 391 
							
						 
						
							2001-08-28 22:36:35 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								b6970c305f 
								
							 
						 
						
							
							
								
								*** empty log message ***  
							
							 
							
							... 
							
							
							
							llvm-svn: 390 
							
						 
						
							2001-08-28 22:35:21 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								b6aa2334f4 
								
							 
						 
						
							
							
								
								I suck  
							
							 
							
							... 
							
							
							
							llvm-svn: 385 
							
						 
						
							2001-08-27 18:54:45 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								53bbf0783b 
								
							 
						 
						
							
							
								
								Initial checkin of TargetData code  
							
							 
							
							... 
							
							
							
							llvm-svn: 384 
							
						 
						
							2001-08-27 16:00:15 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								74a5857531 
								
							 
						 
						
							
							
								
								Remove target specific stuff from Type classes  
							
							 
							
							... 
							
							
							
							llvm-svn: 383 
							
						 
						
							2001-08-27 15:52:13 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								21a6f5fe7f 
								
							 
						 
						
							
							
								
								Remove target specific method from MemAccessInst class  
							
							 
							
							... 
							
							
							
							llvm-svn: 382 
							
						 
						
							2001-08-27 15:51:43 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								6c5cbe3f60 
								
							 
						 
						
							
							
								
								Convert to use the new factored out TargetData class  
							
							 
							
							... 
							
							
							
							llvm-svn: 381 
							
						 
						
							2001-08-27 15:51:16 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								8dd99f33ea 
								
							 
						 
						
							
							
								
								Factor code out to the TargetData class  
							
							 
							
							... 
							
							
							
							llvm-svn: 380 
							
						 
						
							2001-08-27 15:50:41 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								f93e63a189 
								
							 
						 
						
							
							
								
								Support passing a data pointer to annotation factory methods  
							
							 
							
							... 
							
							
							
							llvm-svn: 376 
							
						 
						
							2001-08-27 05:19:10 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								827c2a1d7c 
								
							 
						 
						
							
							
								
								Demolish explicit source list  
							
							 
							
							... 
							
							
							
							llvm-svn: 375 
							
						 
						
							2001-08-27 05:18:35 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								2c1a98ef08 
								
							 
						 
						
							
							
								
								Lots of new functionality  
							
							 
							
							... 
							
							
							
							llvm-svn: 372 
							
						 
						
							2001-08-27 05:16:50 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								f04f646c1b 
								
							 
						 
						
							
							
								
								Remove explicit source list  
							
							 
							
							... 
							
							
							
							llvm-svn: 371 
							
						 
						
							2001-08-25 20:40:32 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								439465583a 
								
							 
						 
						
							
							
								
								Make sure noone branches to the entry node of the method  
							
							 
							
							... 
							
							
							
							llvm-svn: 369 
							
						 
						
							2001-08-24 14:56:34 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								3885a2db4f 
								
							 
						 
						
							
							
								
								Add annotation support  
							
							 
							
							... 
							
							
							
							llvm-svn: 366 
							
						 
						
							2001-08-23 17:07:56 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								a0484c8eeb 
								
							 
						 
						
							
							
								
								Handle case where there is no exit node from a flowgraph  
							
							 
							
							... 
							
							
							
							llvm-svn: 365 
							
						 
						
							2001-08-23 17:07:19 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								01a45c6c96 
								
							 
						 
						
							
							
								
								Changed an assertion message  
							
							 
							
							... 
							
							
							
							llvm-svn: 364 
							
						 
						
							2001-08-23 17:06:38 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								d7ff578767 
								
							 
						 
						
							
							
								
								Initial checkin of interpreter  
							
							 
							
							... 
							
							
							
							llvm-svn: 361 
							
						 
						
							2001-08-23 17:05:04 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								11e97b08f0 
								
							 
						 
						
							
							
								
								LV code on machine instructions  
							
							 
							
							... 
							
							
							
							llvm-svn: 360 
							
						 
						
							2001-08-20 21:12:49 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								ec1a5411d7 
								
							 
						 
						
							
							
								
								LV info on machine instructions  
							
							 
							
							... 
							
							
							
							llvm-svn: 359 
							
						 
						
							2001-08-20 21:11:01 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								1700068262 
								
							 
						 
						
							
							
								
								Always set isDef for operand in position resultPos.  
							
							 
							
							... 
							
							
							
							llvm-svn: 357 
							
						 
						
							2001-08-13 16:32:45 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								6dec5fe042 
								
							 
						 
						
							
							
								
								Changed SetMachineOpernad calls in Set3OperandsFromInstr so that the  
							
							 
							
							... 
							
							
							
							result position is a def (i.e., added true to the end of call) -- Ruchira
llvm-svn: 356 
							
						 
						
							2001-08-13 16:26:28 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								20429a47e5 
								
							 
						 
						
							
							
								
								Changed case 64 to make the first arg of phi a defintion  
							
							 
							
							... 
							
							
							
							llvm-svn: 355 
							
						 
						
							2001-08-13 16:24:01 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								c82322c526 
								
							 
						 
						
							
							
								
								*** empty log message ***  
							
							 
							
							... 
							
							
							
							llvm-svn: 351 
							
						 
						
							2001-08-07 21:01:23 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								4ac2975f5a 
								
							 
						 
						
							
							
								
								added a default isDef arg to SetMachineOperand method - Ruchira  
							
							 
							
							... 
							
							
							
							llvm-svn: 350 
							
						 
						
							2001-08-07 20:16:52 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								22db4f9b7c 
								
							 
						 
						
							
							
								
								Add CC operand as 4th operand of SUBcc, and mark it as a def.  
							
							 
							
							... 
							
							
							
							llvm-svn: 348 
							
						 
						
							2001-08-06 21:06:10 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								45317ad6cc 
								
							 
						 
						
							
							
								
								Also, move burg rule to Makefile.common.  
							
							 
							
							... 
							
							
							
							llvm-svn: 346 
							
						 
						
							2001-08-06 19:06:56 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								ed242ccea0 
								
							 
						 
						
							
							
								
								Better still, lets move pathname for Burg to Makefile.common.  
							
							 
							
							... 
							
							
							
							llvm-svn: 344 
							
						 
						
							2001-08-06 19:01:45 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								058ff319fd 
								
							 
						 
						
							
							
								
								Use full pathname for burg.  
							
							 
							
							... 
							
							
							
							llvm-svn: 342 
							
						 
						
							2001-08-06 18:53:26 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								527c8955de 
								
							 
						 
						
							
							
								
								Simplify command line options, and add option for printing  
							
							 
							
							... 
							
							
							
							machine instructions without debugging info.
llvm-svn: 340 
							
						 
						
							2001-07-31 21:53:25 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								c746fbb806 
								
							 
						 
						
							
							
								
								Added tree nodes for Phi instructions.  
							
							 
							
							... 
							
							
							
							llvm-svn: 338 
							
						 
						
							2001-07-31 21:50:29 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								1c73bc1c1f 
								
							 
						 
						
							
							
								
								Generate tree nodes for Phi instructions.  
							
							 
							
							... 
							
							
							
							llvm-svn: 337 
							
						 
						
							2001-07-31 21:49:53 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								ff7070bbb9 
								
							 
						 
						
							
							
								
								Allow machine instructions with variable numbers of arguments.  
							
							 
							
							... 
							
							
							
							This is used only by Phi for now.
llvm-svn: 336 
							
						 
						
							2001-07-31 21:49:28 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								e335821b08 
								
							 
						 
						
							
							
								
								Generate dummy Phi machine instruction, plus a bug fix for BrCond(boolreg).  
							
							 
							
							... 
							
							
							
							llvm-svn: 334 
							
						 
						
							2001-07-31 21:46:57 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								da0c7d89bc 
								
							 
						 
						
							
							
								
								Record machine instructions in the vector for each basic block.  
							
							 
							
							... 
							
							
							
							llvm-svn: 331 
							
						 
						
							2001-07-30 18:48:43 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								32b5d841ba 
								
							 
						 
						
							
							
								
								Added vector of machine instructions for the basic block.  
							
							 
							
							... 
							
							
							
							llvm-svn: 330 
							
						 
						
							2001-07-30 18:47:24 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								3f14c66890 
								
							 
						 
						
							
							
								
								Remove some gross stuff  
							
							 
							
							... 
							
							
							
							llvm-svn: 328 
							
						 
						
							2001-07-28 17:52:53 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								e0c6a09883 
								
							 
						 
						
							
							
								
								Allow vararg method types with 0 fixed types  
							
							 
							
							... 
							
							
							
							llvm-svn: 327 
							
						 
						
							2001-07-28 17:52:35 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								e76a335f5b 
								
							 
						 
						
							
							
								
								Make error msg nicer  
							
							 
							
							... 
							
							
							
							llvm-svn: 326 
							
						 
						
							2001-07-28 17:52:14 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								b62b602fe2 
								
							 
						 
						
							
							
								
								Enable the elimination of method prototypes that are not referenced  
							
							 
							
							... 
							
							
							
							llvm-svn: 325 
							
						 
						
							2001-07-28 17:51:49 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								f324dc82a1 
								
							 
						 
						
							
							
								
								* Make sure that the size of the type field can also control the output  
							
							 
							
							... 
							
							
							
							instruction pattern.
llvm-svn: 324 
							
						 
						
							2001-07-28 17:51:21 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								5bdab0f9ad 
								
							 
						 
						
							
							
								
								* Add calls to failure template so that it is actually possible to debug  
							
							 
							
							... 
							
							
							
							why bytecode parsing is failing.  Just put a breakpoint in the failure
  templates.
llvm-svn: 323 
							
						 
						
							2001-07-28 17:50:18 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								2091efbc0a 
								
							 
						 
						
							
							
								
								* Fix bugs  
							
							 
							
							... 
							
							
							
							llvm-svn: 322 
							
						 
						
							2001-07-28 17:49:02 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								26e50dc0c3 
								
							 
						 
						
							
							
								
								* Enable the use of escaped literal strings  
							
							 
							
							... 
							
							
							
							* Unresolved variable names now have the correct line number for their
  error messages
* Rename Def* to Value*
* Check for symbol table collisions before inserting values
* Remove the STRING keyword
* Enable the use of string literals to initialize constant arrays
* Enable the use of extended constants in more locations: eg ret [int] [4, 5]
* Allow method prototypes to appear in the constant pool of the program
* Support varargs methods better.  Enable varargs methods with 0 fixed
  arguments
* Allow the entire method prototype to optionally be specified in a call inst
llvm-svn: 321 
							
						 
						
							2001-07-28 17:48:55 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								50204f5daa 
								
							 
						 
						
							
							
								
								Added UltraSparcInstrInfo class to specialize class MachineInstrInfo.  
							
							 
							
							... 
							
							
							
							Relevant changes elsewhere:
Added MachineInstrInfo class and moved instruction-related members there.
Added several fields to MachineInstrDescriptor (and renamed it from
MachineInstrInfo.  Latency fields are to support scheduling.
llvm-svn: 311 
							
						 
						
							2001-07-28 04:19:10 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								985b6e3d13 
								
							 
						 
						
							
							
								
								Eliminate unused function.  
							
							 
							
							... 
							
							
							
							llvm-svn: 310 
							
						 
						
							2001-07-28 04:15:45 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								150460321e 
								
							 
						 
						
							
							
								
								Bug fixes:  
							
							 
							
							... 
							
							
							
							Store bool result in register after SetCC if the bool value
is used by anything other than a branch.
Forward-substitute operand of a VM instruction for which no
machine instruction is generated (e.g., Cast).
Other changes due to changes to classes TargetMachine and MachineInstr.
llvm-svn: 309 
							
						 
						
							2001-07-28 04:15:15 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								c429691751 
								
							 
						 
						
							
							
								
								Added MachineInstrInfo class and moved instruction-related members there.  
							
							 
							
							... 
							
							
							
							Added several fields to MachineInstrDescriptor (and renamed it from
MachineInstrInfo.  Latency fields are to support scheduling.
llvm-svn: 308 
							
						 
						
							2001-07-28 04:09:37 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								bff682dfac 
								
							 
						 
						
							
							
								
								Eliminate separate enum for operand register type.  
							
							 
							
							... 
							
							
							
							Use union for alternative data for different operand types.
Add iterator over Value* operands in a MachineInstr.
llvm-svn: 307 
							
						 
						
							2001-07-28 04:06:37 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								ee998be490 
								
							 
						 
						
							
							
								
								Don't write out constants that do not have a name, they will be inlined.  
							
							 
							
							... 
							
							
							
							llvm-svn: 305 
							
						 
						
							2001-07-26 16:29:38 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								252afbaf33 
								
							 
						 
						
							
							
								
								Refactor some of the constant stuff so that we can return complex constant  
							
							 
							
							... 
							
							
							
							values directly.  This was causing test failures. :(
llvm-svn: 304 
							
						 
						
							2001-07-26 16:29:15 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								89d4dfbfba 
								
							 
						 
						
							
							
								
								Add an arg to insertVal to allow us to prevent builtin types from being ignored  
							
							 
							
							... 
							
							
							
							when they are inserted.
Ignore constant values without names.  If they are used, they will be inlined.
llvm-svn: 303 
							
						 
						
							2001-07-26 16:28:37 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								90e0d464ba 
								
							 
						 
						
							
							
								
								Add support for extern varargs methods & varargs method calls  
							
							 
							
							... 
							
							
							
							llvm-svn: 297 
							
						 
						
							2001-07-25 22:47:55 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								42b5a8a6e5 
								
							 
						 
						
							
							
								
								Add support for extern varargs methods & varargs method calls  
							
							 
							
							... 
							
							
							
							Remove tool generated files
llvm-svn: 296 
							
						 
						
							2001-07-25 22:47:46 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								c4d6aca02e 
								
							 
						 
						
							
							
								
								Fix a bug when compiling 'shl ubyte * %var, ubyte 2'  
							
							 
							
							... 
							
							
							
							llvm-svn: 295 
							
						 
						
							2001-07-25 22:47:32 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								fd7f856670 
								
							 
						 
						
							
							
								
								Fixed a bug exposed when doing something like this:   <program> -notanoption --help  
							
							 
							
							... 
							
							
							
							llvm-svn: 293 
							
						 
						
							2001-07-25 18:40:49 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								6988791c1e 
								
							 
						 
						
							
							
								
								Changed printValue() to print constant value if the value is a constant.  
							
							 
							
							... 
							
							
							
							llvm-svn: 292 
							
						 
						
							2001-07-24 18:21:21 +00:00  
						
					 
				
					
						
							
							
								 
								Ruchira Sasanka
							
						 
						
							 
							
							
							
							
								
							
							
								9f18119edb 
								
							 
						 
						
							
							
								
								*** empty log message ***  
							
							 
							
							... 
							
							
							
							llvm-svn: 291 
							
						 
						
							2001-07-24 17:14:13 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								46c73465b6 
								
							 
						 
						
							
							
								
								Doh!  Wrong Optional flag.  :(  
							
							 
							
							... 
							
							
							
							llvm-svn: 290 
							
						 
						
							2001-07-23 23:14:23 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								81cc83df03 
								
							 
						 
						
							
							
								
								Add a comment indicating that there is documentation of the library  
							
							 
							
							... 
							
							
							
							llvm-svn: 289 
							
						 
						
							2001-07-23 23:04:07 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								4fdde2cc62 
								
							 
						 
						
							
							
								
								Minor changes to implementation of CommandLine library to let users override  
							
							 
							
							... 
							
							
							
							options forced by different  subclasses of Option
llvm-svn: 286 
							
						 
						
							2001-07-23 23:02:45 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								ab0cc40796 
								
							 
						 
						
							
							
								
								CommandLine library cleanup.  No longer use getValue/setValue, instead, just treat the commandline  
							
							 
							
							... 
							
							
							
							args as the objects they represent and the "right thing" will happen
llvm-svn: 283 
							
						 
						
							2001-07-23 19:27:24 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								0d005997fd 
								
							 
						 
						
							
							
								
								Doh!  Wrong accessor.  Caused 'can not read bytecode' errors.  :(  
							
							 
							
							... 
							
							
							
							llvm-svn: 282 
							
						 
						
							2001-07-23 18:51:23 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								78a307b170 
								
							 
						 
						
							
							
								
								Eliminated the Unique class in favor of NonCopyable and NonCopyableV  
							
							 
							
							... 
							
							
							
							llvm-svn: 280 
							
						 
						
							2001-07-23 18:26:21 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								e2472bbf6c 
								
							 
						 
						
							
							
								
								Moved inline/llvm/Tools/* to include/llvm/Support/*  
							
							 
							
							... 
							
							
							
							llvm-svn: 279 
							
						 
						
							2001-07-23 17:46:59 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								36a57d31e3 
								
							 
						 
						
							
							
								
								Initial checkin  
							
							 
							
							... 
							
							
							
							llvm-svn: 278 
							
						 
						
							2001-07-23 17:17:47 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								44187dbff1 
								
							 
						 
						
							
							
								
								Clean up hash table usage  
							
							 
							
							... 
							
							
							
							Remove opaque pointer used for C compatibility which isn't an issue
llvm-svn: 275 
							
						 
						
							2001-07-23 03:50:57 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								d8f1cc98e8 
								
							 
						 
						
							
							
								
								Removal of the redundant CompileContext wrapper  
							
							 
							
							... 
							
							
							
							llvm-svn: 274 
							
						 
						
							2001-07-23 03:09:03 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								0af2464a78 
								
							 
						 
						
							
							
								
								Large scale changes to implement new command line argument facility  
							
							 
							
							... 
							
							
							
							llvm-svn: 272 
							
						 
						
							2001-07-23 02:35:57 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								f2d1e79276 
								
							 
						 
						
							
							
								
								Remove dependence on command line library.  Silly anyway.  
							
							 
							
							... 
							
							
							
							llvm-svn: 271 
							
						 
						
							2001-07-22 18:36:00 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								9c0f8f24e0 
								
							 
						 
						
							
							
								
								Privatize LLCOptions.  It had no business being visible to the entire  
							
							 
							
							... 
							
							
							
							program.
llvm-svn: 267 
							
						 
						
							2001-07-22 04:40:02 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								b299068101 
								
							 
						 
						
							
							
								
								Eliminate lots of unnecessary #includes and forward decls  
							
							 
							
							... 
							
							
							
							there are probably more to kill
llvm-svn: 261 
							
						 
						
							2001-07-21 23:24:48 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								7769970e16 
								
							 
						 
						
							
							
								
								Eliminate many unneccesary #includes  
							
							 
							
							... 
							
							
							
							llvm-svn: 260 
							
						 
						
							2001-07-21 22:59:56 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								7cad6f14b8 
								
							 
						 
						
							
							
								
								Make code fit in 80 columns more  
							
							 
							
							... 
							
							
							
							llvm-svn: 259 
							
						 
						
							2001-07-21 22:57:05 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								eb68f3263c 
								
							 
						 
						
							
							
								
								Remove unneccesary #includes  
							
							 
							
							... 
							
							
							
							llvm-svn: 258 
							
						 
						
							2001-07-21 22:53:35 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								293e80559c 
								
							 
						 
						
							
							
								
								Exterminate nasty Cisms  
							
							 
							
							... 
							
							
							
							llvm-svn: 257 
							
						 
						
							2001-07-21 22:42:09 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								bdb56b1639 
								
							 
						 
						
							
							
								
								Refer to include/llvm/CodeGen not Codegen  
							
							 
							
							... 
							
							
							
							llvm-svn: 256 
							
						 
						
							2001-07-21 22:32:34 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								e696d62ce3 
								
							 
						 
						
							
							
								
								Make sure we build all of the code!  
							
							 
							
							... 
							
							
							
							llvm-svn: 254 
							
						 
						
							2001-07-21 21:04:03 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								dd511760d9 
								
							 
						 
						
							
							
								
								Renamed include/llvm/Codegen to include/llvm/CodeGen  
							
							 
							
							... 
							
							
							
							llvm-svn: 253 
							
						 
						
							2001-07-21 20:58:30 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								7f95c9e33a 
								
							 
						 
						
							
							
								
								Fix code to be in a consistent style  
							
							 
							
							... 
							
							
							
							llvm-svn: 252 
							
						 
						
							2001-07-21 20:09:07 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								93547c3231 
								
							 
						 
						
							
							
								
								Remove getTempValuesForMachineCode from the Instruction interface  
							
							 
							
							... 
							
							
							
							to remove dependency on <vector>
llvm-svn: 250 
							
						 
						
							2001-07-21 20:04:10 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								720ff31ab4 
								
							 
						 
						
							
							
								
								Moved LLC subdir to the tools top level directory  
							
							 
							
							... 
							
							
							
							llvm-svn: 248 
							
						 
						
							2001-07-21 19:33:01 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								7309d66d73 
								
							 
						 
						
							
							
								
								Add new ctor for ConstPoolBool  
							
							 
							
							... 
							
							
							
							llvm-svn: 246 
							
						 
						
							2001-07-21 19:16:08 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								77ba32f4cc 
								
							 
						 
						
							
							
								
								Add new constructor for const pool bool  
							
							 
							
							... 
							
							
							
							llvm-svn: 245 
							
						 
						
							2001-07-21 19:15:26 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								55406840e2 
								
							 
						 
						
							
							
								
								Add support for casts  
							
							 
							
							... 
							
							
							
							llvm-svn: 244 
							
						 
						
							2001-07-21 19:10:49 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								2c6f274188 
								
							 
						 
						
							
							
								
								More functionality, renamed API  
							
							 
							
							... 
							
							
							
							llvm-svn: 241 
							
						 
						
							2001-07-21 19:07:19 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								6ee77c851e 
								
							 
						 
						
							
							
								
								Utility routines for simpler access to the value of an integer constant.  
							
							 
							
							... 
							
							
							
							llvm-svn: 236 
							
						 
						
							2001-07-21 12:44:00 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								4d709951bb 
								
							 
						 
						
							
							
								
								Program options class.  
							
							 
							
							... 
							
							
							
							llvm-svn: 235 
							
						 
						
							2001-07-21 12:43:07 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								656823944e 
								
							 
						 
						
							
							
								
								Description of the SPARC as a target architecture.  
							
							 
							
							... 
							
							
							
							llvm-svn: 233 
							
						 
						
							2001-07-21 12:42:19 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								3414e78e29 
								
							 
						 
						
							
							
								
								Base clas for a description of a target architecture.  
							
							 
							
							... 
							
							
							
							llvm-svn: 232 
							
						 
						
							2001-07-21 12:42:08 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								ab9e557102 
								
							 
						 
						
							
							
								
								Instruction selection via pattern matching on instruction trees using BURG.  
							
							 
							
							... 
							
							
							
							llvm-svn: 231 
							
						 
						
							2001-07-21 12:41:50 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								9c049ca36c 
								
							 
						 
						
							
							
								
								*** empty log message ***  
							
							 
							
							... 
							
							
							
							llvm-svn: 230 
							
						 
						
							2001-07-21 12:41:01 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								aa576e5b8b 
								
							 
						 
						
							
							
								
								Added CodeGen, LLC, and Support.  
							
							 
							
							... 
							
							
							
							llvm-svn: 229 
							
						 
						
							2001-07-21 12:40:37 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								aa4c7b56f8 
								
							 
						 
						
							
							
								
								Add isIntegral() method to SignedIntType and UnsignedIntType.  
							
							 
							
							... 
							
							
							
							llvm-svn: 224 
							
						 
						
							2001-07-21 12:32:48 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								0452d48c50 
								
							 
						 
						
							
							
								
								Compute and cache information about the storage size and layout  
							
							 
							
							... 
							
							
							
							of structures.  This information is machine-dependent.
llvm-svn: 222 
							
						 
						
							2001-07-20 21:09:17 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								75cc5a26a2 
								
							 
						 
						
							
							
								
								Provide uniform access to the pointer operand and to the index  
							
							 
							
							... 
							
							
							
							operands (if any) for different types of MemAccessInst's.
llvm-svn: 221 
							
						 
						
							2001-07-20 21:07:06 +00:00  
						
					 
				
					
						
							
							
								 
								Vikram S. Adve
							
						 
						
							 
							
							
							
							
								
							
							
								3e2394cdad 
								
							 
						 
						
							
							
								
								Added a representation of the machine instructions generated  
							
							 
							
							... 
							
							
							
							for a VM instruction.
llvm-svn: 220 
							
						 
						
							2001-07-20 21:05:02 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								85090922f4 
								
							 
						 
						
							
							
								
								Start of expression analysis support  
							
							 
							
							... 
							
							
							
							llvm-svn: 219 
							
						 
						
							2001-07-20 19:17:55 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								9655e54d21 
								
							 
						 
						
							
							
								
								Implement ensureTypeAvailable  
							
							 
							
							... 
							
							
							
							Implement ConstPoolInt class
llvm-svn: 215 
							
						 
						
							2001-07-20 19:16:02 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								4f6031f3e7 
								
							 
						 
						
							
							
								
								Add support for constant propogation of multiplies  
							
							 
							
							... 
							
							
							
							llvm-svn: 214 
							
						 
						
							2001-07-20 19:15:36 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								5e5abe3eaa 
								
							 
						 
						
							
							
								
								Factor out WriteAsOperand.  
							
							 
							
							... 
							
							
							
							llvm-svn: 213 
							
						 
						
							2001-07-20 19:15:21 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								1caf0bbd4e 
								
							 
						 
						
							
							
								
								Add a comment.  
							
							 
							
							... 
							
							
							
							llvm-svn: 212 
							
						 
						
							2001-07-20 19:15:08 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								197390e985 
								
							 
						 
						
							
							
								
								Fix nasty typo  
							
							 
							
							... 
							
							
							
							llvm-svn: 204 
							
						 
						
							2001-07-20 04:39:07 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								3e37ec7c0a 
								
							 
						 
						
							
							
								
								Support external methods  
							
							 
							
							... 
							
							
							
							llvm-svn: 200 
							
						 
						
							2001-07-15 21:43:45 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								a7620d9656 
								
							 
						 
						
							
							
								
								Implement forward/external declarations for methods.  
							
							 
							
							... 
							
							
							
							llvm-svn: 196 
							
						 
						
							2001-07-15 06:35:59 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								17f729e269 
								
							 
						 
						
							
							
								
								Implement forward/external declarations for methods.  Also, emit an error if a method  
							
							 
							
							... 
							
							
							
							is defined more than once, instead of crashing.
llvm-svn: 195 
							
						 
						
							2001-07-15 06:35:53 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								d06dd69e73 
								
							 
						 
						
							
							
								
								Add support for assembly printing fp constants  
							
							 
							
							... 
							
							
							
							llvm-svn: 191 
							
						 
						
							2001-07-15 00:18:39 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								4d44c2ba81 
								
							 
						 
						
							
							
								
								Add support to the bytecode writer to recognize floating point constants  
							
							 
							
							... 
							
							
							
							llvm-svn: 190 
							
						 
						
							2001-07-15 00:17:23 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								f435e200b1 
								
							 
						 
						
							
							
								
								Add support to the bytecode reader to recognize floating point constants  
							
							 
							
							... 
							
							
							
							llvm-svn: 189 
							
						 
						
							2001-07-15 00:17:18 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								212f70d92e 
								
							 
						 
						
							
							
								
								Add support to the parser to recognize floating point constants  
							
							 
							
							... 
							
							
							
							llvm-svn: 188 
							
						 
						
							2001-07-15 00:17:01 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								f2a738cfe2 
								
							 
						 
						
							
							
								
								* ValueHolder now takes 3 arguments  
							
							 
							
							... 
							
							
							
							* Added a few methods to ConstantPool
* ConstPoolVal no longer derives from Value
* Method & Module multiply inherit from SymTabValue & Value now
* Added a GetElementPtrInst::isStructSelector() method
llvm-svn: 184 
							
						 
						
							2001-07-14 06:13:19 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								5451c9e977 
								
							 
						 
						
							
							
								
								Add knowledge about the struct form of the GetElementPtr instruction  
							
							 
							
							... 
							
							
							
							llvm-svn: 183 
							
						 
						
							2001-07-14 06:11:51 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								5b1200bf8e 
								
							 
						 
						
							
							
								
								Remove dependency on the structure of ValueHolder.  
							
							 
							
							... 
							
							
							
							llvm-svn: 182 
							
						 
						
							2001-07-14 06:11:26 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								dbfb7d8042 
								
							 
						 
						
							
							
								
								* The parent of a constant pool is a symtabvalue, not a value.  
							
							 
							
							... 
							
							
							
							llvm-svn: 181 
							
						 
						
							2001-07-14 06:10:49 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								32e96bcb54 
								
							 
						 
						
							
							
								
								The parent of a constant pool is a symtabvalue, not a value.  
							
							 
							
							... 
							
							
							
							llvm-svn: 180 
							
						 
						
							2001-07-14 06:10:33 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								56f73d45f5 
								
							 
						 
						
							
							
								
								Added some comments, preparing to add global variables and method prototypes  
							
							 
							
							... 
							
							
							
							llvm-svn: 179 
							
						 
						
							2001-07-14 06:10:16 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								5446f8a542 
								
							 
						 
						
							
							
								
								* The parent of a constant pool is a SymTabValue, not a value.  
							
							 
							
							... 
							
							
							
							llvm-svn: 178 
							
						 
						
							2001-07-14 06:08:51 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								5a2d2b1f0a 
								
							 
						 
						
							
							
								
								Made the following changes:  
							
							 
							
							... 
							
							
							
							* ValueHolder became a 3 argument template.  This allows for BasicBlock to
  use the value holder arg as a typesafe parent pointer.
* SymTabValue no longer inherits from Value
* Method does not inherit from only SymTabValue.  Now it inherits from both
  STV & Value.
* Module does not inherit from only SymTabValue.  Now it inherits from both
  STV & Value.
* Updated the SymTabValue.h file to reference SymTabValue instead of STDef
  in several places
* Added isArraySelector & isStructSelector to GetElementPtr instruction
llvm-svn: 177 
							
						 
						
							2001-07-14 06:07:58 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								2e9fee4702 
								
							 
						 
						
							
							
								
								Add DebugValue member.  
							
							 
							
							... 
							
							
							
							llvm-svn: 175 
							
						 
						
							2001-07-12 23:35:26 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								d6c5a769ea 
								
							 
						 
						
							
							
								
								Don't clean out the type plane of the constant pool... this is a hack.  FIXME  
							
							 
							
							... 
							
							
							
							llvm-svn: 172 
							
						 
						
							2001-07-09 19:38:52 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								d9c40e355e 
								
							 
						 
						
							
							
								
								Make sure that types go in the constant pool if they are used.  
							
							 
							
							... 
							
							
							
							llvm-svn: 171 
							
						 
						
							2001-07-09 19:38:36 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								62ecb4a137 
								
							 
						 
						
							
							
								
								Implementation of Store & GetElementPtr  
							
							 
							
							... 
							
							
							
							llvm-svn: 164 
							
						 
						
							2001-07-08 23:22:50 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								31feae8550 
								
							 
						 
						
							
							
								
								Implement checking for new instructions  
							
							 
							
							... 
							
							
							
							llvm-svn: 163 
							
						 
						
							2001-07-08 21:18:49 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								d8bebcd517 
								
							 
						 
						
							
							
								
								Implemented shl, shl, & load instructions  
							
							 
							
							... 
							
							
							
							llvm-svn: 161 
							
						 
						
							2001-07-08 21:10:27 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								49c643262e 
								
							 
						 
						
							
							
								
								Moved Cast from being a Unary instruction to being an "Other" instruction  
							
							 
							
							... 
							
							
							
							llvm-svn: 160 
							
						 
						
							2001-07-08 19:03:27 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								fb8ed0cf3a 
								
							 
						 
						
							
							
								
								Use the CDG to mark branches alive on demand.  
							
							 
							
							... 
							
							
							
							llvm-svn: 159 
							
						 
						
							2001-07-08 18:38:36 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								1547114cbf 
								
							 
						 
						
							
							
								
								Fixed post dominator frontiers!  Yaay!  
							
							 
							
							... 
							
							
							
							llvm-svn: 157 
							
						 
						
							2001-07-08 05:54:09 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								a682182f64 
								
							 
						 
						
							
							
								
								Neg instruction removed.  Cast instruction implemented.  
							
							 
							
							... 
							
							
							
							llvm-svn: 156 
							
						 
						
							2001-07-08 04:57:15 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								1fd1a3a7b4 
								
							 
						 
						
							
							
								
								Removing unnecesary file  
							
							 
							
							... 
							
							
							
							llvm-svn: 154 
							
						 
						
							2001-07-07 20:54:19 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								87d478287b 
								
							 
						 
						
							
							
								
								Convert BinaryOperand and UnaryOperator to only take instruction types of  
							
							 
							
							... 
							
							
							
							the appropriate enum
llvm-svn: 153 
							
						 
						
							2001-07-07 20:17:23 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								b1ca9cbceb 
								
							 
						 
						
							
							
								
								Broad superficial changes:  
							
							 
							
							... 
							
							
							
							* Renamed getOpcode to getOpcodeName
* Changed getOpcodeName to return a const char * instead of string
* Added a getOpcode method to replace getInstType
* Changed code to use getOpcode instead of getInstType
llvm-svn: 152 
							
						 
						
							2001-07-07 19:24:15 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								a073acb22d 
								
							 
						 
						
							
							
								
								Changed the fundemental architecture of Operands for Instructions.  Now  
							
							 
							
							... 
							
							
							
							Operands are maintained as a vector<Use> in the User class, and operator
iterators are provided as before.  Getting an operand no longer requires
a virtual function call.
WARNING: getOperand(x) where x >= getNumOperands() will now assert instead
of returning null!
llvm-svn: 149 
							
						 
						
							2001-07-07 08:36:50 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								37099990b3 
								
							 
						 
						
							
							
								
								Changed memory reference instructions to store the result as the implicit  
							
							 
							
							... 
							
							
							
							type of the instruction.
llvm-svn: 148 
							
						 
						
							2001-07-07 08:36:30 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								32503d5637 
								
							 
						 
						
							
							
								
								Fixed some error messages to be nicer  
							
							 
							
							... 
							
							
							
							llvm-svn: 147 
							
						 
						
							2001-07-07 08:36:05 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								29aae157f7 
								
							 
						 
						
							
							
								
								Add method to unify all exit nodes of a method  
							
							 
							
							... 
							
							
							
							llvm-svn: 143 
							
						 
						
							2001-07-06 16:58:36 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								c385bebc89 
								
							 
						 
						
							
							
								
								Implement support for postdominators, except in dom frontiers  
							
							 
							
							... 
							
							
							
							llvm-svn: 142 
							
						 
						
							2001-07-06 16:58:22 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								8024bde7c7 
								
							 
						 
						
							
							
								
								Update to include right file  
							
							 
							
							... 
							
							
							
							llvm-svn: 138 
							
						 
						
							2001-07-06 16:32:07 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								81f3ace753 
								
							 
						 
						
							
							
								
								IntervalPartition was changed to inherit from vector<Interval*> instead of  
							
							 
							
							... 
							
							
							
							contain it so that it would have full iterator access without much work.
Writer includes code to print out IntervalPartition's now.
llvm-svn: 133 
							
						 
						
							2001-07-03 15:28:35 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								fa3ac26d22 
								
							 
						 
						
							
							
								
								Code got moved from the lib/Assembly/Writer/IntervalWriter.cpp file to  
							
							 
							
							... 
							
							
							
							here.  Updates to correct description n stuff.
llvm-svn: 129 
							
						 
						
							2001-07-03 05:36:34 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								a7f22e53c0 
								
							 
						 
						
							
							
								
								Add printing code for dominator info  
							
							 
							
							... 
							
							
							
							llvm-svn: 125 
							
						 
						
							2001-07-02 05:46:47 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								081aabc330 
								
							 
						 
						
							
							
								
								Checkin of new dominator calculation routines.  These will be improved in  
							
							 
							
							... 
							
							
							
							the future to do post dominators and stuff
llvm-svn: 124 
							
						 
						
							2001-07-02 05:46:38 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								0c94a300eb 
								
							 
						 
						
							
							
								
								Moved deleter to include/llvm/Tools/STLExtras.h  
							
							 
							
							... 
							
							
							
							llvm-svn: 120 
							
						 
						
							2001-07-02 01:08:08 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								b28986ffc7 
								
							 
						 
						
							
							
								
								Initial checkin.  Should print dead instructions, except it doesn't do  
							
							 
							
							... 
							
							
							
							control dependencies.  :(
llvm-svn: 119 
							
						 
						
							2001-06-30 06:39:11 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								1960b3c6d2 
								
							 
						 
						
							
							
								
								Rename DoSparseConditionalConstantProp -> DoSCCP  
							
							 
							
							... 
							
							
							
							llvm-svn: 117 
							
						 
						
							2001-06-30 06:37:43 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								d42d492734 
								
							 
						 
						
							
							
								
								Optimizations got their own header files  
							
							 
							
							... 
							
							
							
							Optimizations now live in the 'opt' namespace
include/llvm/Opt was renamed include/llvm/Optimizations
llvm-svn: 113 
							
						 
						
							2001-06-30 04:36:40 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								31cf984332 
								
							 
						 
						
							
							
								
								Implement reduceApply method  
							
							 
							
							... 
							
							
							
							llvm-svn: 112 
							
						 
						
							2001-06-30 04:35:40 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								c10245352c 
								
							 
						 
						
							
							
								
								Add a new pop_back() method  
							
							 
							
							... 
							
							
							
							llvm-svn: 111 
							
						 
						
							2001-06-30 04:35:21 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								7ce8b17e60 
								
							 
						 
						
							
							
								
								Export ConstantFoldTerminator, allow it to fold conditional branches to  
							
							 
							
							... 
							
							
							
							the same label.
llvm-svn: 107 
							
						 
						
							2001-06-29 23:56:58 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								10b250eb4d 
								
							 
						 
						
							
							
								
								Added documentation.  Constant fold terminators.  
							
							 
							
							... 
							
							
							
							llvm-svn: 106 
							
						 
						
							2001-06-29 23:56:23 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								2dd58aefa5 
								
							 
						 
						
							
							
								
								Add a check to avoid allowing V->replaceAllUsesWith(V)  
							
							 
							
							... 
							
							
							
							llvm-svn: 104 
							
						 
						
							2001-06-29 05:25:51 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								615d3cf40d 
								
							 
						 
						
							
							
								
								Add implementation of BasicBlock::removePredecessor code that was factored  
							
							 
							
							... 
							
							
							
							out of DCE.cpp
llvm-svn: 103 
							
						 
						
							2001-06-29 05:25:23 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								84f07396d3 
								
							 
						 
						
							
							
								
								* Factored RemovePredecessorFromBlock into BasicBlock::removePredecessor  
							
							 
							
							... 
							
							
							
							* Avoid messing around with this case:
  br label %A
%A:  br label %A
* Enable optimizations that are correct now.
llvm-svn: 102 
							
						 
						
							2001-06-29 05:24:28 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								e4abb60948 
								
							 
						 
						
							
							
								
								We need to make sure to remove PHI nodes in the successor that cannot be  
							
							 
							
							... 
							
							
							
							executed when removing branch dest.
llvm-svn: 101 
							
						 
						
							2001-06-29 05:23:10 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								d77f3c0cbd 
								
							 
						 
						
							
							
								
								Added a note about a new verification the verifier should do  
							
							 
							
							... 
							
							
							
							Removed a redundant check
llvm-svn: 100 
							
						 
						
							2001-06-29 05:22:12 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								4cee8d8ffb 
								
							 
						 
						
							
							
								
								Miscellaneous cleanups:  
							
							 
							
							... 
							
							
							
							* Convert post to pre-increment for for loops
  * Use generic programming more
  * Use new Value::cast* instructions
  * Use new Module, Method, & BasicBlock forwarding methods
  * Use new facilities in STLExtras.h
  * Use new Instruction::isPHINode() method
llvm-svn: 96 
							
						 
						
							2001-06-27 23:41:11 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								347389dae8 
								
							 
						 
						
							
							
								
								Add a new Sparse Conditional Constant Propogation pass  
							
							 
							
							... 
							
							
							
							llvm-svn: 95 
							
						 
						
							2001-06-27 23:38:11 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								0ee411c080 
								
							 
						 
						
							
							
								
								Change to use the new GenericBinaryInst class.  Support lots more operators.  
							
							 
							
							... 
							
							
							
							llvm-svn: 92 
							
						 
						
							2001-06-27 23:36:49 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								1a67fb8860 
								
							 
						 
						
							
							
								
								Misc cleanup  
							
							 
							
							... 
							
							
							
							llvm-svn: 91 
							
						 
						
							2001-06-27 23:36:09 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								f222bf33c3 
								
							 
						 
						
							
							
								
								* Expose DoConstantPoolMerging  
							
							 
							
							... 
							
							
							
							* Cleanups (post->pre increment, new cleaner API, etc)
* Moved stuff into ConstantHandling.h
llvm-svn: 90 
							
						 
						
							2001-06-27 23:35:26 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								4c8ba81f21 
								
							 
						 
						
							
							
								
								Convert ugly postincrement to efficient preincrement  
							
							 
							
							... 
							
							
							
							llvm-svn: 89 
							
						 
						
							2001-06-27 23:34:01 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								223796ccf2 
								
							 
						 
						
							
							
								
								Convert postincrements to more efficient preincrements  
							
							 
							
							... 
							
							
							
							llvm-svn: 81 
							
						 
						
							2001-06-27 23:28:02 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								01683cca32 
								
							 
						 
						
							
							
								
								Moved UnaryOperator::create to InstrTypes.cpp until there is an iUnaryOps.cpp  
							
							 
							
							... 
							
							
							
							Moved BinaryOperator::create to iBinaryOperators.cpp
Add getUniqueName to SymbolTable
llvm-svn: 76 
							
						 
						
							2001-06-25 07:33:13 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								dbdaaef7d5 
								
							 
						 
						
							
							
								
								Implement induction variable injection!  
							
							 
							
							... 
							
							
							
							llvm-svn: 75 
							
						 
						
							2001-06-25 07:32:19 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								31e23cdeb4 
								
							 
						 
						
							
							
								
								Renamed get.*Operator to create seeing that it would have to be qualified  
							
							 
							
							... 
							
							
							
							with the classname anyways.
llvm-svn: 74 
							
						 
						
							2001-06-25 07:31:31 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								7221d33514 
								
							 
						 
						
							
							
								
								* Rename get.*Operator to create seeing that it would have to be qualified  
							
							 
							
							... 
							
							
							
							with the classname anyways.
* Add an isPHINode() method to Instruction
* Add getUniqueName() to SymbolTable class
* Add an insert method to ValueHolder
llvm-svn: 73 
							
						 
						
							2001-06-25 07:31:05 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								c3a6f546de 
								
							 
						 
						
							
							
								
								A silly stupid test of the loop depth calculator was added.  REMOVE in the  
							
							 
							
							... 
							
							
							
							future.
llvm-svn: 72 
							
						 
						
							2001-06-25 03:55:37 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								ed59025460 
								
							 
						 
						
							
							
								
								IntervalPartition: recode to use IntervalIterator to do all the work  
							
							 
							
							... 
							
							
							
							LoopDepth.cpp: new file that calculates the depth of a loop, using
IntervalPartitions.
llvm-svn: 71 
							
						 
						
							2001-06-25 03:55:04 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								601012721c 
								
							 
						 
						
							
							
								
								New file due to the Intervals.h splitup  
							
							 
							
							... 
							
							
							
							llvm-svn: 66 
							
						 
						
							2001-06-24 04:07:44 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								f64a8936e5 
								
							 
						 
						
							
							
								
								#include a different header due to Intervals.h splitting up  
							
							 
							
							... 
							
							
							
							llvm-svn: 63 
							
						 
						
							2001-06-24 04:05:45 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								dec727e346 
								
							 
						 
						
							
							
								
								IntervalPartition & IntervalIterator classes have been split out into  
							
							 
							
							... 
							
							
							
							their own .h files & .cpp file
llvm-svn: 62 
							
						 
						
							2001-06-24 04:05:21 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								4c16155c36 
								
							 
						 
						
							
							
								
								Prepare for split between Interval, IntervalIterator, and IntervalIPartition  
							
							 
							
							... 
							
							
							
							llvm-svn: 60 
							
						 
						
							2001-06-24 03:25:01 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								4c4f178723 
								
							 
						 
						
							
							
								
								Implement a lot more functionality.  Now loop invariant and linear  
							
							 
							
							... 
							
							
							
							induction variables are correctly identified.
llvm-svn: 57 
							
						 
						
							2001-06-22 02:24:38 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								34b62a04b6 
								
							 
						 
						
							
							
								
								Interval::HeaderNode is now accessed thorugh an accessor function  
							
							 
							
							... 
							
							
							
							llvm-svn: 56 
							
						 
						
							2001-06-22 02:23:39 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								4b94e23bd0 
								
							 
						 
						
							
							
								
								Add a space to the PHI node output code to make it look nicer  
							
							 
							
							... 
							
							
							
							llvm-svn: 53 
							
						 
						
							2001-06-21 05:29:56 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								b20a15d334 
								
							 
						 
						
							
							
								
								Moved printing code to the Assembly/Writer library.  
							
							 
							
							... 
							
							
							
							Code now detects looping intervals
llvm-svn: 52 
							
						 
						
							2001-06-21 05:27:22 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								d79faa35af 
								
							 
						 
						
							
							
								
								Implement the new Interval::isLoop method  
							
							 
							
							... 
							
							
							
							Implement destructor to free memory
llvm-svn: 51 
							
						 
						
							2001-06-21 05:26:15 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								778de94723 
								
							 
						 
						
							
							
								
								Get rid of a silly printout that isn't needed right now  
							
							 
							
							... 
							
							
							
							llvm-svn: 45 
							
						 
						
							2001-06-20 23:09:39 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								f86e38e452 
								
							 
						 
						
							
							
								
								Add capability to print a derived interval graph  
							
							 
							
							... 
							
							
							
							llvm-svn: 42 
							
						 
						
							2001-06-20 22:44:38 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								5035efaeda 
								
							 
						 
						
							
							
								
								Add capability to build a derived interval graph  
							
							 
							
							... 
							
							
							
							llvm-svn: 41 
							
						 
						
							2001-06-20 22:44:32 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								28ae5cbcb5 
								
							 
						 
						
							
							
								
								Initial Checking of Interval handling code  
							
							 
							
							... 
							
							
							
							llvm-svn: 39 
							
						 
						
							2001-06-20 20:09:55 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								d286a997d3 
								
							 
						 
						
							
							
								
								Add a test case for interval code  
							
							 
							
							... 
							
							
							
							llvm-svn: 36 
							
						 
						
							2001-06-20 19:27:11 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								5ba5f88c35 
								
							 
						 
						
							
							
								
								Updates to work with new cfg namespace  
							
							 
							
							... 
							
							
							
							llvm-svn: 29 
							
						 
						
							2001-06-13 19:55:22 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								874ddadf72 
								
							 
						 
						
							
							
								
								Updates to support  
							
							 
							
							... 
							
							
							
							* Changes in PHI node structure
llvm-svn: 25 
							
						 
						
							2001-06-11 15:04:40 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								931ef3bf05 
								
							 
						 
						
							
							
								
								Updates to support  
							
							 
							
							... 
							
							
							
							* Changes in PHI node structure
* Change to PHI syntax
llvm-svn: 24 
							
						 
						
							2001-06-11 15:04:20 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								5f46e8c9da 
								
							 
						 
						
							
							
								
								Moved getBinaryOperator to the BinaryOperator class and the getUnaryOperator  
							
							 
							
							... 
							
							
							
							to the UnaryOperator class (from the Instruction class).
llvm-svn: 21 
							
						 
						
							2001-06-08 21:30:13 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								7e0d6e05ac 
								
							 
						 
						
							
							
								
								Updated to work with new CFG.h file.  
							
							 
							
							... 
							
							
							
							llvm-svn: 15 
							
						 
						
							2001-06-07 21:18:45 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								e6c4ea9861 
								
							 
						 
						
							
							
								
								Add extra method to PHI node class  
							
							 
							
							... 
							
							
							
							llvm-svn: 11 
							
						 
						
							2001-06-07 16:59:37 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								d821c2af37 
								
							 
						 
						
							
							
								
								Significant rework.  DCE is still not done (see #ifdef'd out parts)  
							
							 
							
							... 
							
							
							
							but at least the stuff that is checked in, now works.
llvm-svn: 10 
							
						 
						
							2001-06-07 16:59:26 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								a2f01878b7 
								
							 
						 
						
							
							
								
								Fixed to print slightly differently.  Added use counts for labels  
							
							 
							
							... 
							
							
							
							llvm-svn: 9 
							
						 
						
							2001-06-07 16:58:55 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								e358b22776 
								
							 
						 
						
							
							
								
								Fixes for BB iterators, additional methods added for DCE pass  
							
							 
							
							... 
							
							
							
							llvm-svn: 8 
							
						 
						
							2001-06-07 16:58:36 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								2f7c963559 
								
							 
						 
						
							
							
								
								Initial revision  
							
							 
							
							... 
							
							
							
							llvm-svn: 2 
							
						 
						
							2001-06-06 20:29:01 +00:00