Devang Patel 
							
						 
					 
					
						
						
							
						
						dc3a207e78 
					 
					
						
						
							
							Handle the case when block dominates itself.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37773  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-06-28 02:07:08 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						1ceda1d63e 
					 
					
						
						
							
							Remove ETForest.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37765  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-06-27 20:53:52 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						0e7f728ad1 
					 
					
						
						
							
							Move code to update dominator information after basic block is split  
						
						... 
						
						
						
						from LoopSimplify.cpp to Dominator.cpp
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37689  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-06-21 17:23:45 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						6857e366f5 
					 
					
						
						
							
							Protect updateDFSNumbers()  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37560  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-06-12 17:30:56 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						9c7ee6b19f 
					 
					
						
						
							
							Make DFS number manipulation methods private.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37553  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-06-12 05:49:31 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						4d42dea253 
					 
					
						
						
							
							Break DominatorTree from ETNode.  
						
						... 
						
						
						
						Remove unused PostETForest.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37551  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-06-12 00:54:38 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						3726b82a55 
					 
					
						
						
							
							Maintain DFS number in DomTreeNode itself.  
						
						... 
						
						
						
						This means now ETNodes are not useful anymore.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37546  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-06-12 00:14:41 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						fe7d4e50b8 
					 
					
						
						
							
							Add and use DominatorTreeBase::findNearestCommonDominator().  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37545  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-06-11 23:31:22 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						b5ef06c509 
					 
					
						
						
							
							Fix spelling.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37522  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-06-08 17:59:02 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						dba2413b2e 
					 
					
						
						
							
							Update LoopSimplify to require and preserve DominatorTree only.  
						
						... 
						
						
						
						Now LoopSimplify does not require nor preserve ETForest.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37512  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-06-08 01:50:32 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						0ab301c5fa 
					 
					
						
						
							
							Add new method - nearestCommonDominator().  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37508  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-06-08 00:21:17 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						e029b2c369 
					 
					
						
						
							
							Add instruction level dominates(A,B) interface.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37504  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-06-07 23:52:40 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						4b90e3a276 
					 
					
						
						
							
							Do not use ETForest as well as DomiantorTree.  DominatorTree is sufficient.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37501  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-06-07 22:17:16 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						f11cc5c298 
					 
					
						
						
							
							Add basic block level properlyDominates(A,B) interface.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37497  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-06-07 21:34:22 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						259e6cf191 
					 
					
						
						
							
							Add BasicBlock level dominates(A,B) interface.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37493  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-06-07 18:39:40 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						9a51157db5 
					 
					
						
						
							
							Maintain ETNode as part of DomTreeNode.  
						
						... 
						
						
						
						This adds redundancy for now.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37492  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-06-07 17:47:21 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						4cd950f61b 
					 
					
						
						
							
							Break friendship.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37450  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-06-06 00:59:48 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						f082a9ae6b 
					 
					
						
						
							
							Simplify class hierarchy.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37447  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-06-06 00:46:36 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						170f2b9bef 
					 
					
						
						
							
							s/ETNode::getChildren/ETNode::getETNodeChildren/g  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37426  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-06-04 23:45:02 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						055756bf52 
					 
					
						
						
							
							Add FIXMEs.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37417  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-06-04 17:38:00 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						bbf8c8e71f 
					 
					
						
						
							
							Remove unused method.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37416  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-06-04 16:49:36 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						83beaee227 
					 
					
						
						
							
							s/DominatorTree::createNewNode/DominatorTree::addNewBlock/g  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37415  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-06-04 16:43:25 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						26a6908768 
					 
					
						
						
							
							Add basic block level interface to change immediate dominator  
						
						... 
						
						
						
						and create new node.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37414  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-06-04 16:22:33 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						26042420d6 
					 
					
						
						
							
							s/llvm::DominatorTreeBase::DomTreeNode/llvm::DomTreeNode/g  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37407  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-06-04 00:32:22 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						bec7647f98 
					 
					
						
						
							
							s/DominatorTreeBase::Node/DominatorTreeBase:DomTreeNode/g  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37403  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-06-03 06:26:14 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						79b48b8bc0 
					 
					
						
						
							
							Add dump() routines for debugging assistance.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37314  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-05-23 19:55:36 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						d82dc66944 
					 
					
						
						
							
							update comments  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37027  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-05-14 01:54:16 +00:00 
						 
				 
			
				
					
						
							
							
								Nick Lewycky 
							
						 
					 
					
						
						
							
						
						ecd94c804a 
					 
					
						
						
							
							Fix typo in comment.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36873  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-05-06 13:37:16 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						99c282453a 
					 
					
						
						
							
							Use iterative while loop instead of recursive function call.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36694  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-05-03 20:55:18 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						1997473cf7 
					 
					
						
						
							
							Drop 'const'  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36662  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-05-03 01:11:54 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						3e15bf33e0 
					 
					
						
						
							
							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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36652  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-05-02 21:39:20 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						794fd75c67 
					 
					
						
						
							
							Do not use typeinfo to identify pass in pass manager.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36632  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-05-01 21:15:47 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						95b745a52e 
					 
					
						
						
							
							Fix some null checks to actually test the part that needs checking.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36298  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-04-21 07:04:45 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						13e3a292c5 
					 
					
						
						
							
							Add null checks and const-ify these accessors.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36270  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-04-20 05:44:16 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						9e7919785e 
					 
					
						
						
							
							Add accessor to get the blocks immediately dominated by a given block to ETForest.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36251  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-04-18 05:25:09 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						1c2b862be0 
					 
					
						
						
							
							Add an accessor to make ETForest more useful.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36246  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-04-18 04:38:39 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						e934fefd6b 
					 
					
						
						
							
							Tabs -> Spaces  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36094  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-04-15 23:14:18 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						3dc6776b33 
					 
					
						
						
							
							Remove ImmediateDominator analysis.  The same information can be obtained from DomTree.  A lot of code for  
						
						... 
						
						
						
						constructing ImmediateDominator is now folded into DomTree construction.
