Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | API changes for class Use size reduction, wave 1. | Gabor Greif | 2008-04-06 | 1 | -10/+10 |
| | | | | | | | | Specifically, introduction of XXX::Create methods for Users that have a potentially variable number of Uses. llvm-svn: 49277 | ||||
* | Update the block cloner which fixes bugpoint on code using unwind_to (phew!) | Nick Lewycky | 2008-03-09 | 1 | -3/+7 |
| | | | | | | and also update the cloning interface's major user, the loop optimizations. llvm-svn: 48088 | ||||
* | Remove attribution from file headers, per discussion on llvmdev. | Chris Lattner | 2007-12-29 | 1 | -2/+2 |
| | | | | llvm-svn: 45418 | ||||
* | Get rid of annoying spaces. | David Greene | 2007-12-17 | 1 | -1/+1 |
| | | | | llvm-svn: 45100 | ||||
* | Make LoopInfoBase more generic, in preparation for having MachineLoopInfo. ↵ | Owen Anderson | 2007-11-27 | 1 | -3/+3 |
| | | | | | | This involves a small interface change. llvm-svn: 44348 | ||||
* | Do not walk invalid iterator. | Devang Patel | 2007-10-09 | 1 | -2/+2 |
| | | | | llvm-svn: 42812 | ||||
* | Fix bug in updating dominance frontier after loop | Devang Patel | 2007-10-05 | 1 | -27/+117 |
| | | | | | | | unswitch when frontier includes basic blocks that are not inside loop. llvm-svn: 42654 | ||||
* | Fix 80 col violation. | Devang Patel | 2007-10-03 | 1 | -3/+3 |
| | | | | llvm-svn: 42591 | ||||
* | Refactor code in a separate method. | Devang Patel | 2007-10-03 | 1 | -33/+46 |
| | | | | llvm-svn: 42590 | ||||
* | Update aux. info associated with an instruction before erasing instruction. | Devang Patel | 2007-09-20 | 1 | -12/+12 |
| | | | | llvm-svn: 42180 | ||||
* | Use SmallVector instead of std::vector. | Devang Patel | 2007-08-21 | 1 | -1/+1 |
| | | | | llvm-svn: 41207 | ||||
* | Fix GLIBCXX_DEBUG error triggered by incrementing erased iterator. | David Greene | 2007-08-07 | 1 | -4/+4 |
| | | | | llvm-svn: 40897 | ||||
* | wrap some long lines. Major offenders that are left include | Chris Lattner | 2007-08-02 | 1 | -2/+4 |
| | | | | | | | | gvn, gvnpre, dse, and predsimplify. To see these, use: make check-line-length llvm-svn: 40738 | ||||
* | Update dominator info for the middle blocks created while spliting | Devang Patel | 2007-08-02 | 1 | -21/+77 |
| | | | | | | | | exit edge to preserve LCSSA. Fix dominance frontier update during loop unswitch. This fixes PR 1589, again llvm-svn: 40737 | ||||
* | Undo previous check-in. | Devang Patel | 2007-08-01 | 1 | -76/+21 |
| | | | | llvm-svn: 40698 | ||||
* | Update dominator info for the middle blocks created while spliting | Devang Patel | 2007-08-01 | 1 | -21/+76 |
| | | | | | | | | exit edge to preserve LCSSA. Fix dominance frontier update during loop unswitch. This fixes PR 1589. llvm-svn: 40695 | ||||
* | More explicit keywords. | Dan Gohman | 2007-08-01 | 1 | -1/+1 |
| | | | | llvm-svn: 40673 | ||||
* | Loop unswitch preserves dom info. | Devang Patel | 2007-07-31 | 1 | -18/+33 |
| | | | | | | Use simple analysis interface to preserve analysis info maintained by other loop passes. llvm-svn: 40627 | ||||
* | If loop can be unswitched again, then do it yourself. | Devang Patel | 2007-07-30 | 1 | -5/+19 |
| | | | | llvm-svn: 40609 | ||||
* | Remove dead code. | Devang Patel | 2007-07-30 | 1 | -19/+13 |
| | | | | llvm-svn: 40606 | ||||
* | VStudio compiler errors and placing Function*->ExFunc map under ↵ | Chuck Rose III | 2007-07-27 | 1 | -3/+3 |
| | | | | | | | | | | | | | ManagedStatic control. This commit fixes two things. One is a pair of VStudio compiler errors stemming from variables which defined within the for loop statement and also within the body of the for loop. I fixed these by renaming one of the two variables. Additionally, I've made the Function*->ExFunc map in ExternalFunctions.cpp a ManagedStatic object, so that cleanup will be done on llvm_shutdown. In repeated uses of the interpreter, where the same Function* address may get used for completely differnet functions, this was causing a crash. llvm-svn: 40558 | ||||
* | Fix typo. | Devang Patel | 2007-07-18 | 1 | -2/+2 |
| | | | | llvm-svn: 40025 | ||||
* | Fix dominator info update to accommodate CFG changes. | Devang Patel | 2007-07-18 | 1 | -17/+65 |
| | | | | | | This fixes PR1559. llvm-svn: 40024 | ||||
* | Disable claims to preserve analysis until open issues are resolved. | Devang Patel | 2007-07-13 | 1 | -3/+0 |
| | | | | llvm-svn: 39834 | ||||
* | These rountines are now available as part of basic block utilities. | Devang Patel | 2007-07-06 | 1 | -66/+5 |
| | | | | llvm-svn: 37955 | ||||
* | Preserve DominanceFrontier. | Devang Patel | 2007-06-29 | 1 | -5/+29 |
| | | | | llvm-svn: 37820 | ||||
* | Do not filter loop if candidate branch is in loop header. | Devang Patel | 2007-06-29 | 1 | -2/+0 |
| | | | | llvm-svn: 37792 | ||||
* | - Undo previous check and allow loop switch for condtion that is not inside | Devang Patel | 2007-06-28 | 1 | -8/+7 |
| | | | | | | | | loop. - Avoid loop unswich for loop header branch. - While cloning dominators fix typo and handle self dominating blocks. llvm-svn: 37772 | ||||
* | Update LoopUnswitch pass to preserve DomiantorTree. | Devang Patel | 2007-06-28 | 1 | -32/+55 |
| | | | | llvm-svn: 37771 | ||||
* | If a condition is not inside a loop then the condition is suitable | Devang Patel | 2007-06-28 | 1 | -0/+7 |
| | | | | | | to loop unswitch candidate for the loop. llvm-svn: 37770 | ||||
* | Avoid non-trivial loop unswitching while optimizing for size. | Devang Patel | 2007-06-06 | 1 | -3/+12 |
| | | | | llvm-svn: 37446 | ||||
* | Fix PR1333 | Devang Patel | 2007-05-09 | 1 | -5/+25 |
| | | | | | | | | Testcases : http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070507/049451.html http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070507/049452.html llvm-svn: 36955 | ||||
* | Drop 'const' | Devang Patel | 2007-05-03 | 1 | -2/+2 |
| | | | | llvm-svn: 36662 | ||||
* | Use 'static const char' instead of 'static const int'. | Devang Patel | 2007-05-02 | 1 | -2/+2 |
| | | | | | | | Due to darwin gcc bug, one version of darwin linker coalesces static const int, which defauts PassID based pass identification. llvm-svn: 36652 | ||||
* | Do not use typeinfo to identify pass in pass manager. | Devang Patel | 2007-05-01 | 1 | -0/+4 |
| | | | | llvm-svn: 36632 | ||||
* | Now LoopUnswitch is a LoopPass. | Devang Patel | 2007-03-07 | 1 | -86/+17 |
| | | | | llvm-svn: 34992 | ||||
* | Use more efficient test for one value in a ConstantInt. | Reid Spencer | 2007-03-02 | 1 | -2/+2 |
| | | | | llvm-svn: 34859 | ||||
* | Use efficient container SmallPtrSet | Devang Patel | 2007-02-26 | 1 | -3/+4 |
| | | | | llvm-svn: 34640 | ||||
* | Do not unswitch loop on same value again and again. | Devang Patel | 2007-02-26 | 1 | -0/+7 |
| | | | | llvm-svn: 34638 | ||||
* | Apply the VISIBILITY_HIDDEN field to the remaining anonymous classes in | Reid Spencer | 2007-02-05 | 1 | -2/+3 |
| | | | | | | | the Transforms library. This reduces debug library size by 132 KB, debug binary size by 376 KB, and reduces link time for llvm tools slightly. llvm-svn: 33939 | ||||
* | Switch inliner over to use DenseMap instead of std::map for ValueMap. This | Chris Lattner | 2007-02-03 | 1 | -5/+5 |
| | | | | | | speeds up the inliner 16%. llvm-svn: 33801 | ||||
* | Adjust #includes to match movement of constant folding code from ↵ | Chris Lattner | 2007-01-30 | 1 | -0/+1 |
| | | | | | | transformutils to libanalysis. llvm-svn: 33680 | ||||
* | For PR1043: | Reid Spencer | 2007-01-19 | 1 | -1/+2 |
| | | | | | | | | | | | | | | This is the final patch for this PR. It implements some minor cleanup in the use of IntegerType, to wit: 1. Type::getIntegerTypeMask -> IntegerType::getBitMask 2. Type::Int*Ty changed to IntegerType* from Type* 3. ConstantInt::getType() returns IntegerType* now, not Type* This also fixes PR1120. Patch by Sheng Zhou. llvm-svn: 33370 | ||||
* | fix a bug in a recent patch | Chris Lattner | 2007-01-13 | 1 | -1/+1 |
| | | | | llvm-svn: 33164 | ||||
* | Implement review feedback for the ConstantBool->ConstantInt merge. Chris | Reid Spencer | 2007-01-12 | 1 | -6/+7 |
| | | | | | | | | 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 Spencer | 2007-01-11 | 1 | -6/+6 |
| | | | | llvm-svn: 33076 | ||||
* | For PR1043: | Zhou Sheng | 2007-01-11 | 1 | -30/+34 |
| | | | | | | | Merge ConstantIntegral and ConstantBool into ConstantInt. Remove ConstantIntegral and ConstantBool from LLVM. llvm-svn: 33073 | ||||
* | For PR950: | Reid Spencer | 2006-12-23 | 1 | -4/+3 |
| | | | | | | | | 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 | ||||
* | Switch over Transforms/Scalar to use the STATISTIC macro. For each statistic | Chris Lattner | 2006-12-19 | 1 | -7/+6 |
| | | | | | | | converted, we lose a static initializer. This also allows GCC to emit warnings about unused statistics. llvm-svn: 32690 | ||||
* | Detemplatize the Statistic class. The only type it is instantiated with | Chris Lattner | 2006-12-06 | 1 | -5/+5 |
| | | | | | | is 'unsigned'. llvm-svn: 32279 |