Devang Patel
							
						 
						
							 
							
							
							
							
								
							
							
								aee309e353 
								
							 
						 
						
							
							
								
								Use DominatorTree instead of ETForest.  
							
							 
							
							... 
							
							
							
							llvm-svn: 37507 
							
						 
						
							2007-06-08 00:17:13 +00:00  
						
					 
				
					
						
							
							
								 
								Devang Patel
							
						 
						
							 
							
							
							
							
								
							
							
								8c78a0bff0 
								
							 
						 
						
							
							
								
								Drop 'const'  
							
							 
							
							... 
							
							
							
							llvm-svn: 36662 
							
						 
						
							2007-05-03 01:11:54 +00:00  
						
					 
				
					
						
							
							
								 
								Devang Patel
							
						 
						
							 
							
							
							
							
								
							
							
								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  
						
					 
				
					
						
							
							
								 
								Devang Patel
							
						 
						
							 
							
							
							
							
								
							
							
								09f162ca6a 
								
							 
						 
						
							
							
								
								Do not use typeinfo to identify pass in pass manager.  
							
							 
							
							... 
							
							
							
							llvm-svn: 36632 
							
						 
						
							2007-05-01 21:15:47 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								16cf9a7686 
								
							 
						 
						
							
							
								
								Speed up Loop::isLCSSAForm by using a hash table instead of a sorted vector.  
							
							 
							
							... 
							
							
							
							llvm-svn: 34900 
							
						 
						
							2007-03-04 04:06:39 +00:00  
						
					 
				
					
						
							
							
								 
								Reid Spencer
							
						 
						
							 
							
							
							
							
								
							
							
								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  
						
					 
				
					
						
							
							
								 
								Bill Wendling
							
						 
						
							 
							
							
							
							
								
							
							
								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  
						
					 
				
					
						
							
							
								 
								Bill Wendling
							
						 
						
							 
							
							
							
							
								
							
							
								597d451fea 
								
							 
						 
						
							
							
								
								Removed some of the iostream #includes. Moved towards converting to using  
							
							 
							
							... 
							
							
							
							llvm streams
llvm-svn: 31983 
							
						 
						
							2006-11-28 22:46:12 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								23540b142c 
								
							 
						 
						
							
							
								
								add a method  
							
							 
							
							... 
							
							
							
							llvm-svn: 31249 
							
						 
						
							2006-10-28 01:24:05 +00:00  
						
					 
				
					
						
							
							
								 
								Devang Patel
							
						 
						
							 
							
							
							
							
								
							
							
								f489d0f85c 
								
							 
						 
						
							
							
								
								Do not rely on std::sort and std::erase to get list of unique  
							
							 
							
							... 
							
							
							
							exit blocks. The output is dependent on addresses of basic block.
Add and use Loop::getUniqueExitBlocks.
llvm-svn: 29966 
							
						 
						
							2006-08-29 22:29:16 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								3c9b2420df 
								
							 
						 
						
							
							
								
								Eliminate RegisterAnalysis.  RegisterPass now does all that is necessary.  
							
							 
							
							... 
							
							
							
							llvm-svn: 29921 
							
						 
						
							2006-08-27 22:30:17 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								859a138dc4 
								
							 
						 
						
							
							
								
								Make Loop::getExitBlocks significantly faster for large loops.  Instead of  
							
							 
							
							... 
							
							
							
							pounding on Loop::contains (which is O(n) in the size of the loop), use a
sorted vector, which is O(log(N)) for each query.  This speeds up Duraid's
horrible testcase from ~72s to ~31s in a debug build.
llvm-svn: 29645 
							
						 
						
							2006-08-12 05:02:03 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								4d074f795a 
								
							 
						 
						
							
							
								
								Speed up Loop::isLCSSAForm by using a binary search and single-entry cache.  
							
							 
							
							... 
							
							
							
							This reduces LCSSA pass time from 1.5s to 0.96s when run on eon in release+asserts mode.
llvm-svn: 29464 
							
						 
						
							2006-08-02 00:14:16 +00:00  
						
					 
				
					
						
							
							
								 
								Owen Anderson
							
						 
						
							 
							
							
							
							
								
							
							
								7e428625c9 
								
							 
						 
						
							
							
								
								Update isLCSSAForm to handle PHI nodes specially for live-out detection.  This  
							
							 
							
							... 
							
							
							
							is the same as the recent patch to LCSSA.cpp.
