| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Reverting r107918 and r107919. Radar 8063111. | Stuart Hastings | 2010-07-08 | 1 | -8/+3 |
| | | | | | llvm-svn: 107930 | ||||
| * | Fix decl/def debug info for template functions. Radar 8063111. | Stuart Hastings | 2010-07-08 | 1 | -3/+8 |
| | | | | | llvm-svn: 107919 | ||||
| * | Minore code simplification. | Dan Gohman | 2010-07-07 | 1 | -17/+15 |
| | | | | | llvm-svn: 107777 | ||||
| * | Remove interprocedural-basic-aa and associated code. The AliasAnalysis | Dan Gohman | 2010-07-07 | 3 | -183/+58 |
| | | | | | | | | | | | | interface needs implementations to be consistent, so any code which wants to support different semantics must use a different interface. It's not currently worthwhile to add a new interface for this new concept. Document that AliasAnalysis doesn't support cross-function queries. llvm-svn: 107776 | ||||
| * | conditionalize by CallInst::ArgOffset | Gabor Greif | 2010-07-07 | 1 | -2/+2 |
| | | | | | llvm-svn: 107767 | ||||
| * | Add some more TODO comments. | Dan Gohman | 2010-07-06 | 1 | -0/+6 |
| | | | | | llvm-svn: 107657 | ||||
| * | Add a comment. | Dan Gohman | 2010-07-06 | 1 | -1/+2 |
| | | | | | llvm-svn: 107656 | ||||
| * | Remove context sensitivity concerns from interprocedural-basic-aa, and | Dan Gohman | 2010-07-01 | 1 | -35/+55 |
| | | | | | | | | make it more aggressive in cases where both pointers are known to live in the same function. llvm-svn: 107420 | ||||
| * | In ScalarEvolution::forgetValue, eliminate any SCEVUnknown | Dan Gohman | 2010-06-30 | 1 | -0/+20 |
| | | | | | | | | | | | | entries associated with the value being erased in the folding set map. These entries used to be harmless, because a SCEVUnknown doesn't store any information about its Value*, so having a new Value allocated at the old Value's address wasn't a problem. But now that ScalarEvolution is storing more information about values, this is no longer safe. llvm-svn: 107316 | ||||
| * | Revert the part of r107257 which introduced new logic for using | Dan Gohman | 2010-06-30 | 1 | -82/+11 |
| | | | | | | | | nsw and nuw flags from IR Instructions. On further consideration, this isn't valid. llvm-svn: 107298 | ||||
| * | Improve ScalarEvolution's nsw and nuw preservation. | Dan Gohman | 2010-06-30 | 1 | -31/+105 |
| | | | | | llvm-svn: 107257 | ||||
| * | When computing a new ConservativeResult, intersect it with | Dan Gohman | 2010-06-30 | 1 | -1/+2 |
| | | | | | | | the old one instead of replacing it, to be more precise. llvm-svn: 107256 | ||||
| * | Rework scev-aa's basic computation so that it doesn't depend | Dan Gohman | 2010-06-30 | 1 | -7/+31 |
| | | | | | | | | | on ScalarEvolution successfully folding and preserving range information for both A-B and B-A. Now, if it gets either one, it's sufficient. llvm-svn: 107249 | ||||
| * | Simplify. | Dan Gohman | 2010-06-30 | 1 | -2/+1 |
| | | | | | llvm-svn: 107248 | ||||
| * | Fix ScalarEvolution's tripcount computation for chains of loops | Dan Gohman | 2010-06-29 | 1 | -41/+61 |
| | | | | | | | | where each loop's induction variable's start value is the exit value of a preceding loop. llvm-svn: 107224 | ||||
| * | Fix whitespace style. | Dan Gohman | 2010-06-29 | 1 | -2/+2 |
| | | | | | llvm-svn: 107175 | ||||
| * | Remove a pointless variable. | Duncan Sands | 2010-06-29 | 1 | -5/+1 |
| | | | | | llvm-svn: 107128 | ||||
| * | Use a more obvious way to avoid compiling functions which are only used when ↵ | Benjamin Kramer | 2010-06-29 | 1 | -3/+2 |
| | | | | | | | XDEBUG is enabled. llvm-svn: 107125 | ||||
| * | Jump through some silly hoops to make GCC accept that a function may not always | Chandler Carruth | 2010-06-29 | 1 | -0/+3 |
| | | | | | | | be called. llvm-svn: 107124 | ||||
| * | Just as its not safe to blindly transfer the nsw bit from an add | Dan Gohman | 2010-06-29 | 1 | -5/+9 |
| | | | | | | | | | instruction to an add scev, it's not safe to blindly transfer the inbounds flag from a gep instruction to an nsw on the scev for the gep. llvm-svn: 107117 | ||||
| * | Add an Intraprocedural form of BasicAliasAnalysis, which aims to | Dan Gohman | 2010-06-29 | 2 | -34/+120 |
| | | | | | | | | properly handles instructions and arguments defined in different functions, or across recursive function iterations. llvm-svn: 107109 | ||||
| * | Fix Value::stripPointerCasts and BasicAA to avoid trouble on | Dan Gohman | 2010-06-28 | 1 | -9/+29 |
| | | | | | | | | code in unreachable blocks, which have have use-def cycles. This fixes PR7514. llvm-svn: 107071 | ||||
| * | Generalize AAEval so that it can be used both per-function and | Dan Gohman | 2010-06-28 | 1 | -38/+97 |
| | | | | | | | | interprocedurally. Note that as of this writing, existing alias analysis passes are not prepared to be used interprocedurally. llvm-svn: 107013 | ||||
| * | Use named MDNode, llvm.dbg.sp, to collect subprogram info. This will be used ↵ | Devang Patel | 2010-06-28 | 1 | -11/+23 |
| | | | | | | | to emit local variable's debug info of deleted functions. llvm-svn: 106989 | ||||
| * | Do not forget last element, function, while creating Subprogram definition ↵ | Devang Patel | 2010-06-27 | 1 | -1/+2 |
| | | | | | | | MDNode from subprogram declare MDNode. llvm-svn: 106985 | ||||
| * | Eliminate a redundant FoldingSet lookup. | Dan Gohman | 2010-06-25 | 1 | -3/+3 |
| | | | | | llvm-svn: 106872 | ||||
| * | Don't try to preserve pointer types in SCEVConstants; the old code | Dan Gohman | 2010-06-24 | 1 | -12/+8 |
| | | | | | | | was over-complicated. llvm-svn: 106760 | ||||
| * | Make the trunc code consistent with the zext and sext code in its | Dan Gohman | 2010-06-24 | 1 | -1/+2 |
| | | | | | | | handling of pointer types. llvm-svn: 106757 | ||||
| * | use ArgOperand accessors | Gabor Greif | 2010-06-23 | 2 | -13/+13 |
| | | | | | llvm-svn: 106697 | ||||
| * | use the new isFreeCall API and ArgOperand accessors | Gabor Greif | 2010-06-23 | 1 | -12/+13 |
| | | | | | llvm-svn: 106692 | ||||
| * | minor enhancement to llvm::isFreeCall API: return CallInst; no functional change | Gabor Greif | 2010-06-23 | 1 | -8/+8 |
| | | | | | llvm-svn: 106686 | ||||
| * | use ArgOperand getters | Gabor Greif | 2010-06-23 | 1 | -3/+3 |
| | | | | | llvm-svn: 106685 | ||||
| * | Replace ScalarEvolution's private copy of getLoopPredecessor | Dan Gohman | 2010-06-22 | 1 | -19/+2 |
| | | | | | | | with LoopInfo's public copy. llvm-svn: 106603 | ||||
| * | Use pre-increment instead of post-increment when the result is not used. | Dan Gohman | 2010-06-22 | 1 | -2/+2 |
| | | | | | llvm-svn: 106542 | ||||
| * | Allow "exhaustive" trip count evaluation on phi nodes with all | Dan Gohman | 2010-06-22 | 1 | -9/+7 |
| | | | | | | | constant operands. llvm-svn: 106537 | ||||
| * | Use single interface, using twine, to get named metadata. | Devang Patel | 2010-06-22 | 1 | -2/+1 |
| | | | | | | | getNamedMetadata(). llvm-svn: 106518 | ||||
| * | Do not rely on Twine temporaries to survive. | Devang Patel | 2010-06-22 | 1 | -4/+4 |
| | | | | | llvm-svn: 106515 | ||||
| * | Use A.append(...) instead of A.insert(A.end(), ...) when A is a | Dan Gohman | 2010-06-21 | 2 | -11/+10 |
| | | | | | | | SmallVector, and other SmallVector simplifications. llvm-svn: 106452 | ||||
| * | Do not directly use function names to construct new name for named metadata. | Devang Patel | 2010-06-21 | 1 | -1/+8 |
| | | | | | | | "llvm.dbg.lv.~A" is not a valid name. llvm-svn: 106438 | ||||
| * | Restore a call to rememberInstruction which was accidentally dropped | Dan Gohman | 2010-06-19 | 1 | -0/+1 |
| | | | | | | | in refactoring. llvm-svn: 106398 | ||||
| * | Fix ScalarEvolution's "exhaustive" trip count evaluation code to avoid | Dan Gohman | 2010-06-19 | 1 | -2/+5 |
| | | | | | | | | | assuming that loops are in canonical form, as ScalarEvolution doesn't depend on LoopSimplify itself. Also, with indirectbr not all loops can be simplified. This fixes PR7416. llvm-svn: 106389 | ||||
| * | Factor out duplicated code for reusing and inserting casts into | Dan Gohman | 2010-06-19 | 1 | -54/+46 |
| | | | | | | | a helper function. llvm-svn: 106388 | ||||
| * | Revert r106304 (105548 and friends), which are the SCEVComplexityCompare | Dan Gohman | 2010-06-18 | 1 | -38/+138 |
| | | | | | | | optimizations. There is still some nondeterminism remaining. llvm-svn: 106306 | ||||
| * | Reapply 105540, 105542, and 105548, and revert r105732. | Dan Gohman | 2010-06-18 | 1 | -138/+38 |
| | | | | | llvm-svn: 106304 | ||||
| * | Reapply 105546. | Dan Gohman | 2010-06-18 | 1 | -7/+13 |
| | | | | | llvm-svn: 106302 | ||||
| * | Reapply 105544. | Dan Gohman | 2010-06-18 | 1 | -2/+2 |
| | | | | | llvm-svn: 106301 | ||||
| * | Remove getIntegerSCEV; it's redundant with getConstant, and getConstant | Dan Gohman | 2010-06-18 | 1 | -7/+0 |
| | | | | | | | is more consistent with the ConstantInt API. llvm-svn: 106281 | ||||
| * | Eliminate unnecessary uses of getZExtValue(). | Dan Gohman | 2010-06-18 | 1 | -1/+1 |
| | | | | | llvm-svn: 106279 | ||||
| * | Fix a typo in a comment. | Dan Gohman | 2010-06-18 | 1 | -1/+1 |
| | | | | | llvm-svn: 106260 | ||||
| * | Simplify this code. | Dan Gohman | 2010-06-17 | 1 | -11/+3 |
| | | | | | llvm-svn: 106254 | ||||

