Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fix a minor bug which resulted in intermediate calculations | Dan Gohman | 2010-08-04 | 1 | -1/+1 | |
| | | | | | | using wider types than are necessary. llvm-svn: 110241 | |||||
* | Add a missing function. | Torok Edwin | 2010-08-04 | 1 | -0/+49 | |
| | | | | llvm-svn: 110195 | |||||
* | Remove PointerAccessInfo, which nothing was using. | Dan Gohman | 2010-08-03 | 2 | -12/+8 | |
| | | | | llvm-svn: 110167 | |||||
* | Thread const correctness through a bunch of AliasAnalysis interfaces and | Dan Gohman | 2010-08-03 | 8 | -62/+82 | |
| | | | | | | | | | | | | eliminate several const_casts. Make CallSite implicitly convertible to ImmutableCallSite. Rename the getModRefBehavior for intrinsic IDs to getIntrinsicModRefBehavior to avoid overload ambiguity with CallSite, which happens to be implicitly convertible to bool. llvm-svn: 110155 | |||||
* | The singular of "indices" is "index". | Dan Gohman | 2010-08-03 | 1 | -3/+3 | |
| | | | | llvm-svn: 110135 | |||||
* | Delete an unused function. | Dan Gohman | 2010-08-03 | 1 | -5/+0 | |
| | | | | llvm-svn: 110134 | |||||
* | Make AliasAnalysis::getModRefInfo conservative in the face of volatility. | Dan Gohman | 2010-08-03 | 1 | -3/+20 | |
| | | | | llvm-svn: 110120 | |||||
* | Fix a typo Devang noticed. | Dan Gohman | 2010-08-03 | 1 | -1/+1 | |
| | | | | llvm-svn: 110115 | |||||
* | Fix CMake build | Michael J. Spencer | 2010-08-03 | 1 | -0/+1 | |
| | | | | llvm-svn: 110097 | |||||
* | Introduce a symbolic constant for ~0u for use with AliasAnalysis. | Dan Gohman | 2010-08-03 | 2 | -9/+10 | |
| | | | | llvm-svn: 110091 | |||||
* | Add a convenient form of AliasAnalysis::alias for the case where the sizes | Dan Gohman | 2010-08-03 | 2 | -6/+3 | |
| | | | | | | are unknown. llvm-svn: 110090 | |||||
* | Make SCEVUnknown a CallbackVH, so that it can be notified directly | Dan Gohman | 2010-08-02 | 1 | -47/+46 | |
| | | | | | | | | | | | of Value deletions and RAUWs, instead of relying on ScalarEvolution's Scalars map being notified, as that's complicated at best, and insufficient in general. This means SCEVUnknown needs a non-trivial destructor, so introduce a mechanism to allow ScalarEvolution to locate all the SCEVUnknowns. llvm-svn: 110086 | |||||
* | Sketch up a preliminary Type-Based Alias Analysis implementation. | Dan Gohman | 2010-08-02 | 1 | -0/+191 | |
| | | | | llvm-svn: 110077 | |||||
* | Add a lint check for indirectbr with no successors. | Dan Gohman | 2010-08-02 | 1 | -0/+3 | |
| | | | | llvm-svn: 110074 | |||||
* | Add explicit constructors. Patch by Renato Golin. | Devang Patel | 2010-08-02 | 1 | -0/+15 | |
| | | | | llvm-svn: 110072 | |||||
* | Fix namespace polution. | Dan Gohman | 2010-08-02 | 2 | -2/+6 | |
| | | | | llvm-svn: 110056 | |||||
* | Prefix `next' iterator operation with `llvm::'. | Oscar Fuentes | 2010-08-02 | 1 | -2/+2 | |
| | | | | | | | | Fixes potential ambiguity problems on VS 2010. Patch by nobled! llvm-svn: 110029 | |||||
* | Add an initial implementation of PHI translation for LazyValueInfo. This ↵ | Owen Anderson | 2010-07-30 | 1 | -35/+72 | |
| | | | | | | | | involves rolling back some of my earlier data structure improvements until I can ensure that there are no iterator invalidation problems. llvm-svn: 109935 | |||||
* | Revert my last two patches to LVI, which recent changes have exposed a ↵ | Owen Anderson | 2010-07-30 | 1 | -56/+94 | |
| | | | | | | miscompilation in. llvm-svn: 109889 | |||||
* | Speculatively revert r109705 since it seems to be causing some build bot | Eric Christopher | 2010-07-29 | 1 | -45/+29 | |
| | | | | | | angst. llvm-svn: 109718 | |||||
* | Factor out some of the code for updating old SCEVUnknown values, and | Dan Gohman | 2010-07-29 | 1 | -29/+45 | |
| | | | | | | | | | extend it to handle the case where multiple RAUWs affect a single SCEVUnknown. Add a ScalarEvolution unittest to test for this situation. llvm-svn: 109705 | |||||
* | Pass the queried value by argument rather than in a member, in preparation ↵ | Owen Anderson | 2010-07-28 | 1 | -36/+25 | |
| | | | | | | for supporting PHI translation. llvm-svn: 109701 | |||||
* | Get rid of LVIQuery as a distinct data structure, so that we don't have to ↵ | Owen Anderson | 2010-07-28 | 1 | -93/+66 | |
| | | | | | | initialize a new set of maps on every query. llvm-svn: 109679 | |||||
* | RegionInfo: Make sure to free cached nodes; Tobias, please check! | Daniel Dunbar | 2010-07-28 | 1 | -0/+5 | |
| | | | | llvm-svn: 109650 | |||||
* | simplify | Gabor Greif | 2010-07-28 | 1 | -4/+2 | |
| | | | | llvm-svn: 109585 | |||||
* | use Value* constructor of CallSite to create potentially improper site, and ↵ | Gabor Greif | 2010-07-28 | 1 | -3/+3 | |
| | | | | | | test that llvm-svn: 109580 | |||||
* | use Value* constructor of CallSite to create potentially improper site | Gabor Greif | 2010-07-28 | 1 | -2/+2 | |
| | | | | llvm-svn: 109579 | |||||
* | simplify | Gabor Greif | 2010-07-28 | 1 | -1/+1 | |
| | | | | llvm-svn: 109578 | |||||
* | simplify | Gabor Greif | 2010-07-28 | 1 | -2/+1 | |
| | | | | llvm-svn: 109577 | |||||
* | Make SCEVCallbackVH::allUsesReplacedWith update the old SCEVUnknown | Dan Gohman | 2010-07-28 | 1 | -22/+39 | |
| | | | | | | | | | | | | object, as it may still be referenced by SCEVs not cleaned up by the use list traversal. Also, in ScalarEvolution::forgetValue, only check for a SCEVUnknown object for the original value, not for any value in the use list, because other SCEVUnknown values aren't necessary obsolete at that point. llvm-svn: 109570 | |||||
* | Make SCEVCallbackVH::allUsesReplacedWith unconditionally delete | Dan Gohman | 2010-07-28 | 1 | -12/+6 | |
| | | | | | | the old value. llvm-svn: 109567 | |||||
* | Rearrange several datastructures in LazyValueInfo to improve compile time. | Owen Anderson | 2010-07-27 | 1 | -69/+35 | |
| | | | | | | This is still not perfect, but better than it was before. llvm-svn: 109563 | |||||
* | reintroduce original (asserting) semantics of CallSite(Instruction *II) | Gabor Greif | 2010-07-27 | 1 | -1/+1 | |
| | | | | | | | add instead a CallSite(Value* V) constructor that is consistent with ImmutableCallSize and use that one in client code llvm-svn: 109553 | |||||
* | recommit simplification (originally r109504, backed out in r109508) now that ↵ | Gabor Greif | 2010-07-27 | 1 | -3/+2 | |
| | | | | | | problem in CallSiteBase is fixed llvm-svn: 109547 | |||||
* | back out r109504, breaks the bots | Gabor Greif | 2010-07-27 | 1 | -2/+3 | |
| | | | | llvm-svn: 109508 | |||||
* | simplify | Gabor Greif | 2010-07-27 | 1 | -3/+2 | |
| | | | | llvm-svn: 109504 | |||||
* | use ImmutableCallSite for const-corrgoodness | Gabor Greif | 2010-07-27 | 1 | -4/+4 | |
| | | | | llvm-svn: 109503 | |||||
* | RegionInfo: Add getMaxRegionExit() | Tobias Grosser | 2010-07-27 | 1 | -0/+39 | |
| | | | | | | | getMaxRegionExit returns the exit of the maximal refined region starting at a specific basic block. llvm-svn: 109496 | |||||
* | Add function to query RegionInfo about loops. | Tobias Grosser | 2010-07-27 | 1 | -0/+65 | |
| | | | | | | | * contains(Loop), * getOutermostLoop() * Improve getNameStr() to return a sensible name, if basic blocks are not named. llvm-svn: 109490 | |||||
* | Add an initial implementation of LazyValueInfo updating for JumpThreading. ↵ | Owen Anderson | 2010-07-26 | 1 | -4/+89 | |
| | | | | | | Disabled for now. llvm-svn: 109424 | |||||
* | Fix SCEVExpander::visitAddRecExpr so that it remembers the induction variable | Dan Gohman | 2010-07-26 | 1 | -24/+21 | |
| | | | | | | | | it inserted rather than using LoopInfo::getCanonicalInductionVariable to rediscover it, since that doesn't work on non-canonical loops. This fixes infinite recurrsion on such loops; PR7562. llvm-svn: 109419 | |||||
* | Use DominatorTree::properlyDominates instead of dominates with an | Dan Gohman | 2010-07-26 | 1 | -1/+1 | |
| | | | | | | explicit inequality check. llvm-svn: 109398 | |||||
* | Eliminate getCanonicalInductionVariableIncrement's last user and | Dan Gohman | 2010-07-23 | 1 | -17/+5 | |
| | | | | | | eliminate it. llvm-svn: 109270 | |||||
* | Simplify this code; it can use the regular CFG utlities rather than | Dan Gohman | 2010-07-23 | 1 | -13/+7 | |
| | | | | | | the BlockTraits abstractions. llvm-svn: 109268 | |||||
* | Micro-optimize SCEVComplexityCompare. | Dan Gohman | 2010-07-23 | 1 | -34/+44 | |
| | | | | llvm-svn: 109267 | |||||
* | Add a const qualifier. | Dan Gohman | 2010-07-23 | 1 | -2/+2 | |
| | | | | llvm-svn: 109266 | |||||
* | use cascading operator-> feature | Gabor Greif | 2010-07-22 | 1 | -1/+1 | |
| | | | | llvm-svn: 109104 | |||||
* | mass elimination of reliance on automatic iterator dereferencing | Gabor Greif | 2010-07-22 | 1 | -1/+1 | |
| | | | | llvm-svn: 109103 | |||||
* | use -> instead of (*). | Gabor Greif | 2010-07-22 | 1 | -2/+2 | |
| | | | | llvm-svn: 109094 | |||||
* | cache dereferenced iterator | Gabor Greif | 2010-07-22 | 1 | -3/+4 | |
| | | | | llvm-svn: 109093 |