Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fix invalid operand updates & implement post-inc memory operands | Anton Korobeynikov | 2009-11-08 | 2 | -16/+94 | |
| | | | | llvm-svn: 86466 | |||||
* | indicate what the native integer types for the target are. | Chris Lattner | 2009-11-07 | 1 | -1/+1 | |
| | | | | | | Please verify. llvm-svn: 86397 | |||||
* | First try of the post-inc operands handling... Not fully worked, though :( | Anton Korobeynikov | 2009-11-07 | 3 | -11/+87 | |
| | | | | llvm-svn: 86386 | |||||
* | Add some dummy support for post-incremented loads | Anton Korobeynikov | 2009-11-07 | 4 | -4/+97 | |
| | | | | llvm-svn: 86385 | |||||
* | Add 8 bit libcalls and make use of them for msp430 | Anton Korobeynikov | 2009-11-07 | 1 | -0/+11 | |
| | | | | llvm-svn: 86384 | |||||
* | Add few pseudo-source-values | Anton Korobeynikov | 2009-11-07 | 1 | -4/+20 | |
| | | | | llvm-svn: 86383 | |||||
* | Initial support for addrmode handling. Tests by Brian Lucas! | Anton Korobeynikov | 2009-11-07 | 3 | -68/+239 | |
| | | | | llvm-svn: 86382 | |||||
* | Some preliminary variable asmprinting | Anton Korobeynikov | 2009-11-07 | 3 | -7/+92 | |
| | | | | llvm-svn: 86381 | |||||
* | Use '.L' for global private prefix (as mspgcc) | Anton Korobeynikov | 2009-11-07 | 1 | -0/+1 | |
| | | | | llvm-svn: 86380 | |||||
* | Drop old asmprinter stuff | Anton Korobeynikov | 2009-11-07 | 3 | -17/+20 | |
| | | | | llvm-svn: 86379 | |||||
* | Factor out the printing of the leading tab into printInlineAsm. | Dan Gohman | 2009-11-06 | 1 | -1/+0 | |
| | | | | llvm-svn: 86199 | |||||
* | Remove uninteresting and confusing debug output. | Dan Gohman | 2009-11-05 | 1 | -2/+0 | |
| | | | | llvm-svn: 86149 | |||||
* | Print out an informative comment for KILL instructions. | Jakob Stoklund Olesen | 2009-11-04 | 1 | -0/+1 | |
| | | | | | | | | The KILL pseudo-instruction may survive to the asm printer pass, just like the IMPLICIT_DEF. Print the KILL as a comment instead of just leaving a blank line in the output. With -asm-verbose=0, a blank line is printed, like IMPLICIT?DEF. llvm-svn: 86041 | |||||
* | Rename usesCustomDAGSchedInserter to usesCustomInserter, and update a | Dan Gohman | 2009-10-29 | 1 | -1/+1 | |
| | | | | | | | | bunch of associated comments, because it doesn't have anything to do with DAGs or scheduling. This is another step in decoupling MachineInstr emitting from scheduling. llvm-svn: 85517 | |||||
* | Update CMake files. | Ted Kremenek | 2009-10-26 | 1 | -1/+1 | |
| | | | | llvm-svn: 85161 | |||||
* | Remove includes of Support/Compiler.h that are no longer needed after the | Nick Lewycky | 2009-10-25 | 1 | -1/+0 | |
| | | | | | | VISIBILITY_HIDDEN removal. llvm-svn: 85043 | |||||
* | Remove VISIBILITY_HIDDEN from class/struct found inside anonymous namespaces. | Nick Lewycky | 2009-10-25 | 1 | -1/+1 | |
| | | | | | | | Chris claims we should never have visibility_hidden inside any .cpp file but that's still not true even after this commit. llvm-svn: 85042 | |||||
* | 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 | 2 | -54/+73 | |
| | | | | | | disable some tests until it will be clever enough to handle them. llvm-svn: 84775 | |||||
* | Implement branch folding | Anton Korobeynikov | 2009-10-21 | 3 | -6/+178 | |
| | | | | llvm-svn: 84774 | |||||
* | Cosmetic changes, no functionality changes | Anton Korobeynikov | 2009-10-21 | 5 | -41/+40 | |
| | | | | llvm-svn: 84773 | |||||
* | Add note | Anton Korobeynikov | 2009-10-21 | 1 | -0/+2 | |
| | | | | llvm-svn: 84713 | |||||
* | Be crazy and assert in case of unsupported modifier passed. | Anton Korobeynikov | 2009-10-21 | 1 | -0/+1 | |
| | | | | llvm-svn: 84712 | |||||
* | Handle external symbols | Anton Korobeynikov | 2009-10-21 | 2 | -2/+14 | |
| | | | | llvm-svn: 84711 | |||||
* | Distinguish between pcrel imm operands and 'normal' ones. Fix fixes gross ↵ | Anton Korobeynikov | 2009-10-21 | 4 | -9/+23 | |
| | | | | | | weirdness of asmprinting. llvm-svn: 84710 | |||||
* | Add basic block operands & jump kinds | Anton Korobeynikov | 2009-10-21 | 5 | -16/+43 | |
| | | | | llvm-svn: 84709 | |||||
* | Ignore all implicit reg operands | Anton Korobeynikov | 2009-10-21 | 1 | -0/+2 | |
| | | | | llvm-svn: 84708 | |||||
* | Add a workaround for different memops prefixes | Anton Korobeynikov | 2009-10-21 | 1 | -3/+6 | |
| | | | | llvm-svn: 84707 | |||||
* | Checkpoint MCInst printer. We (almostly) able to print global / JT / ↵ | Anton Korobeynikov | 2009-10-21 | 5 | -11/+106 | |
| | | | | | | constpool entries llvm-svn: 84706 | |||||
* | Add simple operand printing stuff | Anton Korobeynikov | 2009-10-21 | 2 | -4/+19 | |
| | | | | llvm-svn: 84704 | |||||
* | Add experimental MSP430 MCInstLowering stuff | Anton Korobeynikov | 2009-10-21 | 4 | -1/+155 | |
| | | | | llvm-svn: 84703 | |||||
* | Wire up MSP430 printMCInst() method | Anton Korobeynikov | 2009-10-21 | 1 | -0/+4 | |
| | | | | llvm-svn: 84702 | |||||
* | Add MSP430 InstPrinter stub | Anton Korobeynikov | 2009-10-21 | 3 | -0/+84 | |
| | | | | llvm-svn: 84701 | |||||
* | Use proper target data | Anton Korobeynikov | 2009-10-21 | 1 | -1/+1 | |
| | | | | llvm-svn: 84700 | |||||
* | Revert 84315 for now. Re-thinking the patch. | Evan Cheng | 2009-10-17 | 1 | -1/+1 | |
| | | | | llvm-svn: 84321 | |||||
* | Rename getFixedStack to getStackObject. The stack objects represented are not | Evan Cheng | 2009-10-17 | 1 | -1/+1 | |
| | | | | | | necessarily fixed. Only those will negative frame indices are "fixed." llvm-svn: 84315 | |||||
* | Add missed mem-mem move patterns | Anton Korobeynikov | 2009-10-11 | 1 | -0/+7 | |
| | | | | llvm-svn: 83812 | |||||
* | 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 | |||||
* | Implement proper asmprinting for the globals. This eliminates bogus "call" ↵ | Anton Korobeynikov | 2009-10-11 | 2 | -12/+12 | |
| | | | | | | modifier and also adds support for offsets wrt globals. llvm-svn: 83784 | |||||
* | Implement asm printing for inline asm memory operands | Anton Korobeynikov | 2009-10-11 | 1 | -0/+13 | |
| | | | | llvm-svn: 83783 | |||||
* | It seems that OR operation does not affect status reg at all. | Anton Korobeynikov | 2009-10-10 | 1 | -12/+8 | |
| | | | | | | Remove impdef of SRW. This fixes PR4779 llvm-svn: 83739 | |||||
* | Add register-reuse to frame-index register scavenging. When a target uses | Jim Grosbach | 2009-10-07 | 2 | -6/+9 | |
| | | | | | | | | | | | | | | | | | | | | a virtual register to eliminate a frame index, it can return that register and the constant stored there to PEI to track. When scavenging to allocate for those registers, PEI then tracks the last-used register and value, and if it is still available and matches the value for the next index, reuses the existing value rather and removes the re-materialization instructions. Fancier tracking and adjustment of scavenger allocations to keep more values live for longer is possible, but not yet implemented and would likely be better done via a different, less special-purpose, approach to the problem. eliminateFrameIndex() is modified so the target implementations can return the registers they wish to be tracked for reuse. ARM Thumb1 implements and utilizes the new mechanism. All other targets are simply modified to adjust for the changed eliminateFrameIndex() prototype. llvm-svn: 83467 | |||||
* | Instead of printing unnecessary basic block labels as labels in | Dan Gohman | 2009-10-06 | 1 | -7/+1 | |
| | | | | | | | | | | verbose-asm mode, print comments instead. This eliminates a non-comment difference between verbose-asm mode and non-verbose-asm mode. Also, factor out the relevant code out of all the targets and into target-independent code. llvm-svn: 83392 | |||||
* | Update processDebugLoc() so that it can be used to process debug info before ↵ | Devang Patel | 2009-10-06 | 1 | -1/+3 | |
| | | | | | | and after printing an instruction. llvm-svn: 83363 | |||||
* | Use MachineInstr as an processDebugLoc() argument. | Devang Patel | 2009-09-30 | 1 | -1/+1 | |
| | | | | | | This will allow processDebugLoc() to handle scopes for DWARF debug info. llvm-svn: 83183 | |||||
* | 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 PR4926. When target hook EmitInstrWithCustomInserter() insert new basic ↵ | Evan Cheng | 2009-09-19 | 1 | -0/+4 | |
| | | | | | | blocks and update CFG, it should also inform sdisel of the changes so the phi source operands will come from the right basic blocks. llvm-svn: 82311 |