Chris Lattner 
							
						 
					 
					
						
						
							
						
						3fe4d3cb5b 
					 
					
						
						
							
							Malloc/Free have mod/ref effects.  Do not allow CSE of function calls that  
						
						... 
						
						
						
						call malloc/free.  This fixes PR555.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21443  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2005-04-22 05:36:59 +00:00 
						 
				 
			
				
					
						
							
							
								Misha Brukman 
							
						 
					 
					
						
						
							
						
						dedf2bd5a3 
					 
					
						
						
							
							Convert tabs to spaces  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21439  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2005-04-22 04:01:18 +00:00 
						 
				 
			
				
					
						
							
							
								Misha Brukman 
							
						 
					 
					
						
						
							
						
						2b37d7cf28 
					 
					
						
						
							
							Remove trailing whitespace  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21416  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2005-04-21 21:13:18 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						62da315c85 
					 
					
						
						
							
							Simplify dead code into a fixme :)  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20800  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2005-03-24 02:41:19 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						c4417f98e5 
					 
					
						
						
							
							fix a compiler crash in runtime/libprofile  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20799  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2005-03-24 01:22:52 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						f5eaf3c62c 
					 
					
						
						
							
							wrap a long line  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20797  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2005-03-23 23:51:12 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						ec6518ddc2 
					 
					
						
						
							
							If we are calling an external function, chain to another AA to potentially  
						
						... 
						
						
						
						decide, don't just immediately give up.
This implements GlobalsModRef/chaining-analysis.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20796  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2005-03-23 23:49:47 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						e4d5c441e0 
					 
					
						
						
							
							This mega patch converts us from using Function::a{iterator|begin|end} to  
						
						... 
						
						
						
						using Function::arg_{iterator|begin|end}.  Likewise Module::g* -> Module::global_*.
This patch is contributed by Gabor Greif, thanks!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20597  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2005-03-15 04:54:21 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						41925f87d3 
					 
					
						
						
							
							Actually overload the virtual method.  This fixes  
						
						... 
						
						
						
						Regression/Analysis/GlobalsModRef/purecse.ll.  Isn't this what the
-Woverload-whatever flag would warn about :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19018  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-12-17 17:12:24 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						0af024c5d0 
					 
					
						
						
							
							Adjust to new alias analysis interfaces  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18957  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-12-15 07:22:13 +00:00 
						 
				 
			
				
					
						
							
							
								Reid Spencer 
							
						 
					 
					
						
						
							
						
						4a7ebfa411 
					 
					
						
						
							
							For PR387:\  
						
						... 
						
						
						
						Add getModRefInfo method to avoid overloaded virtuals
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18601  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-12-07 08:11:24 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						b12914bfc0 
					 
					
						
						
							
							'Pass' should now not be derived from by clients.  Instead, they should derive  
						
						... 
						
						
						
						from ModulePass.  Instead of implementing Pass::run, then should implement
ModulePass::runOnModule.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16436  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-09-20 04:48:05 +00:00 
						 
				 
			
				
					
						
							
							
								Reid Spencer 
							
						 
					 
					
						
						
							
						
						551ccae044 
					 
					
						
						
							
							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/.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16137  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-09-01 22:55:40 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						b0015c510f 
					 
					
						
						
							
							nuke pointless -debug output  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15267  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-07-27 08:03:18 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						105d26acb4 
					 
					
						
						
							
							Fix conservative assumption, which was quite broken.  Also, notice that  
						
						... 
						
						
						
						functions known to not access memory (like sin/cos) don't access memory! :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15264  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-07-27 07:46:26 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						fe98f27e80 
					 
					
						
						
							
							Complete rewrite of this pass to be faster, use less memory, be easier to  
						
						... 
						
						
						
						understand, and more accurate to boot!  This implements
GlobalModRef/purecse.ll over the previous impl.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15260  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-07-27 06:40:37 +00:00 
						 
				 
			
				
					
						
							
							
								Reid Spencer 
							
						 
					 
					
						
						
							
						
						e840434755 
					 
					
						
						
							
							bug 122:  
						
						... 
						
						
						
						- Replace ConstantPointerRef usage with GlobalValue usage
- Minimize redundant isa<GlobalValue> usage
- Correct isa<Constant> for GlobalValue subclass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14942  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-07-18 00:18:30 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						3b04a8ac45 
					 
					
						
						
							
							Initial checkin of a simple mod/ref analysis for global variables.  This is  
						
						... 
						
						
						
						still overly conservative and uses very simple data structures, but it is a
start, and allows elimination of a lot of loads.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14462  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-06-28 06:33:13 +00:00