llvm-svn: 28773 
							
						 
						
							2006-06-13 20:45:22 +00:00  
						
					 
				
					
						
							
							
								 
								Owen Anderson
							
						 
						
							 
							
							
							
							
								
							
							
								b538f14d2a 
								
							 
						 
						
							
							
								
								Re-commit the safe parts of my 6/9 patch.  Still working on fixing the unsafe parts.  
							
							 
							
							... 
							
							
							
							llvm-svn: 28748 
							
						 
						
							2006-06-11 19:22:28 +00:00  
						
					 
				
					
						
							
							
								 
								Evan Cheng
							
						 
						
							 
							
							
							
							
								
							
							
								1b6e310e6f 
								
							 
						 
						
							
							
								
								Back out Owen's 6/9 changes. They broke MultiSource/Benchmarks/Prolangs-C/bison (and perhaps others).  
							
							 
							
							... 
							
							
							
							llvm-svn: 28747 
							
						 
						
							2006-06-11 09:32:57 +00:00  
						
					 
				
					
						
							
							
								 
								Owen Anderson
							
						 
						
							 
							
							
							
							
								
							
							
								505adff3f0 
								
							 
						 
						
							
							
								
								Make Loop able to verify that it is in LCSSA-form, and have the LCSSA pass assert  
							
							 
							
							... 
							
							
							
							on this.
llvm-svn: 28738 
							
						 
						
							2006-06-09 18:33:30 +00:00  
						
					 
				
					
						
							
							
								 
								Reid Spencer
							
						 
						
							 
							
							
							
							
								
							
							
								be535661cc 
								
							 
						 
						
							
							
								
								For PR780:  
							
							 
							
							... 
							
							
							
							1. Fix the macros in IncludeFile.h to put everything in the llvm namespace
2. Replace the previous explicit mechanism in all the .h and .cpp files
   with the macros in IncludeFile.h
This gets us a consistent mechanism throughout LLVM for ensuring linkage.
Next step is to make sure its used in enough places.
llvm-svn: 28715 
							
						 
						
							2006-06-07 22:00:26 +00:00  
						
					 
				
					
						
							
							
								 
								Reid Spencer
							
						 
						
							 
							
							
							
							
								
							
							
								5861659a1e 
								
							 
						 
						
							
							
								
								Change from using a stub function to a stub variable for passing to the  
							
							 
							
							... 
							
							
							
							IncludeFile hack to ensure linkage of analysis passes. This works around
some -pedantic warnings about assigning an object to a function.
llvm-svn: 28621 
							
						 
						
							2006-06-01 07:02:51 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								94f936d8ef 
								
							 
						 
						
							
							
								
								add an assert  
							
							 
							
							... 
							
							
							
							llvm-svn: 26178 
							
						 
						
							2006-02-14 20:14:17 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								c020bcf850 
								
							 
						 
						
							
							
								
								Change ET-Forest to automatically recalculate its DFSnum's if too many slow  
							
							 
							
							... 
							
							
							
							queries are made.
Patch by Daniel Berlin!
llvm-svn: 25323 
							
						 
						
							2006-01-14 20:55:09 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								9db9f8a902 
								
							 
						 
						
							
							
								
								Switch loopinfo to using ETForest instead of DominatorSet to compute itself.  
							
							 
							
							... 
							
							
							
							Patch by Daniel Berlin!
