summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/MSP430/MSP430ISelDAGToDAG.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Split SelectionDAGISel::IsLegalAndProfitableToFold toEvan Cheng2010-02-151-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 moreDan Gohman2010-01-051-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 Wendling2009-12-281-1/+0
| | | | llvm-svn: 92197
* Do not allow uninitialize access during debug printingAnton Korobeynikov2009-12-131-2/+2
| | | | llvm-svn: 91232
* Update for new getBlockAddress signature.Dan Gohman2009-11-201-2/+2
| | | | llvm-svn: 89507
* Fix DenseMap iterator constness.Jeffrey Yasskin2009-11-101-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 operandsAnton Korobeynikov2009-11-081-16/+62
| | | | llvm-svn: 86466
* First try of the post-inc operands handling... Not fully worked, though :(Anton Korobeynikov2009-11-071-10/+77
| | | | llvm-svn: 86386
* Add some dummy support for post-incremented loadsAnton Korobeynikov2009-11-071-0/+40
| | | | llvm-svn: 86385
* Initial support for addrmode handling. Tests by Brian Lucas!Anton Korobeynikov2009-11-071-36/+209
| | | | llvm-svn: 86382
* Remove uninteresting and confusing debug output.Dan Gohman2009-11-051-2/+0
| | | | llvm-svn: 86149
* Shift art to the right to keep GCC from complaining about multi-line comments.Benjamin Kramer2009-10-221-14/+14
| | | | llvm-svn: 84849
* Use special DAG-to-DAG preprocessing to allow mem-mem instructions to be ↵Anton Korobeynikov2009-10-221-19/+149
| | | | | | | | selected. Yay for ASCII graphics! llvm-svn: 84808
* Add DAG printing for RMW stuff debuggingAnton Korobeynikov2009-10-211-0/+16
| | | | llvm-svn: 84776
* RMW preprocessing stuff was incorrect. Grab the stuff from x86 backend and ↵Anton Korobeynikov2009-10-211-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 refinementsAnton Korobeynikov2009-10-111-0/+127
| | | | llvm-svn: 83811
* Implement 'm' memory operand properlyAnton Korobeynikov2009-10-111-0/+20
| | | | llvm-svn: 83785
* Rename getTargetNode to getMachineNode, for consistency with theDan Gohman2009-09-251-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 Dunbar2009-08-231-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 Lattner2009-08-231-19/+9
| | | | llvm-svn: 79833
* Split EVT into MVT and EVT, the former representing _just_ a primitive type, ↵Owen Anderson2009-08-111-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 Anderson2009-08-101-15/+15
| | | | | | own struct type. llvm-svn: 78610
* Implement changes from Chris's feedback.Torok Edwin2009-07-081-0/+2
| | | | | | Finish converting lib/Target. llvm-svn: 75043
* Trim unnecessary #includes.Dan Gohman2009-05-041-2/+0
| | | | llvm-svn: 70880
* Update due to mainline API changeAnton Korobeynikov2009-05-031-4/+5
| | | | llvm-svn: 70769
* Add 8bit shiftsAnton Korobeynikov2009-05-031-1/+8
| | | | llvm-svn: 70759
* Properly handle ExternalSymbol'sAnton Korobeynikov2009-05-031-0/+3
| | | | llvm-svn: 70752
* Small tweakingAnton Korobeynikov2009-05-031-2/+2
| | | | llvm-svn: 70741
* Proper handle loading of effective address of stack slot stuffAnton Korobeynikov2009-05-031-9/+15
| | | | llvm-svn: 70737
* Match frame indexesAnton Korobeynikov2009-05-031-9/+11
| | | | llvm-svn: 70736
* Reverse order of memory argumentsAnton Korobeynikov2009-05-031-6/+6
| | | | llvm-svn: 70734
* Correct asmprinting of memory operandsAnton Korobeynikov2009-05-031-9/+7
| | | | llvm-svn: 70732
* Match wrapper node for addressAnton Korobeynikov2009-05-031-2/+17
| | | | llvm-svn: 70731
* Basic support for mem=>reg movesAnton Korobeynikov2009-05-031-0/+33
| | | | llvm-svn: 70723
* Clearify the usage and add some debug stuffAnton Korobeynikov2009-05-031-1/+49
| | | | llvm-svn: 70700
* CleanupAnton Korobeynikov2009-05-031-2/+1
| | | | llvm-svn: 70699
* Dummy MSP430 backendAnton Korobeynikov2009-05-031-0/+84
llvm-svn: 70694
OpenPOWER on IntegriCloud