3b03327c14 
								
							 
						 
						
							
							
								
								adopt getAdjustedAnalysisPointer in two more passes.  
							
							... 
							
							
							
							llvm-svn: 94017 
							
						 
						
							2010-01-20 19:53:32 +00:00  
				
					
						
							
							
								 
						
							
								88874ec60a 
								
							 
						 
						
							
							
								
								Remove the AliasAnalysis::getMustAliases method, which is dead.  
							
							... 
							
							
							
							The hasNoModRefInfoForCalls isn't worth it as a filter because 
basicaa provides m/r info and everything chains to it, so remove
it.
llvm-svn: 89599 
							
						 
						
							2009-11-22 16:01:44 +00:00  
				
					
						
							
							
								 
						
							
								f390e04a47 
								
							 
						 
						
							
							
								
								Rename MallocFreeHelper as MemoryBuiltins  
							
							... 
							
							
							
							llvm-svn: 85286 
							
						 
						
							2009-10-27 20:05:49 +00:00  
				
					
						
							
							
								 
						
							
								762195bd01 
								
							 
						 
						
							
							
								
								Rename MallocHelper as MallocFreeHelper, since it now also identifies calls to free()  
							
							... 
							
							
							
							llvm-svn: 85181 
							
						 
						
							2009-10-26 23:58:56 +00:00  
				
					
						
							
							
								 
						
							
								de5ad42aa1 
								
							 
						 
						
							
							
								
								Remove FreeInst.  
							
							... 
							
							
							
							Remove LowerAllocations pass.
Update some more passes to treate free calls just like they were treating FreeInst.
llvm-svn: 85176 
							
						 
						
							2009-10-26 23:43:48 +00:00  
				
					
						
							
							
								 
						
							
								974e12b2d3 
								
							 
						 
						
							
							
								
								Remove includes of Support/Compiler.h that are no longer needed after the  
							
							... 
							
							
							
							VISIBILITY_HIDDEN removal.
llvm-svn: 85043 
							
						 
						
							2009-10-25 06:57:41 +00:00  
				
					
						
							
							
								 
						
							
								02d5f77d26 
								
							 
						 
						
							
							
								
								Remove VISIBILITY_HIDDEN from class/struct found inside anonymous namespaces.  
							
							... 
							
							
							
							Chris claims we should never have visibility_hidden inside any .cpp file but
that's still not true even after this commit.
llvm-svn: 85042 
							
						 
						
							2009-10-25 06:33:48 +00:00  
				
					
						
							
							
								 
						
							
								e297149e26 
								
							 
						 
						
							
							
								
								Auto-upgrade free instructions to calls to the builtin free function.  
							
							... 
							
							
							
							Update all analysis passes and transforms to treat free calls just like FreeInst.
Remove RaiseAllocations and all its tests since FreeInst no longer needs to be raised.
llvm-svn: 84987 
							
						 
						
							2009-10-24 04:23:03 +00:00  
				
					
						
							
							
								 
						
							
								a3aaf85e23 
								
							 
						 
						
							
							
								
								Remove MallocInst from LLVM Instructions.  
							
							... 
							
							
							
							llvm-svn: 84299 
							
						 
						
							2009-10-17 01:18:07 +00:00  
				
					
						
							
							
								 
						
							
								537d8d99be 
								
							 
						 
						
							
							
								
								Enhance analysis passes so that they apply the same analysis to malloc calls as to MallocInst.  
							
							... 
							
							
							
							Reviewed by Eli Friedman.
llvm-svn: 82281 
							
						 
						
							2009-09-18 21:34:51 +00:00  
				
					
						
							
							
								 
						
							
								2d60e1ec0c 
								
							 
						 
						
							
							
								
								back out my recent commit (r80858), it seems to break self-hosting buildbot's stage 2 configure  
							
							... 
							
							
							
							llvm-svn: 80871 
							
						 
						
							2009-09-03 02:02:59 +00:00  
				
					
						
							
							
								 
						
							
								14dfba6d66 
								
							 
						 
						
							
							
								
								re-commit r66920 (which has been backed out in r66953) I may have more luck this time. I'll back out if needed...  
							
							... 
							
							
							
							llvm-svn: 80858 
							
						 
						
							2009-09-03 00:18:58 +00:00  
				
					
						
							
							
								 
						
							
								4bb96e9a50 
								
							 
						 
						
							
							
								
								Revert r66920. It was causing failures in the self-hosting buildbot (in release  
							
							... 
							
							
							
							mode).
