053737e1ae 
								
							 
						 
						
							
							
								
								Just roll back the previous change to -mem2reg.  
							
							... 
							
							
							
							Will re-think about this according to Chris's comments.
llvm-svn: 65126 
							
						 
						
							2009-02-20 17:49:33 +00:00  
				
					
						
							
							
								 
						
							
								6a0634d423 
								
							 
						 
						
							
							
								
								patch to update the line number information in pass -mem2reg.  
							
							... 
							
							
							
							Currently this pass will delete the variable declaration info, 
and keep the line number info. But the kept line number info is not updated, 
and some is redundant or not correct, this patch just updates those info.
llvm-svn: 65123 
							
						 
						
							2009-02-20 16:31:35 +00:00  
				
					
						
							
							
								 
						
							
								a79db30d28 
								
							 
						 
						
							
							
								
								Tidy up several unbeseeming casts from pointer to intptr_t.  
							
							... 
							
							
							
							llvm-svn: 55779 
							
						 
						
							2008-09-04 17:05:41 +00:00  
				
					
						
							
							
								 
						
							
								0479aa5c0b 
								
							 
						 
						
							
							
								
								Change class' public PassInfo variables to by initialized with the  
							
							... 
							
							
							
							address of the PassInfo directly instead of calling getPassInfo.
This eliminates a bunch of dynamic initializations of static data.
Also, fold RegisterPassBase into PassInfo, make a bunch of its
data members const, and rearrange some code to initialize data
members in constructors instead of using setter member functions.
llvm-svn: 51022 
							
						 
						
							2008-05-13 02:05:11 +00:00  
				
					
						
							
							
								 
						
							
								d78c400b5b 
								
							 
						 
						
							
							
								
								Clean up the use of static and anonymous namespaces. This turned up  
							
							... 
							
							
							
							several things that were neither in an anonymous namespace nor static
but not intended to be global.
llvm-svn: 51017 
							
						 
						
							2008-05-13 00:00:25 +00:00  
				
					
						
							
							
								 
						
							
								c3591a0d48 
								
							 
						 
						
							
							
								
								remove the LowerSelect pass.  The last client was the old Sparc backend, which is long dead by now.  
							
							... 
							
							
							
							llvm-svn: 47323 
							
						 
						
							2008-02-19 07:49:17 +00:00  
				
					
						
							
							
								 
						
							
								f3ebc3f3d2 
								
							 
						 
						
							
							
								
								Remove attribution from file headers, per discussion on llvmdev.  
							
							... 
							
							
							
							llvm-svn: 45418 
							
						 
						
							2007-12-29 20:36:04 +00:00  
				
					
						
							
							
								 
						
							
								fc7fdef7d2 
								
							 
						 
						
							
							
								
								Use DominatorTree instead of ETForest.  
							
							... 
							
							
							
							This allows faster immediate domiantor walk.
llvm-svn: 37500 
							
						 
						
							2007-06-07 21:57:03 +00:00  
				
					
						
							
							
								 
						
							
								e7da2d6ac3 
								
							 
						 
						
							
							
								
								Fix typo in comment.  
							
							... 
							
							
							
							llvm-svn: 36873 
							
						 
						
							2007-05-06 13:37:16 +00:00  
				
					
						
							
							
								 
						
							
								8c78a0bff0 
								
							 
						 
						
							
							
								
								Drop 'const'  
							
							... 
							
							
							
							llvm-svn: 36662 
							
						 
						
							2007-05-03 01:11:54 +00:00  
				
					
						
							
							
								 
						
							
								e95c6ad802 
								
							 
						 
						
							
							
								
								Use 'static const char' instead of 'static const int'.  
							
							... 
							
							
							
							Due to darwin gcc bug, one version of darwin linker coalesces
static const int, which defauts PassID based pass identification.
llvm-svn: 36652 
							
						 
						
							2007-05-02 21:39:20 +00:00  
				
					
						
							
							
								 
						
							
								09f162ca6a 
								
							 
						 
						
							
							
								
								Do not use typeinfo to identify pass in pass manager.  
							
							... 
							
							
							
							llvm-svn: 36632 
							
						 
						
							2007-05-01 21:15:47 +00:00  
				
					
						
							
							
								 
						
							
								d3ccc073a2 
								
							 
						 
						
							
							
								
								Mem2Reg does not need TargetData.  
							
							... 
							
							
							
							llvm-svn: 36444 
							
						 
						
							2007-04-25 18:32:35 +00:00  
				
					
						
							
							
								 
						
							
								073be55d8e 
								
							 
						 
						
							
							
								
								Remove unused function argument.  
							
							... 
							
							
							
							llvm-svn: 36441 
							
						 
						
							2007-04-25 17:15:20 +00:00  
				
					
						
							
							
								 
						
							
								2da606c757 
								
							 
						 
						
							
							
								
								Move more passes to using ETForest instead of DominatorTree.  
							
							... 
							
							
							
							llvm-svn: 36271 
							
						 
						
							2007-04-20 06:27:13 +00:00  
				
					
						
							
							
								 
						
							
								fb80151c42 
								
							 
						 
						
							
							
								
								Removed tabs everywhere except autogenerated & external files. Add make  
							
							... 
							
							
							
							target for tabs checking.
llvm-svn: 36146 
							
						 
						
							2007-04-16 18:10:23 +00:00  
				
					
						
							
							
								 
						
							
								45f966d80f 
								
							 
						 
						
							
							
								
								switch more statistics over to STATISTIC, eliminating static ctors.  Also,  
							
							... 
							
							
							
							delete some dead ones.
llvm-svn: 32694 
							
						 
						
							2006-12-19 22:17:40 +00:00  
				
					
						
							
							
								 
						
							
								700b873130 
								
							 
						 
						
							
							
								
								Detemplatize the Statistic class.  The only type it is instantiated with  
							
							... 
							
							
							
							is 'unsigned'.
llvm-svn: 32279 
							
						 
						
							2006-12-06 17:46:33 +00:00  
				
					
						
							
							
								 
						
							
								c2d3d3112e 
								
							 
						 
						
							
							
								
								eliminate RegisterOpt.  It does the same thing as RegisterPass.  
							
							... 
							
							
							
							llvm-svn: 29925 
							
						 
						
							2006-08-27 22:42:52 +00:00  
				
					
						
							
							
								 
						
							
								3d27be1333 
								
							 
						 
						
							
							
								
								s|llvm/Support/Visibility.h|llvm/Support/Compiler.h|  
							
							... 
							
							
							
							llvm-svn: 29911 
							
						 
						
							2006-08-27 12:54:02 +00:00  
				
					
						
							
							
								 
						
							
								85ea83e821 
								
							 
						 
						
							
							
								
								Add some advice  
							
							... 
							
							
							
							llvm-svn: 29324 
							
						 
						
							2006-07-27 04:24:14 +00:00