Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Use hidden visibility to make symbols in an anonymous namespace get | Chris Lattner | 2006-06-28 | 1 | -2/+3 | |
| | | | | | | dropped. This shrinks libllvmgcc.dylib another 67K llvm-svn: 28975 | |||||
* | For PR780: | Reid Spencer | 2006-06-07 | 1 | -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 the | Reid Spencer | 2006-06-01 | 1 | -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 Lattner | 2006-03-09 | 1 | -22/+26 | |
| | | | | llvm-svn: 26670 | |||||
* | Fix a crash compiling Obsequi | Chris Lattner | 2006-03-04 | 1 | -5/+12 | |
| | | | | llvm-svn: 26529 | |||||
* | Be more conservative with our symbolic alias analysis. In particular, | Chris Lattner | 2006-03-04 | 1 | -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 Reference | Nate Begeman | 2006-01-14 | 1 | -1/+2 | |
| | | | | llvm-svn: 25309 | |||||
* | prevent cse of readcyclecounter | Andrew Lenharth | 2005-11-11 | 1 | -1/+0 | |
| | | | | llvm-svn: 24303 | |||||
* | continued readcyclecounter support | Andrew Lenharth | 2005-11-11 | 1 | -0/+1 | |
| | | | | llvm-svn: 24300 | |||||
* | floor/ceil don't read/write memory. This allows gcse to eliminate 6 calls | Chris Lattner | 2005-08-24 | 1 | -0/+2 | |
| | | | | | | in mesa. llvm-svn: 23015 | |||||
* | Remove glibc specific functions, and mark a couple as C99 | Andrew Lenharth | 2005-07-11 | 1 | -3/+1 | |
| | | | | llvm-svn: 22384 | |||||
* | because on alpha: | Andrew Lenharth | 2005-07-11 | 1 | -0/+1 | |
| | | | | | | | | # define errno (*__errno_location ()) *shakes head llvm-svn: 22383 | |||||
* | By definition, 'tail' calls cannot access the stack frame of their caller. | Chris Lattner | 2005-05-08 | 1 | -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 memory | Chris Lattner | 2005-05-06 | 1 | -1/+1 | |
| | | | | llvm-svn: 21718 | |||||
* | Add llvm.sqrt intrinsic, patch contributed by Morten Ofstad | Chris Lattner | 2005-04-30 | 1 | -1/+1 | |
| | | | | llvm-svn: 21627 | |||||
* | These functions can set errno! | Chris Lattner | 2005-04-28 | 1 | -2/+2 | |
| | | | | llvm-svn: 21609 | |||||
* | Remove trailing whitespace | Misha Brukman | 2005-04-21 | 1 | -35/+35 | |
| | | | | llvm-svn: 21416 | |||||
* | Fix Regression/Analysis/BasicAA/2005-03-09-BrokenBasicAA.ll, a miscompilation | Chris Lattner | 2005-03-09 | 1 | -2/+6 | |
| | | | | | | that Alkis found with Java, thanks Alkis! llvm-svn: 20531 | |||||
* | Add even more missing createXxxPass functions. | Jeff Cohen | 2005-01-08 | 1 | -0/+6 | |
| | | | | llvm-svn: 19402 | |||||
* | Fix a bug in -no-aa that caused two DSGraph tests to XPASS. | Chris Lattner | 2004-12-15 | 1 | -1/+2 | |
| | | | | llvm-svn: 18962 | |||||
* | Adjust to new alias analysis interfaces | Chris Lattner | 2004-12-15 | 1 | -38/+33 | |
| | | | | llvm-svn: 18957 | |||||
* | Add testcase and fix for yet another case where we query the size an | Alkis Evlogimenos | 2004-12-08 | 1 | -9/+11 | |
| | | | | | | abstract type. llvm-svn: 18678 | |||||
* | Add testcase and fix for another case where we query the size an | Alkis Evlogimenos | 2004-12-08 | 1 | -7/+12 | |
| | | | | | | abstract type. llvm-svn: 18676 | |||||
* | For PR387:\ | Reid Spencer | 2004-12-07 | 1 | -0/+3 | |
| | | | | | | Add getModRefInfo method to avoid overloaded virtuals llvm-svn: 18601 | |||||
* | Fix DeadStoreElimination/2004-11-28-LiveStoreDeleted.ll | Chris Lattner | 2004-11-28 | 1 | -3/+3 | |
| | | | | llvm-svn: 18308 | |||||
* | The trick with globals actually works with allocas and malloc too | Chris Lattner | 2004-11-26 | 1 | -12/+12 | |
| | | | | llvm-svn: 18262 | |||||
* | A store or load cannot alias a global if the accessed amount is larger then | Chris Lattner | 2004-11-26 | 1 | -20/+49 | |
| | | | | | | | | the global. This implements Regression/Analysis/BasicAA/global-size.ll llvm-svn: 18261 | |||||
* | Simplify conditional and fix LICM/2004-11-17-UndefIndexCrash.ll | Chris Lattner | 2004-11-17 | 1 | -2/+1 | |
| | | | | | | by saying what we mean llvm-svn: 17913 | |||||
* | Be more careful about looking for constants when we really want constantint's. | Chris Lattner | 2004-10-16 | 1 | -10/+8 | |
| | | | | llvm-svn: 17029 | |||||
* | Fixes to make LLVM compile with vc7.1. | Alkis Evlogimenos | 2004-09-03 | 1 | -0/+1 | |
| | | | | | | Patch contributed by Paolo Invernizzi! llvm-svn: 16152 | |||||
* | Merge i*.h headers into Instructions.h as part of bug403. | Alkis Evlogimenos | 2004-07-29 | 1 | -2/+1 | |
| | | | | llvm-svn: 15325 | |||||
* | Fix test/Regression/Analysis/BasicAA/2004-07-28-MustAliasbug.llx | Chris Lattner | 2004-07-29 | 1 | -5/+9 | |
| | | | | | | | This also fixes the miscompilation of MallocBench/gs with dead store elimination enabled. llvm-svn: 15324 | |||||
* | Make basicaa a bit more aggressive | Chris Lattner | 2004-07-27 | 1 | -0/+4 | |
| | | | | llvm-svn: 15252 | |||||
* | basic-aa can actually provide simple mod/ref info | Chris Lattner | 2004-07-27 | 1 | -3/+3 | |
| | | | | llvm-svn: 15251 | |||||
* | This was implemented back in march | Chris Lattner | 2004-07-27 | 1 | -7/+0 | |
| | | | | llvm-svn: 15250 | |||||
* | Do not ignore casts unless they are pointer-pointer casts. This caused us | Chris Lattner | 2004-07-21 | 1 | -4/+8 | |
| | | | | | | to miscompile the SingleSource/Regression/C++/pointer_member.cpp program. llvm-svn: 15062 | |||||
* | bug 122: | Reid Spencer | 2004-07-18 | 1 | -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 Lattner | 2004-07-14 | 1 | -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 Lattner | 2004-06-19 | 1 | -9/+8 | |
| | | | | | | This is a regression from 1.2, though noone uses -no-aa anyway llvm-svn: 14245 | |||||
* | isnan is dead | Chris Lattner | 2004-06-15 | 1 | -1/+1 | |
| | | | | llvm-svn: 14191 | |||||
* | llvm.isnan doesn't access memory | Chris Lattner | 2004-06-11 | 1 | -1/+1 | |
| | | | | llvm-svn: 14151 | |||||
* | Move the -no-aa AA implementation into this file since both of these | Chris Lattner | 2004-05-23 | 1 | -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 Lattner | 2004-04-12 | 1 | -3/+0 | |
| | | | | llvm-svn: 12859 | |||||
* | operator new & operator new[] do not kill any legal memory locations. | Chris Lattner | 2004-04-11 | 1 | -0/+3 | |
| | | | | llvm-svn: 12833 | |||||
* | Allow clients to be more efficient. | Chris Lattner | 2004-04-11 | 1 | -0/+4 | |
| | | | | llvm-svn: 12831 | |||||
* | Add a couple of more functions that cannot access memory (the intrinsics) and | Chris Lattner | 2004-04-10 | 1 | -0/+7 | |
| | | | | | | don't write to memory llvm-svn: 12808 | |||||
* | Support getelementptr instructions which use uint's to index into structure | Chris Lattner | 2004-04-05 | 1 | -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 the | Chris Lattner | 2004-03-16 | 1 | -2/+20 | |
| | | | | | | client has another VN implementation that can VN calls. llvm-svn: 12427 | |||||
* | Fix a minor bug, implementing GCSE/call_pure_function.ll | Chris Lattner | 2004-03-15 | 1 | -3/+6 | |
| | | | | | | Also, add some stuff I missed before. llvm-svn: 12417 | |||||
* | Teach basicaa about some stdc functions. | Chris Lattner | 2004-03-15 | 1 | -5/+100 | |
| | | | | llvm-svn: 12408 |