Running /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvmCore/test/BugPoint/dg.exp ...
FAIL: /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvmCore/test/BugPoint/crash-narrowfunctiontest.ll
Failed with signal(SIGBUS) at line 1
while running: bugpoint /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvmCore/test/BugPoint/crash-narrowfunctiontest.ll -bugpoint-crashcalls -silence-passes > /dev/null
0   bugpoint          0x0035dd25 llvm::sys::SetInterruptFunction(void (*)()) + 85
1   bugpoint          0x0035e382 llvm::sys::RemoveFileOnSignal(llvm::sys::Path const&, std::string*) + 706
2   libSystem.B.dylib 0x92f112bb _sigtramp + 43
3   libSystem.B.dylib 0xffffffff _sigtramp + 1829694831
4   bugpoint          0x00021d1c main + 92
5   bugpoint          0x00002106 start + 54
6   bugpoint          0x00000004 start + 18446744073709543220
Stack dump:
0.    Program arguments: bugpoint /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvmCore/test/BugPoint/crash-narrowfunctiontest.ll -bugpoint-crashcalls -silence-passes 
FAIL: /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvmCore/test/BugPoint/misopt-basictest.ll
Failed with signal(SIGBUS) at line 1
while running: bugpoint /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvmCore/test/BugPoint/misopt-basictest.ll -dce -bugpoint-deletecalls -simplifycfg -silence-passes
0   bugpoint          0x0035dd25 llvm::sys::SetInterruptFunction(void (*)()) + 85
1   bugpoint          0x0035e382 llvm::sys::RemoveFileOnSignal(llvm::sys::Path const&, std::string*) + 706
2   libSystem.B.dylib 0x92f112bb _sigtramp + 43
3   libSystem.B.dylib 0xffffffff _sigtramp + 1829694831
4   bugpoint          0x00021d1c main + 92
5   bugpoint          0x00002106 start + 54
6   bugpoint          0x00000006 start + 18446744073709543222
Stack dump:
0.    Program arguments: bugpoint /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvmCore/test/BugPoint/misopt-basictest.ll -dce -bugpoint-deletecalls -simplifycfg -silence-passes 
FAIL: /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvmCore/test/BugPoint/remove_arguments_test.ll
Failed with signal(SIGBUS) at line 1
while running: bugpoint /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvmCore/test/BugPoint/remove_arguments_test.ll  -bugpoint-crashcalls -silence-passes
0   bugpoint          0x0035dd25 llvm::sys::SetInterruptFunction(void (*)()) + 85
1   bugpoint          0x0035e382 llvm::sys::RemoveFileOnSignal(llvm::sys::Path const&, std::string*) + 706
2   libSystem.B.dylib 0x92f112bb _sigtramp + 43
3   libSystem.B.dylib 0xffffffff _sigtramp + 1829694831
4   bugpoint          0x00021d1c main + 92
5   bugpoint          0x00002106 start + 54
Stack dump:
0.    Program arguments: bugpoint /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvmCore/test/BugPoint/remove_arguments_test.ll -bugpoint-crashcalls -silence-passes 
--- Reverse-merging (from foreign repository) r66920 into '.':
U    include/llvm/Support/CallSite.h
U    include/llvm/Instructions.h
U    lib/Analysis/IPA/GlobalsModRef.cpp
U    lib/Analysis/IPA/Andersens.cpp
U    lib/Bitcode/Writer/BitcodeWriter.cpp
U    lib/VMCore/Instructions.cpp
U    lib/VMCore/Verifier.cpp
U    lib/VMCore/AsmWriter.cpp
U    lib/Transforms/Utils/LowerInvoke.cpp
U    lib/Transforms/Scalar/SimplifyCFGPass.cpp
U    lib/Transforms/IPO/PruneEH.cpp
U    lib/Transforms/IPO/DeadArgumentElimination.cpp
llvm-svn: 66953 
							
						 
						
							2009-03-13 21:15:59 +00:00  
				
					
						
							
							
								 
						
							
								258232fb80 
								
							 
						 
						
							
							
								
								Second installment of "BasicBlock operands to the back"  
							
							... 
							
							
							
							changes.
