Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Reapply commit 112699, speculatively reverted by echristo, since | Duncan Sands | 2010-09-02 | 1 | -1/+1 |
| | | | | | | | | | I'm sure it is harmless. Original commit message: If PrototypeValue is erased in the middle of using the SSAUpdator then the SSAUpdator may access freed memory. Instead, simply pass in the type and name explicitly, which is all that was used anyway. llvm-svn: 112810 | ||||
* | Speculatively revert 112699 and 112702, they seem to be causing | Eric Christopher | 2010-09-01 | 1 | -1/+1 |
| | | | | | | self host errors on clang-x86-64. llvm-svn: 112719 | ||||
* | If PrototypeValue is erased in the middle of using the SSAUpdator | Duncan Sands | 2010-09-01 | 1 | -1/+1 |
| | | | | | | | then the SSAUpdator may access freed memory. Instead, simply pass in the type and name explicitly, which is all that was used anyway. llvm-svn: 112699 | ||||
* | When rotating loops, put the original header at the bottom of the | Dan Gohman | 2010-08-17 | 1 | -0/+20 |
| | | | | | | | loop, making the resulting loop significantly less ugly. Also, zap its trivial PHI nodes, since it's easy. llvm-svn: 111255 | ||||
* | Reapply r110396, with fixes to appease the Linux buildbot gods. | Owen Anderson | 2010-08-06 | 1 | -1/+1 |
| | | | | llvm-svn: 110460 | ||||
* | Revert r110396 to fix buildbots. | Owen Anderson | 2010-08-06 | 1 | -1/+1 |
| | | | | llvm-svn: 110410 | ||||
* | Don't use PassInfo* as a type identifier for passes. Instead, use the ↵ | Owen Anderson | 2010-08-05 | 1 | -1/+1 |
| | | | | | | | | address of the static ID member as the sole unique type identifier. Clean up APIs related to this change. llvm-svn: 110396 | ||||
* | Fix batch of converting RegisterPass<> to INTIALIZE_PASS(). | Owen Anderson | 2010-07-21 | 1 | -1/+1 |
| | | | | llvm-svn: 109045 | ||||
* | Reorder the contents of various getAnalysisUsage functions, eliminating | Dan Gohman | 2010-07-16 | 1 | -4/+4 |
| | | | | | | a redundant loopsimplify run from the default -O2 sequence. llvm-svn: 108539 | ||||
* | Use pre-increment instead of post-increment when the result is not used. | Dan Gohman | 2010-06-22 | 1 | -2/+2 |
| | | | | llvm-svn: 106542 | ||||
* | Update various Loop optimization passes to cope with the possibility that | Dan Gohman | 2009-11-05 | 1 | -4/+5 |
| | | | | | | LoopSimplify form may not be available. llvm-svn: 86175 | ||||
* | Call getAnalysis<LoopInfo> the normal way, instead of asking passed-in | Dan Gohman | 2009-11-05 | 1 | -2/+2 |
| | | | | | | LoopPassManager for it. llvm-svn: 86163 | ||||
* | Rename forgetLoopBackedgeTakenCount to forgetLoop, because it | Dan Gohman | 2009-10-31 | 1 | -1/+1 |
| | | | | | | clears out more information than just the stored backedge taken count. llvm-svn: 85664 | ||||
* | Fix a typo in a comment. | Dan Gohman | 2009-10-26 | 1 | -1/+1 |
| | | | | llvm-svn: 85120 | ||||
* | Rename isLoopExit to isLoopExiting, for consistency with the wording | Dan Gohman | 2009-10-24 | 1 | -1/+1 |
| | | | | | | | | used elsewhere - an exit block is a block outside the loop branched to from within the loop. An exiting block is a block inside the loop that branches out. llvm-svn: 85019 | ||||
* | Rewrite LoopRotation's SSA updating code using SSAUpdater. | Dan Gohman | 2009-10-24 | 1 | -226/+70 |
| | | | | llvm-svn: 85016 | ||||
* | Tell ScalarEvolution to forget everything it knows about a loop before | Dan Gohman | 2009-09-27 | 1 | -0/+5 |
| | | | | | | rotating the loop, since loop rotation is a very significant change. llvm-svn: 82901 | ||||
* | Instruction::clone does not need to take an LLVMContext&. Remove that and | Nick Lewycky | 2009-09-27 | 1 | -1/+1 |
| | | | | | | update all the callers. llvm-svn: 82889 | ||||
* | Fix SplitCriticalEdge to properly update LCSSA form when splitting a | Dan Gohman | 2009-09-09 | 1 | -16/+1 |
| | | | | | | | | | | loop exit edge -- new PHIs may be needed not only for the additional splits that are made to preserve LoopSimplify form, but also for the original split. Factor out the code that inserts new PHIs so that it can be used for both. Remove LoopRotation.cpp's code for manually updating LCSSA form, as it is now redundant. This fixes PR4934. llvm-svn: 81363 | ||||
* | eliminate VISIBILITY_HIDDEN from Transforms/Scalar. PR4861 | Chris Lattner | 2009-09-02 | 1 | -3/+2 |
| | | | | llvm-svn: 80766 | ||||
* | Push LLVMContexts through the IntegerType APIs. | Owen Anderson | 2009-08-13 | 1 | -1/+2 |
| | | | | llvm-svn: 78948 | ||||
* | Fix dom frontier update. This fixes PR4667. | Devang Patel | 2009-08-07 | 1 | -19/+23 |
| | | | | | | Patch by Jakub Staszak. llvm-svn: 78388 | ||||
* | Get rid of the Pass+Context magic. | Owen Anderson | 2009-07-22 | 1 | -1/+1 |
| | | | | llvm-svn: 76702 | ||||
* | This started as a small change, I swear. Unfortunately, lots of things call ↵ | Owen Anderson | 2009-07-09 | 1 | -1/+1 |
| | | | | | | the [I|F]CmpInst constructors. Who knew!? llvm-svn: 75200 | ||||
* | More minor code simplifications. | Dan Gohman | 2009-06-27 | 1 | -14/+9 |
| | | | | llvm-svn: 74395 | ||||
* | Change this code to a form about which VC++ reportedly isn't unhappy. | Dan Gohman | 2009-06-26 | 1 | -1/+2 |
| | | | | llvm-svn: 74243 | ||||
* | Minor code simplification. | Dan Gohman | 2009-06-26 | 1 | -7/+3 |
| | | | | llvm-svn: 74240 | ||||
* | Reword a few comments. | Dan Gohman | 2009-06-25 | 1 | -17/+17 |
| | | | | llvm-svn: 74146 | ||||
* | Do not count DbgInfoIntrinsic while estimating loop header size. | Devang Patel | 2009-03-06 | 1 | -2/+14 |
| | | | | llvm-svn: 66245 | ||||
* | Rename getAnalysisToUpdate to getAnalysisIfAvailable. | Duncan Sands | 2009-01-28 | 1 | -3/+3 |
| | | | | llvm-svn: 63198 | ||||
* | Fix PR3408 by making a non-obvious assumption very obvious, and | Chris Lattner | 2009-01-26 | 1 | -2/+6 |
| | | | | | | handling the flaw inherent in that assumption. :) llvm-svn: 62984 | ||||
* | More cleanups and simplifications, no functionality change. | Chris Lattner | 2009-01-26 | 1 | -47/+23 |
| | | | | llvm-svn: 62983 | ||||
* | tidy asserts | Chris Lattner | 2009-01-26 | 1 | -18/+17 |
| | | | | llvm-svn: 62982 | ||||
* | Change create*Pass factory functions to return Pass* instead of | Daniel Dunbar | 2008-10-22 | 1 | -1/+1 |
| | | | | | | | | | | | LoopPass*. - Although less precise, this means they can be used in clients without RTTI (who would otherwise need to include LoopPass.h, which eventually includes things using dynamic_cast). This was the simplest solution that presented itself, but I am happy to use a better one if available. llvm-svn: 58010 | ||||
* | Tidy up several unbeseeming casts from pointer to intptr_t. | Dan Gohman | 2008-09-04 | 1 | -1/+1 |
| | | | | llvm-svn: 55779 | ||||
* | Enable first-class aggregates support. | Dan Gohman | 2008-07-23 | 1 | -29/+5 |
| | | | | | | | | | | | | Remove the GetResultInst instruction. It is still accepted in LLVM assembly and bitcode, where it is now auto-upgraded to ExtractValueInst. Also, remove support for return instructions with multiple values. These are auto-upgraded to use InsertValueInst instructions. The IRBuilder still accepts multiple-value returns, and auto-upgrades them to InsertValueInst instructions. llvm-svn: 53941 | ||||
* | Avoid using BasicBlock::getInstList directly in a few places. | Dan Gohman | 2008-06-19 | 1 | -9/+10 |
| | | | | llvm-svn: 52497 | ||||
* | Tidy up BasicBlock::getFirstNonPHI, and change a bunch of places to | Dan Gohman | 2008-05-23 | 1 | -3/+1 |
| | | | | | | use it instead of duplicating its functionality. llvm-svn: 51499 | ||||
* | Fix a bunch of 80col violations that arose from the Create API change. Tweak ↵ | Gabor Greif | 2008-05-15 | 1 | -1/+2 |
| | | | | | | makefile targets to find these better. llvm-svn: 51143 | ||||
* | Clean up the use of static and anonymous namespaces. This turned up | Dan Gohman | 2008-05-13 | 1 | -3/+3 |
| | | | | | | | several things that were neither in an anonymous namespace nor static but not intended to be global. llvm-svn: 51017 | ||||
* | add a FIXME so we remember to eventually remove this code. | Chris Lattner | 2008-05-02 | 1 | -5/+6 |
| | | | | llvm-svn: 50582 | ||||
* | Don't try to create PHIs of struct types. Fallout | Dale Johannesen | 2008-05-01 | 1 | -8/+31 |
| | | | | | | from x86-64 calling convention work. llvm-svn: 50545 | ||||
* | Revert r49614. As Dan pointed out, some of these aren't correct. | Owen Anderson | 2008-04-14 | 1 | -1/+1 |
| | | | | llvm-svn: 49657 | ||||
* | Replace calls of the form V1->setName(V2->getName()) with V1->takeName(V2), | Owen Anderson | 2008-04-13 | 1 | -1/+1 |
| | | | | | | which is significantly more efficient. llvm-svn: 49614 | ||||
* | API changes for class Use size reduction, wave 1. | Gabor Greif | 2008-04-06 | 1 | -7/+7 |
| | | | | | | | | Specifically, introduction of XXX::Create methods for Users that have a potentially variable number of Uses. llvm-svn: 49277 | ||||
* | Fix PR2028 | Devang Patel | 2008-02-15 | 1 | -2/+2 |
| | | | | llvm-svn: 47150 | ||||
* | Remove attribution from file headers, per discussion on llvmdev. | Chris Lattner | 2007-12-29 | 1 | -2/+2 |
| | | | | llvm-svn: 45418 | ||||
* | Make LoopInfoBase more generic, in preparation for having MachineLoopInfo. ↵ | Owen Anderson | 2007-11-27 | 1 | -1/+1 |
| | | | | | | This involves a small interface change. llvm-svn: 44348 | ||||
* | typo | Nick Lewycky | 2007-11-21 | 1 | -1/+1 |
| | | | | llvm-svn: 44262 | ||||
* | Use SmallVector instead of std::vector. | Devang Patel | 2007-08-21 | 1 | -1/+1 |
| | | | | llvm-svn: 41207 |