llvm-svn: 25199 
							
						 
						
							2006-01-11 05:08:29 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								b35df5f5bc 
								
							 
						 
						
							
							
								
								Add a new getLoopLatch() method.  
							
							 
							
							... 
							
							
							
							llvm-svn: 23315 
							
						 
						
							2005-09-12 17:03:55 +00:00  
						
					 
				
					
						
							
							
								 
								Misha Brukman
							
						 
						
							 
							
							
							
							
								
							
							
								c0aac8e858 
								
							 
						 
						
							
							
								
								Remove extra blank line  
							
							 
							
							... 
							
							
							
							llvm-svn: 21706 
							
						 
						
							2005-05-05 23:43:47 +00:00  
						
					 
				
					
						
							
							
								 
								Misha Brukman
							
						 
						
							 
							
							
							
							
								
							
							
								774511633d 
								
							 
						 
						
							
							
								
								Convert tabs to spaces  
							
							 
							
							... 
							
							
							
							llvm-svn: 21439 
							
						 
						
							2005-04-22 04:01:18 +00:00  
						
					 
				
					
						
							
							
								 
								Misha Brukman
							
						 
						
							 
							
							
							
							
								
							
							
								01808caded 
								
							 
						 
						
							
							
								
								Remove trailing whitespace  
							
							 
							
							... 
							
							
							
							llvm-svn: 21416 
							
						 
						
							2005-04-21 21:13:18 +00:00  
						
					 
				
					
						
							
							
								 
								Reid Spencer
							
						 
						
							 
							
							
							
							
								
							
							
								9083936835 
								
							 
						 
						
							
							
								
								For PR387:\  
							
							 
							
							... 
							
							
							
							Make only one print method to avoid overloaded virtual warnings when \
compiled with -Woverloaded-virtual
llvm-svn: 18589 
							
						 
						
							2004-12-07 04:03:45 +00:00  
						
					 
				
					
						
							
							
								 
								Reid Spencer
							
						 
						
							 
							
							
							
							
								
							
							
								6614946443 
								
							 
						 
						
							
							
								
								Convert code to compile with vc7.1.  
							
							 
							
							... 
							
							
							
							Patch contributed by Paolo Invernizzi. Thanks Paolo!
llvm-svn: 16368 
							
						 
						
							2004-09-15 17:06:42 +00:00  
						
					 
				
					
						
							
							
								 
								Alkis Evlogimenos
							
						 
						
							 
							
							
							
							
								
							
							
								a5c04ee50f 
								
							 
						 
						
							
							
								
								Fixes to make LLVM compile with vc7.1.  
							
							 
							
							... 
							
							
							
							Patch contributed by Paolo Invernizzi!
llvm-svn: 16152 
							
						 
						
							2004-09-03 18:19:51 +00:00  
						
					 
				
					
						
							
							
								 
								Reid Spencer
							
						 
						
							 
							
							
							
							
								
							
							
								7c16caa336 
								
							 
						 
						
							
							
								
								Changes For Bug 352  
							
							 
							
							... 
							
							
							
							Move include/Config and include/Support into include/llvm/Config,
include/llvm/ADT and include/llvm/Support. From here on out, all LLVM
public header files must be under include/llvm/.
llvm-svn: 16137 
							
						 
						
							2004-09-01 22:55:40 +00:00  
						
					 
				
					
						
							
							
								 
								Reid Spencer
							
						 
						
							 
							
							
							
							
								
							
							
								eb04d9bcb4 
								
							 
						 
						
							
							
								
								Add #include <iostream> since Value.h does not #include it any more.  
							
							 
							
							... 
							
							
							
							llvm-svn: 14622 
							
						 
						
							2004-07-04 12:19:56 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								4c7a24af44 
								
							 
						 
						
							
							
								
								Don't grab the condition of unconditional branches!  
							
							 
							
							... 
							
							
							
							This fixes PR363
llvm-svn: 14076 
							
						 
						
							2004-06-08 21:50:30 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								32447c55fe 
								
							 
						 
						
							
							
								
								Remove code to update loop depths  
							
							 
							
							... 
							
							
							
							llvm-svn: 13058 
							
						 
						
							2004-04-19 03:02:09 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								26ba2f5fe8 
								
							 
						 
						
							
							
								
								Add new method  
							
							 
							
							... 
							
							
							
							llvm-svn: 13050 
							
						 
						
							2004-04-18 22:45:27 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								d6ce359d3b 
								
							 
						 
						
							
							
								
								Fix computation of exit blocks  
							
							 
							
							... 
							
							
							
							llvm-svn: 13047 
							
						 
						
							2004-04-18 22:21:41 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								d72c3eb54e 
								
							 
						 
						
							
							
								
								Change the ExitBlocks list from being explicitly contained in the Loop  
							
							 
							
							... 
							
							
							
							structure to being dynamically computed on demand.  This makes updating
