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 
							
						 
					 
					
						
						
							
						
						eaf8f9c667 
					 
					
						
						
							
							Fix DeadStoreElimination/2004-11-28-LiveStoreDeleted.ll  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18308  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-11-28 20:30:15 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						4e61676b56 
					 
					
						
						
							
							The trick with globals actually works with allocas and malloc too  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18262  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-11-26 20:01:48 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						0a1ac907c3 
					 
					
						
						
							
							A store or load cannot alias a global if the accessed amount is larger then  
						
						... 
						
						
						
						the global.
This implements Regression/Analysis/BasicAA/global-size.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18261  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-11-26 19:20:01 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						bc2a99b480 
					 
					
						
						
							
							Simplify conditional and fix LICM/2004-11-17-UndefIndexCrash.ll  
						
						... 
						
						
						
						by saying what we mean
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17913  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-11-17 17:39:39 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						a35339dfb6 
					 
					
						
						
							
							Be more careful about looking for constants when we really want constantint's.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17029  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-10-16 16:07:10 +00:00 
						 
				 
			
				
					
						
							
							
								Alkis Evlogimenos 
							
						 
					 
					
						
						
							
						
						20aa474f8f 
					 
					
						
						
							
							Fixes to make LLVM compile with vc7.1.  
						
						... 
						
						
						
						Patch contributed by Paolo Invernizzi!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16152  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-09-03 18:19:51 +00:00 
						 
				 
			
				
					
						
							
							
								Alkis Evlogimenos 
							
						 
					 
					
						
						
							
						
						eb62bc77b6 
					 
					
						
						
							
							Merge i*.h headers into Instructions.h as part of bug403.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15325  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-07-29 12:17:34 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						730b1ad2c4 
					 
					
						
						
							
							Fix test/Regression/Analysis/BasicAA/2004-07-28-MustAliasbug.llx  
						
						... 
						
						
						
						This also fixes the miscompilation of MallocBench/gs with dead store
elimination enabled.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15324  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-07-29 07:56:39 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						db5b80a7f2 
					 
					
						
						
							
							Make basicaa a bit more aggressive  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15252  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-07-27 02:18:52 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						e181b94309 
					 
					
						
						
							
							basic-aa can actually provide simple mod/ref info  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15251  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-07-27 02:13:55 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						05e47987ee 
					 
					
						
						
							
							This was implemented back in march  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15250  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-07-27 01:59:42 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						bb8f43c8fc 
					 
					
						
						
							
							Do not ignore casts unless they are pointer-pointer casts.  This caused us  
						
						... 
						
						
						
						to miscompile the SingleSource/Regression/C++/pointer_member.cpp program.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15062  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-07-21 03:56:54 +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 
							
						 
					 
					
						
						
							
						
						f70770abd5 
					 
					
						
						
							
							Simplify logic.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14825  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-07-14 20:27:12 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						689835a2d9 
					 
					
						
						
							
							Fix a tiny bug in the -no-aa pass, in which it did not ever get a target data.  
						
						... 
						
						
						
						This is a regression from 1.2, though noone uses -no-aa anyway
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14245  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-06-19 08:05:58 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						4ee623de0b 
					 
					
						
						
							
							isnan is dead  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14191  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-06-15 21:52:58 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						9f35196fc2 
					 
					
						
						
							
							llvm.isnan doesn't access memory  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14151  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-06-11 06:17:13 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						b52f440860 
					 
					
						
						
							
							Move the -no-aa AA implementation into this file since both of these  
						
						... 
						
						
						
						alias analysis implementations are special: they do not autoforward to a
chained implementation of alias analysis
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13683  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-05-23 21:15:12 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						7512c08bfd 
					 
					
						
						
							
							Hrm, operator new and new[] do not belong here.  We should not CSE them!  :)  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12859  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-04-12 05:16:42 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						bec63d606f 
					 
					
						
						
							
							operator new & operator new[] do not kill any legal memory locations.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12833  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-04-11 18:16:34 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						65585aa3fc 
					 
					
						
						
							
							Allow clients to be more efficient.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12831  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-04-11 16:43:07 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						b903fc5c1b 
					 
					
						
						
							
							Add a couple of more functions that cannot access memory (the intrinsics) and  
						
						... 
						
						
						
						don't write to memory
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12808  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-04-10 06:55:27 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						28977af72a 
					 
					
						
						
							
							Support getelementptr instructions which use uint's to index into structure  
						
						... 
						
						
						
						types and can have arbitrary 32- and 64-bit integer types indexing into
