Devang Patel 
							
						 
					 
					
						
						
							
						
						f3ba70861c 
					 
					
						
						
							
							Add hasNote() to check note associated with a function.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56477  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2008-09-22 22:32:29 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						deafefabae 
					 
					
						
						
							
							A loop may be unswitched multiple times. Reconstruct dom info. at the end.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55806  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2008-09-04 22:43:59 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						027bb92541 
					 
					
						
						
							
							Initialize loop data first.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55792  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2008-09-04 20:36:36 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						10b359ccb6 
					 
					
						
						
							
							Do not unswitch if the function notes say we're optimizing this function for size.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55786  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2008-09-04 18:55:13 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Gohman 
							
						 
					 
					
						
						
							
						
						ae73dc1448 
					 
					
						
						
							
							Tidy up several unbeseeming casts from pointer to intptr_t.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55779  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2008-09-04 17:05:41 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						77a01136ff 
					 
					
						
						
							
							Do not try to update dominator info while manipulating CFG.  This code does not handle all cases and keeps invalid dom info around some cases, which misleads other passes down stream.  
						
						... 
						
						
						
						Right now, dom info is recaluclated in the end if the loop is switched.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53106  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2008-07-03 17:37:52 +00:00 
						 
				 
			
				
					
						
							
							
								Bill Wendling 
							
						 
					 
					
						
						
							
						
						38976dc394 
					 
					
						
						
							
							Remove unused function.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53090  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2008-07-03 07:10:03 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						f31b3bbd10 
					 
					
						
						
							
							Remove extra FIXME  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53087  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2008-07-03 06:50:04 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						4be7d294f8 
					 
					
						
						
							
							Reconstruct dom info, if loop is unswitched.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53086  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2008-07-03 06:48:21 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						b76247b8b1 
					 
					
						
						
							
							LoopUnswitch does not preserve dominator info in all cases.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53085  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2008-07-03 05:55:03 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						825cb98d9a 
					 
					
						
						
							
							Undo previous patch. It is not that simple to fix dom info here.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53062  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2008-07-03 00:08:13 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						501e763dfe 
					 
					
						
						
							
							Preserve dom info while simplifing loop after the unswitch.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53052  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2008-07-02 22:58:54 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						1e41f6d724 
					 
					
						
						
							
							reuse vectors.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53007  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2008-07-02 01:44:29 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						2095c38c7a 
					 
					
						
						
							
							Fix comment.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53006  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2008-07-02 01:31:19 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						e6962dfb64 
					 
					
						
						
							
							Preserve loop data so that it is not fetched everytime it is needed.  
						
						... 
						
						
						
						Keep track of currentLoop.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53005  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2008-07-02 01:18:13 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						64cd658223 
					 
					
						
						
							
							Preserve dominance frontier while trivially unswitching loop.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52438  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2008-06-18 02:16:38 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						2f170997b5 
					 
					
						
						
							
							Update dom tree. Fix PR 2372.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51887  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2008-06-02 22:52:56 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Gohman 
							
						 
					 
					
						
						
							
						
						02dea8b39f 
					 
					
						
						
							
							Tidy up BasicBlock::getFirstNonPHI, and change a bunch of places to  
						
						... 
						
						
						
						use it instead of duplicating its functionality.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51499  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2008-05-23 21:05:58 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Gohman 
							
						 
					 
					
						
						
							
						
						844731a7f1 
					 
					
						
						
							
							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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51017  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2008-05-13 00:00:25 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Gohman 
							
						 
					 
					
						
						
							
						
						4a3f6c8882 
					 
					
						
						
							
							Make several variable declarations static.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50696  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2008-05-06 01:53:16 +00:00 
						 
				 
			
				
					
						
							
							
								Nick Lewycky 
							
						 
					 
					
						
						
							
						
						280a6e607d 
					 
					
						
						
							
							Remove 'unwinds to' support from mainline. This patch undoes r47802 r47989  
						
						... 
						
						
						
						r48047 r48084 r48085 r48086 r48088 r48096 r48099 r48109 and r48123.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50265  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2008-04-25 16:53:59 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						48a80b07bd 
					 
					
						
						
							
							fit some more code in 80 cols.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50016  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2008-04-21 00:25:49 +00:00 
						 
				 
			
				
					
						
							
							
								Gabor Greif 
							
						 
					 
					
						
						
							
						
						051a950000 
					 
					
						
						
							
							API changes for class Use size reduction, wave 1.  
						
						... 
						
						
						
						Specifically, introduction of XXX::Create methods
for Users that have a potentially variable number of
Uses.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49277  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2008-04-06 20:25:17 +00:00 
						 
				 
			
				
					
						
							
							
								Nick Lewycky 
							
						 
					 
					
						
						
							
						
						529de8a457 
					 
					
						
						
							
							Update the block cloner which fixes bugpoint on code using unwind_to (phew!)  
						
						... 
						
						
						
						and also update the cloning interface's major user, the loop optimizations.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48088  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2008-03-09 05:24:34 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						4ee451de36 
					 
					
						
						
							
							Remove attribution from file headers, per discussion on llvmdev.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45418  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-12-29 20:36:04 +00:00 
						 
				 
			
				
					
						
							
							
								David Greene 
							
						 
					 
					
						
						
							
						
						60f7515479 
					 
					
						
						
							
							Get rid of annoying spaces.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45100  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-12-17 17:40:29 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						d735ee85db 
					 
					
						
						
							
							Make LoopInfoBase more generic, in preparation for having MachineLoopInfo.  This involves a small interface change.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44348  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-11-27 03:43:35 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						b593898e11 
					 
					
						
						
							
							Do not walk invalid iterator.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42812  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-10-09 21:31:36 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						5c4cd0d82e 
					 
					
						
						
							
							Fix bug in updating dominance frontier after loop  
						
						... 
						
						
						
						unswitch when frontier includes basic blocks that 