For InvokeInst now all arguments begin at op_begin().
The Callee, Cont and Fail are now faster to get by
access relative to op_end().
This patch introduces some temporary uglyness in CallSite.
Next I'll bring CallInst up to a similar scheme and then
the uglyness will magically vanish.
This patch also exposes all the reliance of the libraries
on InvokeInst's operand ordering. I am thinking of taking
care of that too.
llvm-svn: 66920 
							
						 
						
							2009-03-13 18:27:29 +00:00  
				
					
						
							
							
								 
						
							
								98a3617fba 
								
							 
						 
						
							
							
								
								Refactor my previous change to maintain the distinction between AliasAnalysis and BasicAliasAnalysis.  This involves some wider changes because it  
							
							... 
							
							
							
							folds away some never-used methods.
llvm-svn: 63900 
							
						 
						
							2009-02-05 23:36:27 +00:00  
				
					
						
							
							
								 
						
							
								6de96a1b5d 
								
							 
						 
						
							
							
								
								Add the private linkage.  
							
							... 
							
							
							
							llvm-svn: 62279 
							
						 
						
							2009-01-15 20:18:42 +00:00  
				
					
						
							
							
								 
						
							
								d65a4daeea 
								
							 
						 
						
							
							
								
								Factorize code: remove variants of "strip off  
							
							... 
							
							
							
							pointer bitcasts and GEP's", and centralize the
logic in Value::getUnderlyingObject.  The
difference with stripPointerCasts is that
stripPointerCasts only strips GEPs if all
indices are zero, while getUnderlyingObject
strips GEPs no matter what the indices are.
llvm-svn: 56922 
							
						 
						
							2008-10-01 15:25:41 +00:00  
				
					
						
							
							
								 
						
							
								9ddb3145ae 
								
							 
						 
						
							
							
								
								Fix PR2792: treat volatile loads as writing memory somewhere.  
							
							... 
							
							
							
							Treat stores as reading memory, just to play safe.
llvm-svn: 56188 
							
						 
						
							2008-09-13 12:45:50 +00:00  
				
					
						
							
							
								 
						
							
								06dbb126e6 
								
							 
						 
						
							
							
								
								Rather than marking all internal globals "Ref"  
							
							... 
							
							
							
							when a readonly declaration is called, set a
flag.  This is faster and uses less memory.
In theory it is less accurate, because before
only those internal globals that were read
by someone were being marked "Ref", but now
all are.  But in practice, thanks to other
passes, all internal globals of the kind
considered here will be both read and stored
to: those only read will have been turned
into constants, and those only stored to will
have been deleted.
llvm-svn: 56143 
							
						 
						
							2008-09-12 07:29:58 +00:00  
				
					
						
							
							
								 
						
							
								d4133ac315 
								
							 
						 
						
							
							
								
								Intrinsics don't touch internal global variables  
							
							... 
							
							
							
							(unless passed one via a parameter), even if they
are IntrWriteMem.
llvm-svn: 56115 
							
						 
						
							2008-09-11 19:35:55 +00:00  
				
					
						
							
							
								 
						
							
								e30b36fe37 
								
							 
						 
						
							
							
								
								Intrinsics don't read these kinds of global  
							
							... 
							
							
							
							variables.
llvm-svn: 56105 
							
						 
						
							2008-09-11 15:43:12 +00:00  
				
					
						
							
							
								 
						
							
								21a57993dc 
								
							 
						 
						
							
							
								
								Neaten this up a bit.  No functionality change.  
							
							... 
							
							
							
							llvm-svn: 55789 
							
						 
						
							2008-09-04 19:16:20 +00:00  
				
					
						
							
							
								 
						
							
								a79db30d28 
								
							 
						 
						
							
							
								
								Tidy up several unbeseeming casts from pointer to intptr_t.  
							
							... 
							
							
							
							llvm-svn: 55779 
							
						 
						
							2008-09-04 17:05:41 +00:00  
				
					
						
							
							
								 
						
							
								ee088a7093 
								
							 
						 
						
							
							
								
								If a SCC has a node without a function, then the SCC  
							
							... 
							
							
							
							analysis would bail out without removing function
records for other members of the SCC (which may exist
if those functions read or wrote global variables).
Since these are initialized to "readnone", this
resulted in incorrect alias analysis results.
llvm-svn: 55714 
							
						 
						
							2008-09-03 19:37:16 +00:00  
				
					
						
							
							
								 
						
							
								e74d7502d2 
								
							 
						 
						
							
							
								
								Fix maxo bado thinko.  
							
							... 
							
							
							
							llvm-svn: 55700 
							
						 
						
							2008-09-03 16:10:55 +00:00  
				
					
						
							
							
								 
						
							
								0eca0571f8 
								
							 
						 
						
							
							
								
								Since onlyReadsMemory returns true if in fact  
							
							... 
							
							
							
							doesNotAccessMemory, check doesNotAccessMemory
