Chris Lattner 
							
						 
					 
					
						
						
							
						
						a92f696b74 
					 
					
						
						
							
							Updates to work with recent Statistic's changes:  
						
						... 
						
						
						
						* Renamed StatisticReporter.h/cpp to Statistic.h/cpp
    * Broke constructor to take two const char * arguments instead of one, so
      that indendation can be taken care of automatically.
    * Sort the list by pass name when printing
    * Make sure to print all statistics as a group, instead of randomly when
      the statistics dtors are called.
    * Updated ProgrammersManual with new semantics.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4002  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2002-10-01 22:38:41 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						3b2106ff84 
					 
					
						
						
							
							Change LowerAllocations pass to 'require' TargetData instead of it being  
						
						... 
						
						
						
						passed in.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3929  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2002-09-25 23:47:47 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						1d608abbc0 
					 
					
						
						
							
							Clean up code due to auto-insert constructors  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3665  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2002-09-10 22:38:47 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						c6b227ecc4 
					 
					
						
						
							
							Remove extraneous #includes  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3262  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2002-08-08 19:00:34 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						a6275ccdf5 
					 
					
						
						
							
							* Add support for different "PassType's"  
						
						... 
						
						
						
						* Add new RegisterOpt/RegisterAnalysis templates for registering passes that
  are to show up in opt or analyze
* Register Analyses now
* Change optimizations to use RegisterOpt instead of RegisterPass
* Add support for different "PassType's"
* Add new RegisterOpt/RegisterAnalysis templates for registering passes that
  are to show up in opt or analyze
* Register Analyses now
* Change optimizations to use RegisterOpt instead of RegisterPass
* Remove getPassName implementations from various subclasses
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3113  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2002-07-26 21:12:46 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						e9ee3e5a75 
					 
					
						
						
							
							Merge ChangeAllocations into scalar.h  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3038  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2002-07-23 22:04:17 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						af41a12370 
					 
					
						
						
							
							* Remove getPassName implementation  
						
						... 
						
						
						
						* Register all Passes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3015  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2002-07-23 18:06:30 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						7e70829632 
					 
					
						
						
							
							MEGAPATCH checkin.  
						
						... 
						
						
						
						For details, See: docs/2002-06-25-MegaPatchInfo.txt
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2779  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2002-06-25 16:13:24 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						3dec1f2722 
					 
					
						
						
							
							Add support for printing out statistics information when -stats is added to  
						
						... 
						
						
						
						the command line
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2601  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2002-05-10 15:38:35 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						ade686e79b 
					 
					
						
						
							
							Split ChangeAllocations.cpp into Raise & LowerAllocations.cpp  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2529  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2002-05-07 19:02:48 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						497c60c0ed 
					 
					
						
						
							
							Reduce dependance on TransformInternals.h, instead using the TransformUtils library  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2518  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2002-05-07 18:12:18 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						c6f3ae5c66 
					 
					
						
						
							
							Eliminate duplicate or unneccesary #include's  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2397  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2002-04-29 17:42:12 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						96c466b06a 
					 
					
						
						
							
							Add new optional getPassName() virtual function that a Pass can override  
						
						... 
						
						
						
						to make debugging output a lot nicer.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2395  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2002-04-29 14:57:45 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						31bcdb822f 
					 
					
						
						
							
							Split ConstantVals.h into Constant.h and Constants.h  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2378  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2002-04-28 19:55:58 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						0ac5429ff0 
					 
					
						
						
							
							Add explicit #includes of Function.h to make up for the removed #include  
						
						... 
						
						
						
						in iOther.h
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2209  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2002-04-09 19:08:28 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						be591a78cf 
					 
					
						
						
							
							Simplify code a lot by using the Module::getFunction & getOrInsertFunction  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2028  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2002-03-29 03:38:05 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						79df7c0aaa 
					 
					
						
						
							
							Change references from Method to Function  
						
						... 
						
						
						
						change references from MethodARgument to FunctionArgument
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1991  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2002-03-26 18:01:55 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						bd0ef77cde 
					 
					
						
						
							
							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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1816  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2002-02-26 21:46:54 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						793c6b80d3 
					 
					
						
						
							
							Convert xforms over to new pass structure.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1605  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2002-01-31 00:45:11 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						31b80d98ad 
					 
					
						
						
							
							Don't insert a useless cast  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1527  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2002-01-22 03:30:06 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						d7db863c1d 
					 
					
						
						
							
							Rename LowerAllocations.h to ChangeAllocations.h since it now contains the  
						
						... 
						
						
						
						RaiseAllocations pass as well.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1525  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2002-01-22 01:04:08 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						5048c3b853 
					 
					
						
						
							
							Pull RaiseAllocations stuff out of the CleanGCC pass into it's own pass in  
						
						... 
						
						
						
						the ChangeAllocations.h header file.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1522  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2002-01-22 00:13:51 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						8445372636 
					 
					
						
						
							
							LowerAllocations is really a BasicBlock pass.  Make it so.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1521  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2002-01-21 23:34:02 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						f4de63f65f 
					 
					
						
						
							
							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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1507  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2002-01-21 07:31:50 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						697954c15d 
					 
					
						
						
							
							Changes to build successfully with GCC 3.02  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1503  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2002-01-20 22:54:45 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						38ac81cbbc 
					 
					
						
						
							
							Remove unsized array support  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1466  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2001-12-14 16:38:04 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						ed4feac757 
					 
					
						
						
							
							Fix a bug introduced by "internal linkage" work.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1415  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2001-12-04 18:01:49 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						7a17675206 
					 
					
						
						
							
							Renamed inst_const_iterator -> const_inst_iterator  
						
						... 
						
						
						
						Renamed op_const_iterator   -> const_op_iterator
Renamed PointerType::getValueType() -> PointerType::getElementType()
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1408  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2001-12-04 00:03:30 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						e9bb2df410 
					 
					
						
						
							
							Rename ConstPoolVal -> Constant  
						
						... 
						
						
						
						Rename ConstPool*   -> Constant*
Rename ConstPoolVals.h -> ConstantVals.h
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1407  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2001-12-03 22:26:30 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						161aa5ad93 
					 
					
						
						
							
							Add #includes to enable buiding in Release mode  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1174  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2001-11-07 13:49:45 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						7ef6559718 
					 
					
						
						
							
							Use the correct prototype for malloc and free  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1066  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2001-10-31 06:36:23 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						42c9c2cce4 
					 
					
						
						
							
							Convert to new simpler pass itf  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@880  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2001-10-18 05:27:33 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						1bffea0341 
					 
					
						
						
							
							Add new Pass infrastructure and some examples  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@836  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2001-10-15 17:31:51 +00:00