are not inside loop.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42654  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-10-05 22:29:34 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						c1e2660c5d 
					 
					
						
						
							
							Fix 80 col violation.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42591  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-10-03 21:17:43 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						f476e8e7ce 
					 
					
						
						
							
							Refactor code in a separate method.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42590  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-10-03 21:16:08 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						9ee49c541b 
					 
					
						
						
							
							Update aux. info associated with an instruction before erasing instruction.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42180  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-09-20 23:45:50 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						b7211a2ce1 
					 
					
						
						
							
							Use SmallVector instead of std::vector.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41207  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-08-21 00:31:24 +00:00 
						 
				 
			
				
					
						
							
							
								David Greene 
							
						 
					 
					
						
						
							
						
						8ff18e9c99 
					 
					
						
						
							
							Fix GLIBCXX_DEBUG error triggered by incrementing erased iterator.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40897  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-08-07 16:44:38 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						684b22df79 
					 
					
						
						
							
							wrap some long lines.  Major offenders that are left include  
						
						... 
						
						
						
						gvn, gvnpre, dse, and predsimplify.  To see these, use:
  make check-line-length
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40738  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-08-02 16:53:43 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						1ff61385c8 
					 
					
						
						
							
							Update dominator info for the middle blocks created while spliting  
						
						... 
						
						
						
						exit edge to preserve LCSSA.
Fix dominance frontier update during loop unswitch. This fixes PR 1589, again
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40737  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-08-02 15:25:57 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						2f2e519083 
					 
					
						
						
							
							Undo previous check-in.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40698  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-08-01 23:24:50 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						28ae151c48 
					 
					
						
						
							
							Update dominator info for the middle blocks created while spliting  
						
						... 
						
						
						
						exit edge to preserve LCSSA.
Fix dominance frontier update during loop unswitch. This fixes PR 1589.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40695  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-08-01 22:23:50 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Gohman 
							
						 
					 
					
						
						
							
						
						c2bbfc18e9 
					 
					
						
						
							
							More explicit keywords.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40673  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-08-01 15:32:29 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						15c260adff 
					 
					
						
						
							
							Loop unswitch preserves dom info.  
						
						... 
						
						
						
						Use simple analysis interface to preserve analysis info maintained by other loop passes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40627  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-07-31 08:03:26 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						6f62af6e64 
					 
					
						
						
							
							If loop can be unswitched again, then do it yourself.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40609  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-07-30 23:07:10 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						df5cf2074c 
					 
					
						
						
							
							Remove dead code.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40606  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-07-30 21:10:44 +00:00 
						 
				 
			
				
					
						
							
							
								Chuck Rose III 
							
						 
					 
					
						
						
							
						
						936baaa5ae 
					 
					
						
						
							
							VStudio compiler errors and placing Function*->ExFunc map under ManagedStatic control.  
						
						... 
						
						
						
						This commit fixes two things.  One is a pair of VStudio compiler errors stemming from variables
which defined within the for loop statement and also within the body of the for loop.  I fixed these 
by renaming one of the two variables.  Additionally, I've made the Function*->ExFunc map in 
ExternalFunctions.cpp a ManagedStatic object, so that cleanup will be done on llvm_shutdown.  In repeated
uses of the interpreter, where the same Function* address may get used for completely differnet functions,
this was causing a crash.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40558  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-07-27 18:26:35 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						24857a3fac 
					 
					
						
						
							
							Fix typo.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40025  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-07-18 23:50:19 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						31ad75329e 
					 
					
						
						
							
							Fix dominator info update to accommodate CFG changes.  
						
						... 
						
						
						
						This fixes PR1559.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40024  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-07-18 23:48:20 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						fba36b8cba 
					 
					
						
						
							
							Disable claims to preserve analysis until open issues are resolved.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@39834  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-07-13 21:53:42 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						05c1dc6493 
					 
					
						
						
							
							These rountines are now available as part of basic block utilities.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37955  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-07-06 22:03:47 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						f34a43acc0 
					 
					
						
						
							
							Preserve DominanceFrontier.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37820  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-06-29 23:11:49 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						6c631988c7 
					 
					
						
						
							
							Do not filter loop if candidate branch is in loop header.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37792  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-06-29 01:39:53 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						eb62eca503 
					 
					
						
						
							
							- Undo previous check and allow loop switch for condtion that is not inside  
						
						... 
						
						
						
						loop.
- Avoid loop unswich for loop header branch.
- While cloning dominators fix typo and handle self dominating blocks.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37772  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2007-06-28 02:05:46 +00:00