first, since otherwise functions may be
marked readonly rather than readnone.
llvm-svn: 55697 
							
						 
						
							2008-09-03 15:31:24 +00:00  
				
					
						
							
							
								 
						
							
								42c644ef03 
								
							 
						 
						
							
							
								
								Cleanup GlobalsModRef a bit.  When analysing the  
							
							... 
							
							
							
							callgraph, when one member of a SCC calls another
then the analysis would drop to mod-ref because
there is (usually) no function info for the callee
yet; fix this.  Teach the analysis about function
attributes, in particular the readonly attribute
(which requires being careful about globals).
llvm-svn: 55696 
							
						 
						
							2008-09-03 12:55:42 +00:00  
				
					
						
							
							
								 
						
							
								d78c400b5b 
								
							 
						 
						
							
							
								
								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.
llvm-svn: 51017 
							
						 
						
							2008-05-13 00:00:25 +00:00  
				
					
						
							
							
								 
						
							
								80e43fa744 
								
							 
						 
						
							
							
								
								Restore isCFGOnly property of various analysis passes.  
							
							... 
							
							
							
							llvm-svn: 48579 
							
						 
						
							2008-03-20 02:25:21 +00:00  
				
					
						
							
							
								 
						
							
								718da668ab 
								
							 
						 
						
							
							
								
								PassInfo keep tracks whether a pass is an analysis pass or not.  
							
							... 
							
							
							
							llvm-svn: 48554 
							
						 
						
							2008-03-19 21:56:59 +00:00  
				
					
						
							
							
								 
						
							
								af75ab8130 
								
							 
						 
						
							
							
								
								Do not use virtual function to identify an analysis pass.  
							
							... 
							
							
							
							llvm-svn: 48520 
							
						 
						
							2008-03-19 00:48:41 +00:00  
				
					
						
							
							
								 
						
							
								864970e9b6 
								
							 
						 
						
							
							
								
								Identify Analysis pass.  
							
							... 
							
							
							
							Do not run analysis pass again if analysis info is still available.
This fixes PR1441.
llvm-svn: 48476 
							
						 
						
							2008-03-18 00:39:19 +00:00  
				
					
						
							
							
								 
						
							
								579f07135a 
								
							 
						 
						
							
							
								
								Unbreak build with gcc 4.3: provide missed includes and silence most annoying warnings.  
							
							... 
							
							
							
							llvm-svn: 47367 
							
						 
						
							2008-02-20 11:08:44 +00:00  
				
					
						
							
							
								 
						
							
								f3ebc3f3d2 
								
							 
						 
						
							
							
								
								Remove attribution from file headers, per discussion on llvmdev.  
							
							... 
							
							
							
							llvm-svn: 45418 
							
						 
						
							2007-12-29 20:36:04 +00:00  
				
					
						
							
							
								 
						
							
								68b6f50938 
								
							 
						 
						
							
							
								
								Integrate the readonly/readnone logic more deeply  
							
							... 
							
							
							
							into alias analysis.  This meant updating the API
which now has versions of the getModRefBehavior,
doesNotAccessMemory and onlyReadsMemory methods
which take a callsite parameter.  These should be
used unless the callsite is not known, since in
general they can do a better job than the versions
that take a function.  Also, users should no longer
call the version of getModRefBehavior that takes
both a function and a callsite.  To reduce the
chance of misuse it is now protected.
llvm-svn: 44487 
							
						 
						
							2007-12-01 07:51:45 +00:00  
				
					
						
							
							
								 
						
							
								907703cecd 
								
							 
						 
						
							
							
								
								chain update requests properly.  
							
							... 
							
							
							
							llvm-svn: 44460 
							
						 
						
							2007-11-30 18:52:58 +00:00  
				
					
						
							
							
								 
						
							
								8c78a0bff0 
								
							 
						 
						
							
							
								
								Drop 'const'  
							
							... 
							
							
							
							llvm-svn: 36662 
							
						 
						
							2007-05-03 01:11:54 +00:00  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								09f162ca6a 
								
							 
						 
						
							
							
								
								Do not use typeinfo to identify pass in pass manager.  
							
							... 
							
							
							
							llvm-svn: 36632 
							
						 
						
							2007-05-01 21:15:47 +00:00  
				
					
						
							
							
								 
						
							
								f75727ab14 
								
							 
						 
						
							
							
								
								Make classes in anonymous namespaces use VISIBILITY_HIDDEN to help reduce  
							
							... 
							
							
							
							LLVM's footprint and speed up linking.
