Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Split SelectionDAGISel::IsLegalAndProfitableToFold to | Evan Cheng | 2010-02-15 | 1 | -7/+6 | |
| | | | | | | | | IsLegalToFold and IsProfitableToFold. The generic version of the later simply checks whether the folding candidate has a single use. This allows the target isel routines more flexibility in deciding whether folding makes sense. The specific case we are interested in is folding constant pool loads with multiple uses. llvm-svn: 96255 | |||||
* | Change SelectCode's argument from SDValue to SDNode *, to make it more | Dan Gohman | 2010-01-05 | 1 | -34/+33 | |
| | | | | | | | | | clear what information these functions are actually using. This is also a micro-optimization, as passing a SDNode * around is simpler than passing a { SDNode *, int } by value or reference. llvm-svn: 92564 | |||||
* | Remove dead variable. | Bill Wendling | 2009-12-28 | 1 | -1/+0 | |
| | | | | llvm-svn: 92197 | |||||
* | Do not allow uninitialize access during debug printing | Anton Korobeynikov | 2009-12-13 | 1 | -2/+2 | |
| | | | | llvm-svn: 91232 | |||||
* | Update for new getBlockAddress signature. | Dan Gohman | 2009-11-20 | 1 | -2/+2 | |
| | | | | llvm-svn: 89507 | |||||
* | Fix DenseMap iterator constness. | Jeffrey Yasskin | 2009-11-10 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | This patch forbids implicit conversion of DenseMap::const_iterator to DenseMap::iterator which was possible because DenseMapIterator inherited (publicly) from DenseMapConstIterator. Conversion the other way around is now allowed as one may expect. The template DenseMapConstIterator is removed and the template parameter IsConst which specifies whether the iterator is constant is added to DenseMapIterator. Actually IsConst parameter is not necessary since the constness can be determined from KeyT but this is not relevant to the fix and can be addressed later. Patch by Victor Zverovich! llvm-svn: 86636 | |||||
* | Fix invalid operand updates & implement post-inc memory operands | Anton Korobeynikov | 2009-11-08 | 1 | -16/+62 | |
| | | | | llvm-svn: 86466 | |||||
* | First try of the post-inc operands handling... Not fully worked, though :( | Anton Korobeynikov | 2009-11-07 | 1 | -10/+77 | |
| | | | | llvm-svn: 86386 | |||||
* | Add some dummy support for post-incremented loads | Anton Korobeynikov | 2009-11-07 | 1 | -0/+40 | |
| | | | | llvm-svn: 86385 | |||||
* | Initial support for addrmode handling. Tests by Brian Lucas! | Anton Korobeynikov | 2009-11-07 | 1 | -36/+209 | |
| | | | | llvm-svn: 86382 | |||||
* | Remove uninteresting and confusing debug output. | Dan Gohman | 2009-11-05 | 1 | -2/+0 | |
| | | | | llvm-svn: 86149 | |||||
* | Shift art to the right to keep GCC from complaining about multi-line comments. | Benjamin Kramer | 2009-10-22 | 1 | -14/+14 | |
| | | | | llvm-svn: 84849 | |||||
* | Use special DAG-to-DAG preprocessing to allow mem-mem instructions to be ↵ | Anton Korobeynikov | 2009-10-22 | 1 | -19/+149 | |
| | | | | | | | | selected. Yay for ASCII graphics! llvm-svn: 84808 | |||||
* | Add DAG printing for RMW stuff debugging | Anton Korobeynikov | 2009-10-21 | 1 | -0/+16 | |
| | | | | llvm-svn: 84776 | |||||
* | RMW preprocessing stuff was incorrect. Grab the stuff from x86 backend and ↵ | Anton Korobeynikov | 2009-10-21 | 1 | -53/+73 | |
| | | | | | | disable some tests until it will be clever enough to handle them. llvm-svn: 84775 | |||||
* | Add MSP430 mem-mem insts support. Patch by Brian Lucas with some my refinements | Anton Korobeynikov | 2009-10-11 | 1 | -0/+127 | |
| | | | | llvm-svn: 83811 | |||||
* | Implement 'm' memory operand properly | Anton Korobeynikov | 2009-10-11 | 1 | -0/+20 | |
| | | | | llvm-svn: 83785 | |||||
* | Rename getTargetNode to getMachineNode, for consistency with the | Dan Gohman | 2009-09-25 | 1 | -2/+2 | |
| | | | | | | | | naming scheme used in SelectionDAG, where there are multiple kinds of "target" nodes, but "machine" nodes are nodes which represent a MachineInstr. llvm-svn: 82790 | |||||
* | Fix some refactos for iostream changes (in -Asserts mode). | Daniel Dunbar | 2009-08-23 | 1 | -4/+4 | |
| | | | | | | - The world needs better C++ refactoring tools, can I get an Amen!? llvm-svn: 79843 | |||||
* | eliminate the last DOUTs from the targets. | Chris Lattner | 2009-08-23 | 1 | -19/+9 | |
| | | | | llvm-svn: 79833 | |||||
* | Split EVT into MVT and EVT, the former representing _just_ a primitive type, ↵ | Owen Anderson | 2009-08-11 | 1 | -15/+15 | |
| | | | | | | | | while the latter is capable of representing either a primitive or an extended type. llvm-svn: 78713 | |||||
* | Rename MVT to EVT, in preparation for splitting SimpleValueType out into its ↵ | Owen Anderson | 2009-08-10 | 1 | -15/+15 | |
| | | | | | | own struct type. llvm-svn: 78610 | |||||
* | Implement changes from Chris's feedback. | Torok Edwin | 2009-07-08 | 1 | -0/+2 | |
| | | | | | | Finish converting lib/Target. llvm-svn: 75043 | |||||
* | Trim unnecessary #includes. | Dan Gohman | 2009-05-04 | 1 | -2/+0 | |
| | | | | llvm-svn: 70880 | |||||
* | Update due to mainline API change | Anton Korobeynikov | 2009-05-03 | 1 | -4/+5 | |
| | | | | llvm-svn: 70769 | |||||
* | Add 8bit shifts | Anton Korobeynikov | 2009-05-03 | 1 | -1/+8 | |
| | | | | llvm-svn: 70759 | |||||
* | Properly handle ExternalSymbol's | Anton Korobeynikov | 2009-05-03 | 1 | -0/+3 | |
| | | | | llvm-svn: 70752 | |||||
* | Small tweaking | Anton Korobeynikov | 2009-05-03 | 1 | -2/+2 | |
| | | | | llvm-svn: 70741 | |||||
* | Proper handle loading of effective address of stack slot stuff | Anton Korobeynikov | 2009-05-03 | 1 | -9/+15 | |
| | | | | llvm-svn: 70737 | |||||
* | Match frame indexes | Anton Korobeynikov | 2009-05-03 | 1 | -9/+11 | |
| | | | | llvm-svn: 70736 | |||||
* | Reverse order of memory arguments | Anton Korobeynikov | 2009-05-03 | 1 | -6/+6 | |
| | | | | llvm-svn: 70734 | |||||
* | Correct asmprinting of memory operands | Anton Korobeynikov | 2009-05-03 | 1 | -9/+7 | |
| | | | | llvm-svn: 70732 | |||||
* | Match wrapper node for address | Anton Korobeynikov | 2009-05-03 | 1 | -2/+17 | |
| | | | | llvm-svn: 70731 | |||||
* | Basic support for mem=>reg moves | Anton Korobeynikov | 2009-05-03 | 1 | -0/+33 | |
| | | | | llvm-svn: 70723 | |||||
* | Clearify the usage and add some debug stuff | Anton Korobeynikov | 2009-05-03 | 1 | -1/+49 | |
| | | | | llvm-svn: 70700 | |||||
* | Cleanup | Anton Korobeynikov | 2009-05-03 | 1 | -2/+1 | |
| | | | | llvm-svn: 70699 | |||||
* | Dummy MSP430 backend | Anton Korobeynikov | 2009-05-03 | 1 | -0/+84 | |
llvm-svn: 70694 |