f3ebc3f3d2 
								
							 
						 
						
							
							
								
								Remove attribution from file headers, per discussion on llvmdev.  
							
							... 
							
							
							
							llvm-svn: 45418 
							
						 
						
							2007-12-29 20:36:04 +00:00  
				
					
						
							
							
								 
						
							
								71eae8a5ee 
								
							 
						 
						
							
							
								
								GLIBCXX_DEBUG fix.  std::vector<>::end() is invalidated by erase.  
							
							... 
							
							
							
							llvm-svn: 45101 
							
						 
						
							2007-12-17 17:42:03 +00:00  
				
					
						
							
							
								 
						
							
								d568767ecb 
								
							 
						 
						
							
							
								
								Finishing initial docs for all transformations in Passes.html.  
							
							... 
							
							
							
							Also cleaned up some comments in source files.
llvm-svn: 43674 
							
						 
						
							2007-11-04 16:15:04 +00:00  
				
					
						
							
							
								 
						
							
								d7917b6248 
								
							 
						 
						
							
							
								
								Add std:: to sort calls.  
							
							... 
							
							
							
							llvm-svn: 43652 
							
						 
						
							2007-11-02 22:24:01 +00:00  
				
					
						
							
							
								 
						
							
								c981d72d1a 
								
							 
						 
						
							
							
								
								Change illegal uses of ++ to uses of STLExtra.h's next function.  
							
							... 
							
							
							
							llvm-svn: 43651 
							
						 
						
							2007-11-02 22:22:02 +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  
				
					
						
							
							
								 
						
							
								233f97ac6a 
								
							 
						 
						
							
							
								
								remove use of BasicBlock::getNext  
							
							... 
							
							
							
							llvm-svn: 36205 
							
						 
						
							2007-04-17 18:09:47 +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  
				
					
						
							
							
								 
						
							
								00227417d2 
								
							 
						 
						
							
							
								
								Unbreak VC++ build.  Do not use identifiers starting with _ as they are reserved and  
							
							... 
							
							
							
							can collide with system defined names.  Windows defines _BB, for example.
llvm-svn: 35066 
							
						 
						
							2007-03-12 17:56:27 +00:00  
				
					
						
							
							
								 
						
							
								8a6dc102d3 
								
							 
						 
						
							
							
								
								Use range tests in LowerSwitch, where possible  
							
							... 
							
							
							
							llvm-svn: 35057 
							
						 
						
							2007-03-10 16:46:28 +00:00  
				
					
						
							
							
								 
						
							
								dec03a08d6 
								
							 
						 
						
							
							
								
								Make sure debug code is not evaluated in non-debug case.  
							
							... 
							
							
							
							llvm-svn: 34856 
							
						 
						
							2007-03-02 23:15:21 +00:00  
				
					
						
							
							
								 
						
							
								1e102971d2 
								
							 
						 
						
							
							
								
								1. Sort switch cases using APInt safe comparison.  
							
							... 
							
							
							
							2. Make sure debug output of APInt values is safe for all bit widths.
llvm-svn: 34855 
							
						 
						
							2007-03-02 23:05:28 +00:00  
				
					
						
							
							
								 
						
							
								c635f47d9a 
								
							 
						 
						
							
							
								
								For PR950:  
							
							... 
							
							
							
							This patch replaces signed integer types with signless ones:
1. [US]Byte -> Int8
2. [U]Short -> Int16
3. [U]Int   -> Int32
4. [U]Long  -> Int64.
5. Removal of isSigned, isUnsigned, getSignedVersion, getUnsignedVersion
   and other methods related to signedness. In a few places this warranted
   identifying the signedness information from other sources.
llvm-svn: 32785 
							
						 
						
							2006-12-31 05:48:39 +00:00  
				
					
						
							
							
								 
						
							
								266e42b312 
								
							 
						 
						
							
							
								
								For PR950:  
							
							... 
							
							
							
							This patch removes the SetCC instructions and replaces them with the ICmp
and FCmp instructions. The SetCondInst instruction has been removed and
been replaced with ICmpInst and FCmpInst.
llvm-svn: 32751 
							
						 
						
							2006-12-23 06:05:41 +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  
				
					
						
							
							
								 
						
							
								a77f14265b 
								
							 
						 
						
							
							
								
								Added an automatic cast to "std::ostream*" etc. from OStream. We then can  
							
							... 
							
							
							
							rework the hacks that had us passing OStream in. We pass in std::ostream*
instead, check for null, and then dispatch to the correct print() method.
llvm-svn: 32636 
							
						 
						
							2006-12-17 05:15:13 +00:00  
				
					
						
							
							
								 
						
							
								f3baad3ee1 
								
							 
						 
						
							
							
								
								Changed llvm_ostream et all to OStream. llvm_cerr, llvm_cout, llvm_null, are  
							
							... 
							
							
							
							now cerr, cout, and NullStream resp.
llvm-svn: 32298 
							
						 
						
							2006-12-07 01:30:32 +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  
				
					
						
							
							
								 
						
							
								4ae401074c 
								
							 
						 
						
							
							
								
								Remove #include <iostream> and use llvm_* streams instead.  
							
							... 
							
							
							
							llvm-svn: 31925 
							
						 
						
							2006-11-26 10:17:54 +00:00  
				
					
						
							
							
								 
						
							
								e0fc4dfc22 
								
							 
						 
						
							
							
								
								For PR950:  
							
							... 
							
							
							
							This patch implements the first increment for the Signless Types feature.
All changes pertain to removing the ConstantSInt and ConstantUInt classes
in favor of just using ConstantInt.
llvm-svn: 31063 
							
						 
						
							2006-10-20 07:07:24 +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