Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Now IndVarSimplify is a LoopPass. | Devang Patel | 2007-03-07 | 1 | -0/+3 |
| | | | | llvm-svn: 35003 | ||||
* | Now LoopUnswitch is a LoopPass. | Devang Patel | 2007-03-07 | 1 | -1/+2 |
| | | | | llvm-svn: 34992 | ||||
* | Insert loop into LQ before visiting children. | Devang Patel | 2007-03-06 | 1 | -1/+1 |
| | | | | llvm-svn: 34982 | ||||
* | Use schedulePass() instead of assignPassManager() to add new LPPassManager. | Devang Patel | 2007-03-06 | 1 | -3/+11 |
| | | | | | | This ensures that require analysis info is available. llvm-svn: 34980 | ||||
* | Add LPPassManager::insertLoop(). | Devang Patel | 2007-03-06 | 1 | -0/+32 |
| | | | | llvm-svn: 34979 | ||||
* | LPPassManager::deleteLoopFromQueue() add meat. Cut-n-paste code from | Devang Patel | 2007-03-06 | 1 | -7/+71 |
| | | | | | | LoopUnswitch pass. llvm-svn: 34977 | ||||
* | LPPassManager. Implement preparePassManager() hook. | Devang Patel | 2007-03-06 | 1 | -0/+25 |
| | | | | llvm-svn: 34975 | ||||
* | LPPassManager : Add initialization and finalizatino hooks. | Devang Patel | 2007-03-06 | 1 | -0/+20 |
| | | | | llvm-svn: 34968 | ||||
* | Use std::deque to manage loop queue inside LPPassManager. | Devang Patel | 2007-03-06 | 1 | -40/+6 |
| | | | | llvm-svn: 34943 | ||||
* | Avoid constructing std::strings unless pass debugging is ON. | Devang Patel | 2007-03-05 | 2 | -17/+8 |
| | | | | llvm-svn: 34933 | ||||
* | Unbreak VC++ build. | Jeff Cohen | 2007-03-05 | 2 | -2/+3 |
| | | | | llvm-svn: 34917 | ||||
* | Speed up Loop::isLCSSAForm by using a hash table instead of a sorted vector. | Chris Lattner | 2007-03-04 | 1 | -9/+7 |
| | | | | llvm-svn: 34900 | ||||
* | Guard further against APInt operations with operands of unequal bit width. | Reid Spencer | 2007-03-04 | 1 | -4/+11 |
| | | | | llvm-svn: 34897 | ||||
* | Fix an unequal bitwidth issue. | Reid Spencer | 2007-03-02 | 1 | -3/+6 |
| | | | | llvm-svn: 34831 | ||||
* | Prefer non-virtual calls to ConstantInt::isZero over virtual calls to | Reid Spencer | 2007-03-02 | 2 | -7/+7 |
| | | | | | | Constant::isNullValue() in situations where it is possible. llvm-svn: 34821 | ||||
* | Make it possible to create an SCEVUnknown from an APInt as well as an int. | Reid Spencer | 2007-03-01 | 1 | -0/+4 |
| | | | | llvm-svn: 34816 | ||||
* | Avoid a potential assert out if the loop increment is > 64 bits. | Reid Spencer | 2007-03-01 | 1 | -1/+1 |
| | | | | llvm-svn: 34798 | ||||
* | Construct ConstantInt with simpler constructor. | Reid Spencer | 2007-03-01 | 1 | -4/+4 |
| | | | | llvm-svn: 34795 | ||||
* | Fix last night's 445.gobmk breakage which was caused by comparison of | Reid Spencer | 2007-03-01 | 1 | -0/+1 |
| | | | | | | APInt's of unequal bitwidth. llvm-svn: 34790 | ||||
* | Remove the "isSigned" parameters from ConstantRange. It turns out they | Reid Spencer | 2007-03-01 | 1 | -8/+7 |
| | | | | | | | | are not needed as the results are the same with or without it. Patch by Nicholas Lewycky. llvm-svn: 34782 | ||||
* | APIntify various computations in ScalarEvolution | Reid Spencer | 2007-03-01 | 1 | -55/+52 |
| | | | | llvm-svn: 34780 | ||||
* | For PR1205: | Reid Spencer | 2007-02-28 | 1 | -16/+20 |
| | | | | | | Make GetConstantFactor compute its result using an APInt. llvm-svn: 34765 | ||||
* | For PR1205: | Reid Spencer | 2007-02-28 | 1 | -4/+5 |
| | | | | | | Adjust to changes in ConstantRange interface. llvm-svn: 34762 | ||||
* | Move ConstantRange class to lib/Support from lib/Analysis and make its | Reid Spencer | 2007-02-28 | 1 | -315/+0 |
| | | | | | | interface not depend on Type or ICmpInst. llvm-svn: 34761 | ||||
* | For PR1205: | Reid Spencer | 2007-02-28 | 2 | -45/+30 |
| | | | | | | | Remove ConstantInt from ConstantRange interface and adjust its users to compensate. llvm-svn: 34758 | ||||
* | For PR1205: | Reid Spencer | 2007-02-28 | 2 | -49/+23 |
| | | | | | | | First round of ConstantRange changes. This makes all CR constructors use only APInt and not use ConstantInt. Clients are adjusted accordingly. llvm-svn: 34756 | ||||
* | For PR1205: | Reid Spencer | 2007-02-28 | 1 | -138/+127 |
| | | | | | | | Convert ConstantRange class to use APInt internally as its value type for the constant range, instead of ConstantInt. llvm-svn: 34745 | ||||
* | Make getPassManagerType() const. | Devang Patel | 2007-02-27 | 1 | -1/+1 |
| | | | | llvm-svn: 34669 | ||||
* | Fix thinko. | Devang Patel | 2007-02-23 | 1 | -1/+2 |
| | | | | llvm-svn: 34528 | ||||
* | Loop passes are set up to accept pointer. | Devang Patel | 2007-02-23 | 1 | -1/+1 |
| | | | | llvm-svn: 34527 | ||||
* | Teach LoopPass to assign itself one Loop Pass Manager. | Devang Patel | 2007-02-23 | 1 | -0/+41 |
| | | | | llvm-svn: 34510 | ||||
* | Add facility that allows LoopPass to re-insert a loop into | Devang Patel | 2007-02-23 | 1 | -0/+13 |
| | | | | | | Loop Pass Manager's queue. llvm-svn: 34509 | ||||
* | Add LPPassManager interface that LoopPass can use to skip | Devang Patel | 2007-02-23 | 1 | -0/+13 |
| | | | | | | rest of the passes in the queue for a loop. llvm-svn: 34508 | ||||
* | Populate and walk loop queue. | Devang Patel | 2007-02-22 | 1 | -6/+20 |
| | | | | llvm-svn: 34505 | ||||
* | Add LoopQueue. This is used by loop pass manager to manage loop nest. | Devang Patel | 2007-02-22 | 1 | -0/+36 |
| | | | | llvm-svn: 34504 | ||||
* | Add Loop Pass Manager. | Devang Patel | 2007-02-22 | 1 | -0/+69 |
| | | | | llvm-svn: 34487 | ||||
* | For PR1195: | Reid Spencer | 2007-02-15 | 2 | -5/+5 |
| | | | | | | | Rename PackedType -> VectorType, ConstantPacked -> ConstantVector, and PackedTyID -> VectorTyID. No functional changes. llvm-svn: 34293 | ||||
* | Fix comments to match names of functions. | Nick Lewycky | 2007-02-11 | 1 | -2/+2 |
| | | | | llvm-svn: 34173 | ||||
* | Switch some std::vector's to SmallVectors. This speeds up -load-vn -gcse | Chris Lattner | 2007-02-10 | 1 | -3/+5 |
| | | | | | | by 6% on tramp3d. llvm-svn: 34167 | ||||
* | modify CheckGEPInstructions to take a pointer and size instead of a vector. | Chris Lattner | 2007-02-10 | 1 | -23/+31 |
| | | | | llvm-svn: 34166 | ||||
* | eliminate use of TargetData::getIndexedOffset that takes a vector | Chris Lattner | 2007-02-10 | 1 | -5/+11 |
| | | | | llvm-svn: 34163 | ||||
* | completely eliminate a temporary vector | Chris Lattner | 2007-02-10 | 1 | -2/+2 |
| | | | | llvm-svn: 34162 | ||||
* | Privatize StructLayout::MemberOffsets, adding an accessor | Chris Lattner | 2007-02-10 | 1 | -1/+1 |
| | | | | llvm-svn: 34156 | ||||
* | Make classes in anonymous namespaces use VISIBILITY_HIDDEN to help reduce | Reid Spencer | 2007-02-05 | 14 | -19/+38 |
| | | | | | | LLVM's footprint and speed up linking. llvm-svn: 33941 | ||||
* | Changes to support making the shift instructions be true BinaryOperators. | Reid Spencer | 2007-02-02 | 3 | -8/+1 |
| | | | | | | | | | | | | This feature is needed in order to support shifts of more than 255 bits on large integer types. This changes the syntax for llvm assembly to make shl, ashr and lshr instructions look like a binary operator: shl i32 %X, 1 instead of shl i32 %X, i8 1 Additionally, this should help a few passes perform additional optimizations. llvm-svn: 33776 | ||||
* | Dump function names when debug-pass=Executions is used. | Devang Patel | 2007-02-01 | 1 | -1/+5 |
| | | | | llvm-svn: 33772 | ||||
* | Pretty print pass manager | Devang Patel | 2007-02-01 | 1 | -0/+4 |
| | | | | llvm-svn: 33766 | ||||
* | Fix a minor bug in my patch yesterday that broken ConstProp/bswap.ll | Chris Lattner | 2007-01-31 | 1 | -1/+1 |
| | | | | llvm-svn: 33704 | ||||
* | elimiante a temporary vector | Chris Lattner | 2007-01-31 | 1 | -3/+1 |
| | | | | llvm-svn: 33694 | ||||
* | Move some symbolic constant folding code out of instcombine into a place | Chris Lattner | 2007-01-31 | 1 | -3/+136 |
| | | | | | | | it can be used by multiple clients. This specifically allows the inliner to constant fold symbolically. llvm-svn: 33687 |