loop information MUCH easier.
llvm-svn: 13045 
							
						 
						
							2004-04-18 22:14:10 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								e375a4fdc2 
								
							 
						 
						
							
							
								
								Implement method  
							
							 
							
							... 
							
							
							
							llvm-svn: 13036 
							
						 
						
							2004-04-18 06:54:48 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								1472c63fb9 
								
							 
						 
						
							
							
								
								Add a new method, add a check missing that caused a segfault if a loop didn't  
							
							 
							
							... 
							
							
							
							have a canonical indvar
llvm-svn: 13032 
							
						 
						
							2004-04-18 05:38:05 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								d9dc425376 
								
							 
						 
						
							
							
								
								add some helpful methods.  Rearrange #includes to proper order  
							
							 
							
							... 
							
							
							
							llvm-svn: 12960 
							
						 
						
							2004-04-15 15:16:02 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								55b7ef5a81 
								
							 
						 
						
							
							
								
								Add some methods that are useful for updating loop information.  
							
							 
							
							... 
							
							
							
							llvm-svn: 12871 
							
						 
						
							2004-04-12 20:26:17 +00:00  
						
					 
				
					
						
							
							
								 
								Misha Brukman
							
						 
						
							 
							
							
							
							
								
							
							
								81804b4cb1 
								
							 
						 
						
							
							
								
								Order #includes alphabetically, per style guide.  
							
							 
							
							... 
							
							
							
							llvm-svn: 11015 
							
						 
						
							2004-01-30 17:26:24 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								59d2d7fc33 
								
							 
						 
						
							
							
								
								Improve encapsulation in the Loop and LoopInfo classes by eliminating the  
							
							 
							
							... 
							
							
							
							getSubLoops/getTopLevelLoops methods, replacing them with iterator-based
accessors.
llvm-svn: 10714 
							
						 
						
							2004-01-08 00:09:44 +00:00  
						
					 
				
					
						
							
							
								 
								Brian Gaeke
							
						 
						
							 
							
							
							
							
								
							
							
								960707c335 
								
							 
						 
						
							
							
								
								Put all LLVM code into the llvm namespace, as per bug 109.  
							
							 
							
							... 
							
							
							
							llvm-svn: 9903 
							
						 
						
							2003-11-11 22:41:34 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								ac4238f7bc 
								
							 
						 
						
							
							
								
								Do not add unreachable code to a natural loop!  
							
							 
							
							... 
							
							
							
							llvm-svn: 9377 
							
						 
						
							2003-10-22 16:41:21 +00:00  
						
					 
				
					
						
							
							
								 
								John Criswell
							
						 
						
							 
							
							
							
							
								
							
							
								482202a601 
								
							 
						 
						
							
							
								
								Added LLVM project notice to the top of every C++ source file.  
							
							 
							
							... 
							
							
							
							Header files will be on the way.
llvm-svn: 9298 
							
						 
						
							2003-10-20 19:43:21 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								44d2c3514a 
								
							 
						 
						
							
							
								
								Regularize header file comments  
							
							 
							
							... 
							
							
							
							llvm-svn: 9071 
							
						 
						
							2003-10-13 03:32:08 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								e43629bad6 
								
							 
						 
						
							
							
								
								Make getNumBackEdges more efficient  
							
							 
							
							... 
							
							
							
							llvm-svn: 9063 
							
						 
						
							2003-10-12 22:14:27 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								fd46711e1a 
								
							 
						 
						
							
							
								
								Remove explicit use of BasicBlock::succ_iterator  
							
							 
							
							... 
							
							
							
							llvm-svn: 8706 
							
						 
						
							2003-09-24 22:18:35 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								c01f05f4be 
								
							 
						 
						
							
							
								
								Fix the bug that broke the nightly tester in McCat/18-imp last night.  :(  
							
							 
							
							... 
							
							
							
							llvm-svn: 7925 
							
						 
						
							2003-08-17 21:47:33 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								7a991010d6 
								
							 
						 
						
							
							
								
								Fix bug: LoopPreheaders/2003-08-15-PreheadersFail.ll  
							
							 
							
							... 
							
							
							
							llvm-svn: 7915 
							
						 
						
							2003-08-16 20:57:16 +00:00