summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/BasicAliasAnalysis.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* eliminate use of TargetData::getIndexedOffset that takes a vectorChris Lattner2007-02-101-5/+11
| | | | llvm-svn: 34163
* Make classes in anonymous namespaces use VISIBILITY_HIDDEN to help reduceReid Spencer2007-02-051-1/+1
| | | | | | LLVM's footprint and speed up linking. llvm-svn: 33941
* For PR1136: Rename GlobalVariable::isExternal as isDeclaration to avoidReid Spencer2007-01-301-1/+1
| | | | | | confusion with external linkage types. llvm-svn: 33663
* fit to 80 cols.Chris Lattner2007-01-141-8/+6
| | | | | | | | | Remove now-extraneous checks for ptr->ptr bitcasts. Fix PR1109 and Analysis/BasicAA/2007-01-13-BasePointerBadNoAlias.ll. We need to consider arbitrary sized objects when checking for nested GEP offsets. llvm-svn: 33195
* GEP operands can't be boolsChris Lattner2007-01-121-6/+3
| | | | llvm-svn: 33125
* Implement review feedback for the ConstantBool->ConstantInt merge. ChrisReid Spencer2007-01-121-1/+1
| | | | | | | | recommended that getBoolValue be replaced with getZExtValue and that get(bool) be replaced by get(const Type*, uint64_t). This implements those changes. llvm-svn: 33110
* Rename BoolTy as Int1Ty. Patch by Sheng Zhou.Reid Spencer2007-01-111-4/+4
| | | | llvm-svn: 33076
* For PR1043:Zhou Sheng2007-01-111-6/+9
| | | | | | | Merge ConstantIntegral and ConstantBool into ConstantInt. Remove ConstantIntegral and ConstantBool from LLVM. llvm-svn: 33073
* For PR950:Reid Spencer2006-12-311-20/+12
| | | | | | | | | | | | | This patch replaces signed integer types with signless ones: 1. [US]Byte -> Int8 2. [U]Short -> Int16 3. [U]Int -> Int32 4. [U]Long -> Int64. 5. Removal of isSigned, isUnsigned, getSignedVersion, getUnsignedVersion and other methods related to signedness. In a few places this warranted identifying the signedness information from other sources. llvm-svn: 32785
* For PR950:Reid Spencer2006-12-231-1/+2
| | | | | | | | 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
* Replace inferred getCast(V,Ty) calls with more strict variants.Reid Spencer2006-12-121-4/+4
| | | | | | | Rename getZeroExtend and getSignExtend to getZExt and getSExt to match the the casting mnemonics in the rest of LLVM. llvm-svn: 32514
* Changed llvm_ostream et all to OStream. llvm_cerr, llvm_cout, llvm_null, areBill Wendling2006-12-071-2/+2
| | | | | | now cerr, cout, and NullStream resp. llvm-svn: 32298
* Convert to using llvm streams instead of iostreams.Bill Wendling2006-11-281-1/+1
| | | | llvm-svn: 31989
* For PR950:Reid Spencer2006-11-271-31/+45
| | | | | | | | | | 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
* remove redundant codeChris Lattner2006-11-131-2/+0
| | | | llvm-svn: 31697
* Fix BasicAA/2006-11-03-BasicAAVectorCrash.ll by handling out-of-rangeChris Lattner2006-11-031-8/+20
| | | | | | vector accesses like we handle out-of-range array accesses. llvm-svn: 31427
* For PR786:Reid Spencer2006-11-021-1/+1
| | | | | | | | | | Turn on -Wunused and -Wno-unused-parameter. Clean up most of the resulting fall out by removing unused variables. Remaining warnings have to do with unused functions (I didn't want to delete code without review) and unused variables in generated code. Maintainers should clean up the remaining issues when they see them. All changes pass DejaGnu tests and Olden. llvm-svn: 31380
* For PR950:Reid Spencer2006-10-201-8/+7
| | | | | | | | This patch implements the first increment for the Signless Types feature. All changes pertain to removing the ConstantSInt and ConstantUInt classes in favor of just using ConstantInt. llvm-svn: 31063
* Fix more static dtor issuesChris Lattner2006-10-041-14/+17
| | | | llvm-svn: 30725
* simplify AnalysisGroup registration, eliminating one typeid call.Chris Lattner2006-08-281-2/+2
| | | | llvm-svn: 29932
* eliminate RegisterOpt. It does the same thing as RegisterPass.Chris Lattner2006-08-271-2/+2
| | | | llvm-svn: 29925
* s|llvm/Support/Visibility.h|llvm/Support/Compiler.h|Chris Lattner2006-08-271-1/+1
| | | | llvm-svn: 29911
* 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
OpenPOWER on IntegriCloud