llvm-svn: 33941 
							
						 
						
							2007-02-05 23:42:17 +00:00  
				
					
						
							
							
								 
						
							
								5301e7c605 
								
							 
						 
						
							
							
								
								For PR1136: Rename GlobalVariable::isExternal as isDeclaration to avoid  
							
							... 
							
							
							
							confusion with external linkage types.
llvm-svn: 33663 
							
						 
						
							2007-01-30 20:08:39 +00:00  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								57ef942306 
								
							 
						 
						
							
							
								
								eliminate static ctors from Statistics  
							
							... 
							
							
							
							llvm-svn: 32697 
							
						 
						
							2006-12-19 22:30:33 +00:00  
				
					
						
							
							
								 
						
							
								700b873130 
								
							 
						 
						
							
							
								
								Detemplatize the Statistic class.  The only type it is instantiated with  
							
							... 
							
							
							
							is 'unsigned'.
llvm-svn: 32279 
							
						 
						
							2006-12-06 17:46:33 +00:00  
				
					
						
							
							
								 
						
							
								6c38f0bb07 
								
							 
						 
						
							
							
								
								For PR950:  
							
							... 
							
							
							
							The long awaited CAST patch. This introduces 12 new instructions into LLVM
to replace the cast instruction. Corresponding changes throughout LLVM are
provided. This passes llvm-test, llvm/test, and SPEC CPUINT2000 with the
exception of 175.vpr which fails only on a slight floating point output
difference.
llvm-svn: 31931 
							
						 
						
							2006-11-27 01:05:10 +00:00  
				
					
						
							
							
								 
						
							
								134ff353f9 
								
							 
						 
						
							
							
								
								Fixme is already done  
							
							... 
							
							
							
							llvm-svn: 30685 
							
						 
						
							2006-10-01 22:46:33 +00:00  
				
					
						
							
							
								 
						
							
								bfdd19bc01 
								
							 
						 
						
							
							
								
								Teach globalsmodref-aa to track scalar pointer global variables which point  
							
							... 
							
							
							
							to unaliased allocations.  Use this information to disambiguate pointers loaded
from them.  This is a very common case, so it's worthwhile to handle efficiently.
This implements Analysis/GlobalsModRef/indirect-global.ll
llvm-svn: 30684 
							
						 
						
							2006-10-01 22:36:45 +00:00  
				
					
						
							
							
								 
						
							
								97c9f20c52 
								
							 
						 
						
							
							
								
								simplify AnalysisGroup registration, eliminating one typeid call.  
							
							... 
							
							
							
							llvm-svn: 29932 
							
						 
						
							2006-08-28 00:42:29 +00:00  
				
					
						
							
							
								 
						
							
								c2d3d3112e 
								
							 
						 
						
							
							
								
								eliminate RegisterOpt.  It does the same thing as RegisterPass.  
							
							... 
							
							
							
							llvm-svn: 29925 
							
						 
						
							2006-08-27 22:42:52 +00:00  
				
					
						
							
							
								 
						
							
								5de3b8b262 
								
							 
						 
						
							
							
								
								Change the callgraph representation to store the callsite along with the  
							
							... 
							
							
							
							target CG node.  This allows the inliner to properly update the callgraph
when using the pruning inliner.  The pruning inliner may not copy over all
call sites from a callee to a caller, so the edges corresponding to those
call sites should not be copied over either.
This fixes PR827 and Transforms/Inline/2006-07-12-InlinePruneCGUpdate.ll
llvm-svn: 29120 
							
						 
						
							2006-07-12 18:29:36 +00:00  
				
					
						
							
							
								 
						
							
								e25cfaee55 
								
							 
						 
						
							
							
								
								Malloc/Free have mod/ref effects.  Do not allow CSE of function calls that  
							
							... 
							
							
							
							call malloc/free.  This fixes PR555.