sequential types.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12653  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-04-05 01:30:19 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						002be76733 
					 
					
						
						
							
							Add some missing functions.  Make sure to handle calls together in case the  
						
						... 
						
						
						
						client has another VN implementation that can VN calls.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12427  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-03-16 03:41:35 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						bbcc147220 
					 
					
						
						
							
							Fix a minor bug, implementing GCSE/call_pure_function.ll  
						
						... 
						
						
						
						Also, add some stuff I missed before.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12417  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-03-15 04:18:28 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						4244bb5bbd 
					 
					
						
						
							
							Teach basicaa about some stdc functions.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12408  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-03-15 03:36:49 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						7a82ba0510 
					 
					
						
						
							
							Fix a couple of minor problems.  Because PHI nodes can use themselves, this  
						
						... 
						
						
						
						could cause infinite loops.  Also, getUnderlyingObject can return null
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12351  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-03-12 23:12:55 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						04b7593546 
					 
					
						
						
							
							Implement mod/ref analysis for a trivial case where locals don't escape.  
						
						... 
						
						
						
						This comes up when you have a local array on the stack and you never pass
the address of elements around.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12349  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-03-12 22:39:00 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						2d6a6aa137 
					 
					
						
						
							
							Expand on my note-to-self  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12029  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-03-01 02:44:44 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						e735b2de30 
					 
					
						
						
							
							Fix a soon-to-be-missing #include  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11707  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-02-22 06:26:17 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						a4dd6743e7 
					 
					
						
						
							
							Fix thinko  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11027  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-01-30 22:48:02 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						bc1daaa8bb 
					 
					
						
						
							
							Implement the pointsToConstantMemory() method.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11022  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-01-30 22:17:24 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						6eb88d44c9 
					 
					
						
						
							
							Eliminate use of ConstantHandling itf  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10780  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2004-01-12 17:57:32 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						6cdc42b3d1 
					 
					
						
						
							
							Add a note  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10617  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-12-28 04:03:49 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						4a83088b30 
					 
					
						
						
							
							Factor out some duplicated code, implement the rest of the cases in  
						
						... 
						
						
						
						BasicAA/2003-12-11-ConstExprGEP.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10412  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-12-11 23:20:16 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						b307c88fe7 
					 
					
						
						
							
							Fix PR86.  This makes basicaa _SIGNIFICANLY_ more aggressive with getelementptr's  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10410  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-12-11 22:44:13 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						c54735e7cb 
					 
					
						
						
							
							Fix a glaring bug  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10400  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-12-11 06:06:28 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						88d3e03429 
					 
					
						
						
							
							Realize the gep P, <zeros> must aliases P.  
						
						... 
						
						
						
						This is a partial fix for PR 86
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10399  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-12-11 06:02:00 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						863914578a 
					 
					
						
						
							
							With Brian's change to AA.h we can now clean out this uglyness  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10398  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-12-11 05:44:59 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						9d7c9ea053 
					 
					
						
						
							
							Fix file header  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10219  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-11-25 20:11:47 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						1af55e1693 
					 
					
						
						
							
							Use gep_type_begin/end instead of looking for ubytes  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10217  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-11-25 20:10:07 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						ec4e8085e8 
					 
					
						
						
							
							Finegrainify namespacification  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10210  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-11-25 18:33:40 +00:00 
						 
				 
			
				
					
						
							
							
								Brian Gaeke 
							
						 
					 
					
						
						
							
						
						d0fde30ce8 
					 
					
						
						
							
							Put all LLVM code into the llvm namespace, as per bug 109.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9903  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-11-11 22:41:34 +00:00 
						 
				 
			
				
					
						
							
							
								John Criswell 
							
						 
					 
					
						
						
							
						
						b576c94c15 
					 
					
						
						
							
							Added LLVM project notice to the top of every C++ source file.  
						
						... 
						
						
						
						Header files will be on the way.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9298  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-10-20 19:43:21 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						c1820036bd 
					 
					
						
						
							
							Fix bug: BasicAA/2003-09-19-LocalArgument.ll  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8615  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-09-20 03:08:47 +00:00 
						 
				 
			
				
					
						
							
							
								Misha Brukman 
							
						 
					 
					
						
						
							
						
						2f2d06506c 
					 
					
						
						
							
							Fixed spelling and grammar.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8478  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-09-11 18:14:24 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						5bfccb9def 
					 
					
						
						
							
							Reuse the values if they are constants: this is important so that we index into the right structure field  
						
						... 
						
						
						
						This fixes bug: BasicAA/2003-07-03-BasicAACrash.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7093  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-07-03 06:42:38 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						388f669d95 
					 
					
						
						
							
							Implement handling of constantexprs for disambiguation.  This implements  
						
						... 
						
						
						
						BasicAA/featuretest.ll:constexpr_test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6740  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-06-17 15:25:37 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						920bd79f34 
					 
					
						
						
							
							Be more robust in the face of undefined behavior.  
						
						... 
						
						
						
						Fixes bug: BasicAA/2003-06-01-AliasCrash.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6538  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2003-06-02 05:42:39 +00:00