| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Fix unused variable warnings. | Devang Patel | 2008-11-21 | 1 | -0/+2 |
| | | | | | llvm-svn: 59778 | ||||
| * | Replace explicit loop with utility function. | Nick Lewycky | 2008-11-03 | 1 | -4/+2 |
| | | | | | llvm-svn: 58593 | ||||
| * | Tidy up several unbeseeming casts from pointer to intptr_t. | Dan Gohman | 2008-09-04 | 1 | -2/+2 |
| | | | | | llvm-svn: 55779 | ||||
| * | improve encapsulation of the BBExecutable set. | Chris Lattner | 2008-08-23 | 1 | -8/+4 |
| | | | | | llvm-svn: 55271 | ||||
| * | Switch an assortment of maps, sets and vectors to more efficient versions, | Chris Lattner | 2008-08-23 | 1 | -28/+25 |
| | | | | | | | patch contributed by m-s! llvm-svn: 55270 | ||||
| * | Temporarily revert r54792. It's causing an ICE during bootstrapping. | Bill Wendling | 2008-08-14 | 1 | -5/+5 |
| | | | | | llvm-svn: 54804 | ||||
| * | Use DenseMap. Patch by Pratik Solanki. | Devang Patel | 2008-08-14 | 1 | -5/+5 |
| | | | | | llvm-svn: 54792 | ||||
| * | Fix SCCP's handling of struct value loads and stores. SCCP doesn't | Dan Gohman | 2008-08-13 | 1 | -2/+0 |
| | | | | | | | | track individual leaf values in such cases, so it needs to treat struct values as normal values in this case. llvm-svn: 54760 | ||||
| * | Enable first-class aggregates support. | Dan Gohman | 2008-07-23 | 1 | -41/+0 |
| | | | | | | | | | | | | | 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 | ||||
| * | Tidy up some commments and use the getAggregateOperand and | Dan Gohman | 2008-06-20 | 1 | -9/+9 |
| | | | | | | | getInsertedValueOperand accessors. Thanks Matthijs! llvm-svn: 52543 | ||||
| * | Fix the conditions under which SCCP should examine insertvalue | Dan Gohman | 2008-06-20 | 1 | -1/+18 |
| | | | | | | | instructions. Thanks to Matthijs Kooijman for pointing this out! llvm-svn: 52542 | ||||
| * | Teach SCCP about insertvalue and extractvalue, and about | Dan Gohman | 2008-06-20 | 1 | -13/+107 |
| | | | | | | | | propagating constants across aggregate return values when insertvalue and extractvalue are used. llvm-svn: 52520 | ||||
| * | Fix PR2358 by resolving calls with undef arguments to overdefined. | Chris Lattner | 2008-05-24 | 1 | -0/+6 |
| | | | | | llvm-svn: 51535 | ||||
| * | Allow for switch with no cases. Was causing fault | Dale Johannesen | 2008-05-23 | 1 | -0/+2 |
| | | | | | | | in gcc.dg/pr27531-1.c. llvm-svn: 51464 | ||||
| * | Clean up the use of static and anonymous namespaces. This turned up | Dan Gohman | 2008-05-13 | 1 | -7/+7 |
| | | | | | | | | several things that were neither in an anonymous namespace nor static but not intended to be global. llvm-svn: 51017 | ||||
| * | Fix various DOUTs to not call the extremely expensive Value::getName() | Chris Lattner | 2008-05-11 | 1 | -5/+5 |
| | | | | | | | | | method. DOUT statements are disabled when assertions are off, but the side effects of getName() are still evaluated. Just call getNameSTart, which is close enough and doesn't cause heap traffic. llvm-svn: 50958 | ||||
| * | Simplify code by using SwitchInst::findCaseValue instead of reimplementing it. | Chris Lattner | 2008-05-10 | 1 | -14/+2 |
| | | | | | llvm-svn: 50957 | ||||
| * | Remove 'unwinds to' support from mainline. This patch undoes r47802 r47989 | Nick Lewycky | 2008-04-25 | 1 | -5/+0 |
| | | | | | | | r48047 r48084 r48085 r48086 r48088 r48096 r48099 r48109 and r48123. llvm-svn: 50265 | ||||
| * | code restructuring, not functionality change. | Chris Lattner | 2008-04-24 | 1 | -22/+24 |
| | | | | | llvm-svn: 50203 | ||||
| * | Don't replace multiple result of calls with undef, | Chris Lattner | 2008-04-24 | 1 | -2/+4 |
| | | | | | | | | sccp tracks getresult values, not call values in this case. llvm-svn: 50202 | ||||
| * | code cleanup, no functionality change. | Chris Lattner | 2008-04-24 | 1 | -19/+21 |
| | | | | | llvm-svn: 50201 | ||||
| * | Rewrite multiple return value handling in SCCP. Before, the -sccp pass | Chris Lattner | 2008-04-23 | 1 | -112/+114 |
| | | | | | | | | would turn every getresult instruction into undef. This helps with rdar://5778210 llvm-svn: 50140 | ||||
| * | Be conservative if getresult operand is neither call nor invoke. | Devang Patel | 2008-04-09 | 1 | -2/+3 |
| | | | | | llvm-svn: 49430 | ||||
| * | API changes for class Use size reduction, wave 1. | Gabor Greif | 2008-04-06 | 1 | -1/+1 |
| | | | | | | | | | Specifically, introduction of XXX::Create methods for Users that have a potentially variable number of Uses. llvm-svn: 49277 | ||||
| * | Don't include <map> in Pass.h, which doesn't need it. This requires | Dan Gohman | 2008-03-21 | 1 | -0/+1 |
| | | | | | | | adding <map> to many files that actually do need it. llvm-svn: 48667 | ||||
| * | Add TODO reminder. | Devang Patel | 2008-03-11 | 1 | -0/+1 |
| | | | | | llvm-svn: 48227 | ||||
| * | Initial multiple return values support. | Devang Patel | 2008-03-11 | 1 | -19/+95 |
| | | | | | llvm-svn: 48210 | ||||
| * | SCCP also needs to be taught to follow unwind_to | Nick Lewycky | 2008-03-09 | 1 | -0/+4 |
| | | | | | llvm-svn: 48109 | ||||
| * | Not all users of a BB are Instructions any more. | Nick Lewycky | 2008-03-08 | 1 | -1/+6 |
| | | | | | llvm-svn: 48047 | ||||
| * | Make Transforms to be 4.3 warnings-clean | Anton Korobeynikov | 2008-02-20 | 1 | -2/+2 |
| | | | | | llvm-svn: 47371 | ||||
| * | Fix PR1938 by forcing the code that uses an undefined value to branch one | Chris Lattner | 2008-01-28 | 1 | -4/+19 |
| | | | | | | | | | way or the other. Rewriting the code itself prevents subsequent analysis passes from making contradictory conclusions about the code that could cause an infeasible path to be made feasible. llvm-svn: 46427 | ||||
| * | Remove attribution from file headers, per discussion on llvmdev. | Chris Lattner | 2007-12-29 | 1 | -2/+2 |
| | | | | | llvm-svn: 45418 | ||||
| * | Disable null pointer folding transforms for non-generic address spaces. This ↵ | Christopher Lamb | 2007-12-29 | 1 | -1/+3 |
| | | | | | | | should probably be a target-specific predicate based on address space. That way for targets where this isn't applicable the predicate can be optimized away. llvm-svn: 45403 | ||||
| * | Use empty() member functions when that's what's being tested for instead | Dan Gohman | 2007-10-03 | 1 | -1/+1 |
| | | | | | | | of comparing begin() and end(). llvm-svn: 42585 | ||||
| * | Place SCCPSolver also in the anonymous namespace. This | Duncan Sands | 2007-07-20 | 1 | -3/+3 |
| | | | | | | | pacifies g++-4.2. llvm-svn: 40089 | ||||
| * | Fix PR1431 | Devang Patel | 2007-05-17 | 1 | -1/+1 |
| | | | | | | | Test case at Transformations/SCCP/2007-05-16-InvokeCrash.ll llvm-svn: 37185 | ||||
| * | Fix typo in comment. | Nick Lewycky | 2007-05-06 | 1 | -1/+1 |
| | | | | | llvm-svn: 36873 | ||||
| * | Drop 'const' | Devang Patel | 2007-05-03 | 1 | -4/+4 |
| | | | | | llvm-svn: 36662 | ||||
| * | Use 'static const char' instead of 'static const int'. | Devang Patel | 2007-05-02 | 1 | -4/+4 |
| | | | | | | | | 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/+7 |
| | | | | | llvm-svn: 36632 | ||||
| * | fix long lines | Chris Lattner | 2007-04-14 | 1 | -4/+4 |
| | | | | | llvm-svn: 36031 | ||||
| * | minor cleanups | Chris Lattner | 2007-03-04 | 1 | -7/+8 |
| | | | | | llvm-svn: 34904 | ||||
| * | For PR1195: | Reid Spencer | 2007-02-15 | 1 | -4/+4 |
| | | | | | | | | Rename PackedType -> VectorType, ConstantPacked -> ConstantVector, and PackedTyID -> VectorTyID. No functional changes. llvm-svn: 34293 | ||||
| * | Apply the VISIBILITY_HIDDEN field to the remaining anonymous classes in | Reid Spencer | 2007-02-05 | 1 | -3/+4 |
| | | | | | | | | 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 this back to using an std::map. DenseMap entries are getting invalidated | Chris Lattner | 2007-02-02 | 1 | -5/+5 |
| | | | | | llvm-svn: 33799 | ||||
| * | Remove more malloc thrashing, this speeds up IPSCCP on kimwitu another 6.7%. | Chris Lattner | 2007-02-02 | 1 | -10/+10 |
| | | | | | llvm-svn: 33796 | ||||
| * | Convert an std::set to SmallSet, this speeds up IPSCCP 17% on kimwitu. | Chris Lattner | 2007-02-02 | 1 | -5/+5 |
| | | | | | llvm-svn: 33794 | ||||
| * | eliminate a malloc/free for (almost) every GEP processed. This speeds up | Chris Lattner | 2007-02-02 | 1 | -2/+3 |
| | | | | | | | IPSCCP 3.3% on kimwitu. llvm-svn: 33793 | ||||
| * | switch hash_map's over to DenseMap in SCCP. This speeds up SCCP by 30% in | Chris Lattner | 2007-02-02 | 1 | -19/+21 |
| | | | | | | | a release-assert build on kimwitu++. llvm-svn: 33792 | ||||
| * | Changes to support making the shift instructions be true BinaryOperators. | Reid Spencer | 2007-02-02 | 1 | -1/+0 |
| | | | | | | | | | | | | | 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 | ||||