llvm-svn: 21443 
							
						 
						
							2005-04-22 05:36:59 +00:00  
				
					
						
							
							
								 
						
							
								774511633d 
								
							 
						 
						
							
							
								
								Convert tabs to spaces  
							
							... 
							
							
							
							llvm-svn: 21439 
							
						 
						
							2005-04-22 04:01:18 +00:00  
				
					
						
							
							
								 
						
							
								01808caded 
								
							 
						 
						
							
							
								
								Remove trailing whitespace  
							
							... 
							
							
							
							llvm-svn: 21416 
							
						 
						
							2005-04-21 21:13:18 +00:00  
				
					
						
							
							
								 
						
							
								aff85ac552 
								
							 
						 
						
							
							
								
								Simplify dead code into a fixme :)  
							
							... 
							
							
							
							llvm-svn: 20800 
							
						 
						
							2005-03-24 02:41:19 +00:00  
				
					
						
							
							
								 
						
							
								85a1d92323 
								
							 
						 
						
							
							
								
								fix a compiler crash in runtime/libprofile  
							
							... 
							
							
							
							llvm-svn: 20799 
							
						 
						
							2005-03-24 01:22:52 +00:00  
				
					
						
							
							
								 
						
							
								6a3f5fd623 
								
							 
						 
						
							
							
								
								wrap a long line  
							
							... 
							
							
							
							llvm-svn: 20797 
							
						 
						
							2005-03-23 23:51:12 +00:00  
				
					
						
							
							
								 
						
							
								2a7358064e 
								
							 
						 
						
							
							
								
								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
llvm-svn: 20796 
							
						 
						
							2005-03-23 23:49:47 +00:00  
				
					
						
							
							
								 
						
							
								531f9e92d4 
								
							 
						 
						
							
							
								
								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!
llvm-svn: 20597 
							
						 
						
							2005-03-15 04:54:21 +00:00  
				
					
						
							
							
								 
						
							
								a12b5df616 
								
							 
						 
						
							
							
								
								Actually overload the virtual method.  This fixes  
							
							... 
							
							
							
							Regression/Analysis/GlobalsModRef/purecse.ll.  Isn't this what the
-Woverload-whatever flag would warn about :)
llvm-svn: 19018 
							
						 
						
							2004-12-17 17:12:24 +00:00  
				
					
						
							
							
								 
						
							
								71d04bce55 
								
							 
						 
						
							
							
								
								Adjust to new alias analysis interfaces  
							
							... 
							
							
							
							llvm-svn: 18957 
							
						 
						
							2004-12-15 07:22:13 +00:00  
				
					
						
							
							
								 
						
							
								5c132bc3af 
								
							 
						 
						
							
							
								
								For PR387:\  
							
							... 
							
							
							
							Add getModRefInfo method to avoid overloaded virtuals
llvm-svn: 18601 
							
						 
						
							2004-12-07 08:11:24 +00:00  
				
					
						
							
							
								 
						
							
								4f2cf030e8 
								
							 
						 
						
							
							
								
								'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.
llvm-svn: 16436 
							
						 
						
							2004-09-20 04:48:05 +00:00  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								036d2b0c4d 
								
							 
						 
						
							
							
								
								nuke pointless -debug output  
							
							... 
							
							
							
							llvm-svn: 15267 
							
						 
						
							2004-07-27 08:03:18 +00:00  
				
					
						
							
							
								 
						
							
								b696462260 
								
							 
						 
						
							
							
								
								Fix conservative assumption, which was quite broken.  Also, notice that  
							
							... 
							
							
							
							functions known to not access memory (like sin/cos) don't access memory! :)
llvm-svn: 15264 
							
						 
						
							2004-07-27 07:46:26 +00:00  
				
					
						
							
							
								 
						
							
								3a353e84b7 
								
							 
						 
						
							
							
								
								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.
llvm-svn: 15260 
							
						 
						
							2004-07-27 06:40:37 +00:00  
				
					
						
							
							
								 
						
							
								30d69a5af9 
								
							 
						 
						
							
							
								
								bug 122:  
							
							... 
							
							
							
							- Replace ConstantPointerRef usage with GlobalValue usage
- Minimize redundant isa<GlobalValue> usage
- Correct isa<Constant> for GlobalValue subclass
llvm-svn: 14942 
							
						 
						
							2004-07-18 00:18:30 +00:00  
				
					
						
							
							
								 
						
							
								26dff501a4 
								
							 
						 
						
							
							
								
								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.
llvm-svn: 14462 
							
						 
						
							2004-06-28 06:33:13 +00:00