summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/BasicAliasAnalysis.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Use hidden visibility to make symbols in an anonymous namespace getChris Lattner2006-06-281-2/+3
| | | | | | dropped. This shrinks libllvmgcc.dylib another 67K llvm-svn: 28975
* For PR780:Reid Spencer2006-06-071-3/+3
| | | | | | | | | | 1. Fix the macros in IncludeFile.h to put everything in the llvm namespace 2. Replace the previous explicit mechanism in all the .h and .cpp files with the macros in IncludeFile.h This gets us a consistent mechanism throughout LLVM for ensuring linkage. Next step is to make sure its used in enough places. llvm-svn: 28715
* Change from using a stub function to a stub variable for passing to theReid Spencer2006-06-011-1/+1
| | | | | | | IncludeFile hack to ensure linkage of analysis passes. This works around some -pedantic warnings about assigning an object to a function. llvm-svn: 28621
* Use autogenerated mod/ref info for intrinsics.Chris Lattner2006-03-091-22/+26
| | | | llvm-svn: 26670
* Fix a crash compiling ObsequiChris Lattner2006-03-041-5/+12
| | | | llvm-svn: 26529
* Be more conservative with our symbolic alias analysis. In particular,Chris Lattner2006-03-041-6/+35
| | | | | | | | | | don't assume that A[1][0] and A[0][i] can't alias. "i" might be out of range, or even negative. This fixes a miscompilation of 188.ammp (which does bad pointer tricks) with the new CFE. Testcase here: Analysis/BasicAA/2006-03-03-BadArraySubscript.ll llvm-svn: 26515
* Add bswap intrinsics as documented in the Language ReferenceNate Begeman2006-01-141-1/+2
| | | | llvm-svn: 25309
* prevent cse of readcyclecounterAndrew Lenharth2005-11-111-1/+0
| | | | llvm-svn: 24303
* continued readcyclecounter supportAndrew Lenharth2005-11-111-0/+1
| | | | llvm-svn: 24300
* floor/ceil don't read/write memory. This allows gcse to eliminate 6 callsChris Lattner2005-08-241-0/+2
| | | | | | in mesa. llvm-svn: 23015
* Remove glibc specific functions, and mark a couple as C99Andrew Lenharth2005-07-111-3/+1
| | | | llvm-svn: 22384
* because on alpha:Andrew Lenharth2005-07-111-0/+1
| | | | | | | | # define errno (*__errno_location ()) *shakes head llvm-svn: 22383
* By definition, 'tail' calls cannot access the stack frame of their caller.Chris Lattner2005-05-081-0/+6
| | | | | | | Expose this as a simple form of mod/ref information. This implements BasicAA/tailcall-modref.ll llvm-svn: 21796
* These intrinsics do not access memoryChris Lattner2005-05-061-1/+1
| | | | llvm-svn: 21718
* Add llvm.sqrt intrinsic, patch contributed by Morten OfstadChris Lattner2005-04-301-1/+1
| | | | llvm-svn: 21627
* These functions can set errno!Chris Lattner2005-04-281-2/+2
| | | | llvm-svn: 21609
* Remove trailing whitespaceMisha Brukman2005-04-211-35/+35
| | | | llvm-svn: 21416
* Fix Regression/Analysis/BasicAA/2005-03-09-BrokenBasicAA.ll, a miscompilationChris Lattner2005-03-091-2/+6
| | | | | | that Alkis found with Java, thanks Alkis! llvm-svn: 20531
* Add even more missing createXxxPass functions.Jeff Cohen2005-01-081-0/+6
| | | | llvm-svn: 19402
* Fix a bug in -no-aa that caused two DSGraph tests to XPASS.Chris Lattner2004-12-151-1/+2
| | | | llvm-svn: 18962
* Adjust to new alias analysis interfacesChris Lattner2004-12-151-38/+33
| | | | llvm-svn: 18957
* Add testcase and fix for yet another case where we query the size anAlkis Evlogimenos2004-12-081-9/+11
| | | | | | abstract type. llvm-svn: 18678
* Add testcase and fix for another case where we query the size anAlkis Evlogimenos2004-12-081-7/+12
| | | | | | abstract type. llvm-svn: 18676
* For PR387:\Reid Spencer2004-12-071-0/+3
| | | | | | Add getModRefInfo method to avoid overloaded virtuals llvm-svn: 18601
* Fix DeadStoreElimination/2004-11-28-LiveStoreDeleted.llChris Lattner2004-11-281-3/+3
| | | | llvm-svn: 18308
* The trick with globals actually works with allocas and malloc tooChris Lattner2004-11-261-12/+12
| | | | llvm-svn: 18262
* A store or load cannot alias a global if the accessed amount is larger thenChris Lattner2004-11-261-20/+49
| | | | | | | | the global. This implements Regression/Analysis/BasicAA/global-size.ll llvm-svn: 18261
* Simplify conditional and fix LICM/2004-11-17-UndefIndexCrash.llChris Lattner2004-11-171-2/+1
| | | | | | by saying what we mean llvm-svn: 17913
* Be more careful about looking for constants when we really want constantint's.Chris Lattner2004-10-161-10/+8
| | | | llvm-svn: 17029
* Fixes to make LLVM compile with vc7.1.Alkis Evlogimenos2004-09-031-0/+1
| | | | | | Patch contributed by Paolo Invernizzi! llvm-svn: 16152
* Merge i*.h headers into Instructions.h as part of bug403.Alkis Evlogimenos2004-07-291-2/+1
| | | | llvm-svn: 15325
* Fix test/Regression/Analysis/BasicAA/2004-07-28-MustAliasbug.llxChris Lattner2004-07-291-5/+9
| | | | | | | This also fixes the miscompilation of MallocBench/gs with dead store elimination enabled. llvm-svn: 15324
* Make basicaa a bit more aggressiveChris Lattner2004-07-271-0/+4
| | | | llvm-svn: 15252
* basic-aa can actually provide simple mod/ref infoChris Lattner2004-07-271-3/+3
| | | | llvm-svn: 15251
* This was implemented back in marchChris Lattner2004-07-271-7/+0
| | | | llvm-svn: 15250
* Do not ignore casts unless they are pointer-pointer casts. This caused usChris Lattner2004-07-211-4/+8
| | | | | | to miscompile the SingleSource/Regression/C++/pointer_member.cpp program. llvm-svn: 15062
* bug 122:Reid Spencer2004-07-181-12/+6
| | | | | | | | - Replace ConstantPointerRef usage with GlobalValue usage - Minimize redundant isa<GlobalValue> usage - Correct isa<Constant> for GlobalValue subclass llvm-svn: 14942
* Simplify logic.Chris Lattner2004-07-141-2/+2
| | | | llvm-svn: 14825
* Fix a tiny bug in the -no-aa pass, in which it did not ever get a target data.Chris Lattner2004-06-191-9/+8
| | | | | | This is a regression from 1.2, though noone uses -no-aa anyway llvm-svn: 14245
* isnan is deadChris Lattner2004-06-151-1/+1
| | | | llvm-svn: 14191
* llvm.isnan doesn't access memoryChris Lattner2004-06-111-1/+1
| | | | llvm-svn: 14151
* Move the -no-aa AA implementation into this file since both of theseChris Lattner2004-05-231-8/+46
| | | | | | | alias analysis implementations are special: they do not autoforward to a chained implementation of alias analysis llvm-svn: 13683
* Hrm, operator new and new[] do not belong here. We should not CSE them! :)Chris Lattner2004-04-121-3/+0
| | | | llvm-svn: 12859
* operator new & operator new[] do not kill any legal memory locations.Chris Lattner2004-04-111-0/+3
| | | | llvm-svn: 12833
* Allow clients to be more efficient.Chris Lattner2004-04-111-0/+4
| | | | llvm-svn: 12831
* Add a couple of more functions that cannot access memory (the intrinsics) andChris Lattner2004-04-101-0/+7
| | | | | | don't write to memory llvm-svn: 12808
* Support getelementptr instructions which use uint's to index into structureChris Lattner2004-04-051-14/+35
| | | | | | | types and can have arbitrary 32- and 64-bit integer types indexing into sequential types. llvm-svn: 12653
* Add some missing functions. Make sure to handle calls together in case theChris Lattner2004-03-161-2/+20
| | | | | | client has another VN implementation that can VN calls. llvm-svn: 12427
* Fix a minor bug, implementing GCSE/call_pure_function.llChris Lattner2004-03-151-3/+6
| | | | | | Also, add some stuff I missed before. llvm-svn: 12417
* Teach basicaa about some stdc functions.Chris Lattner2004-03-151-5/+100
| | | | llvm-svn: 12408
OpenPOWER on IntegriCloud