This is part of the ongoing work for PR217.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36063  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-04-15 08:47:27 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						690c684fc6 
					 
					
						
						
							
							Make ETForest depend on DomTree rather than IDom.  This is the first step  
						
						... 
						
						
						
						in the long process that will be fixing PR 217.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36034  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-04-14 23:49:24 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						8ea325730c 
					 
					
						
						
							
							Move isReachableFromEntry out of line to avoid an unnecessary #include  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35797  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-04-09 04:07:36 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						558fc740da 
					 
					
						
						
							
							Cleanup some from my DomSet-removal changes.  Add a new  
						
						... 
						
						
						
						isReachableFromEntry
test to ETForest to factor a common test out of code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35786  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-04-09 00:52:49 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						cd4abb7e6d 
					 
					
						
						
							
							Remove DomSet completely.  This concludes work on PR1171.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35775  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-04-08 21:30:05 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						e9ed4452bc 
					 
					
						
						
							
							Add DomSet back, and revert the changes to LoopSimplify.  Apparently the  
						
						... 
						
						
						
						ETForest updating mechanisms don't work as I thought they did.  These changes
will be reapplied once the issue is worked out.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35741  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-04-07 18:23:27 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						ba43963e96 
					 
					
						
						
							
							Completely purge DomSet.  This is the (hopefully) final patch for PR1171.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35731  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-04-07 07:17:27 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						58efcd3bcd 
					 
					
						
						
							
							LoopSimplify::FindPHIToPartitionLoops()  
						
						... 
						
						
						
						Use ETForest instead of DominatorSet.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35222  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-03-20 20:19:48 +00:00 
						 
				 
			
				
					
						
							
							
								Bill Wendling 
							
						 
					 
					
						
						
							
						
						5c7e326585 
					 
					
						
						
							
							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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32636  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-12-17 05:15:13 +00:00 
						 
				 
			
				
					
						
							
							
								Jeff Cohen 
							
						 
					 
					
						
						
							
						
						d41b30def3 
					 
					
						
						
							
							Unbreak VC++ build.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31464  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-11-05 19:31:28 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						b62ff3f7f1 
					 
					
						
						
							
							Move DominatorTree to immediately follow DominatorTreeBase  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30693  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-10-03 05:24:56 +00:00 
						 
				 
			
				
					
						
							
							
								Nick Lewycky 
							
						 
					 
					
						
						
							
						
						f19fb9b4f4 
					 
					
						
						
							
							Add ability to remove nodes from DominatorTree, for when a BasicBlock  
						
						... 
						
						
						
						is being removed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30270  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-09-12 00:18:28 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						6aba48338f 
					 
					
						
						
							
							Add dominates/properlyDominates queries to IDom.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29456  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-08-01 22:24:47 +00:00