Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Simplify definitions of the ARM eh.sjlj.*jmp pseudo instructions. | Jim Grosbach | 2010-11-29 | 1 | -9/+6 | |
| | | | | llvm-svn: 120354 | |||||
* | Parameterize ARMPseudoInst size property. | Jim Grosbach | 2010-11-29 | 2 | -27/+19 | |
| | | | | llvm-svn: 120353 | |||||
* | Add a few missing initializers. | Jim Grosbach | 2010-11-29 | 1 | -2/+2 | |
| | | | | llvm-svn: 120350 | |||||
* | Nuke trailing whitespace. | Jim Grosbach | 2010-11-29 | 1 | -3/+3 | |
| | | | | llvm-svn: 120344 | |||||
* | Nuke a FIXME. No need to be fancier here, as ARM handles constant pools | Jim Grosbach | 2010-11-29 | 1 | -5/+1 | |
| | | | | | | locations and formatting specially. rdar://7353441 llvm-svn: 120343 | |||||
* | Provide Thumb2 encodings for basic loads and stores. | Owen Anderson | 2010-11-29 | 3 | -21/+136 | |
| | | | | llvm-svn: 120340 | |||||
* | Mark Darwin call instructions as using "r7" to prevent the frame-register | Evan Cheng | 2010-11-29 | 3 | -12/+27 | |
| | | | | | | | assignment instructions from being moved below / above calls. rdar://8690640 llvm-svn: 120339 | |||||
* | Nuke dead isCodeGenOnly annotation and extraneous comment. | Jim Grosbach | 2010-11-29 | 1 | -3/+2 | |
| | | | | llvm-svn: 120338 | |||||
* | tidy up. | Jim Grosbach | 2010-11-29 | 1 | -2/+1 | |
| | | | | llvm-svn: 120335 | |||||
* | Thumb encodings for conditional moves. | Bill Wendling | 2010-11-29 | 1 | -2/+14 | |
| | | | | llvm-svn: 120334 | |||||
* | Pseudo-ize Thumb2 jump tables with explicit MC lowering to the raw | Jim Grosbach | 2010-11-29 | 7 | -154/+71 | |
| | | | | | | instructions. This simplifies instruction printing and disassembly. llvm-svn: 120333 | |||||
* | Refactor some of the "disassembly-only" instructions into a base class. This | Bill Wendling | 2010-11-29 | 1 | -36/+21 | |
| | | | | | | reduces some code duplication. llvm-svn: 120326 | |||||
* | Update fastisel for the changes in r120272. | Eric Christopher | 2010-11-29 | 1 | -3/+7 | |
| | | | | llvm-svn: 120324 | |||||
* | Rename t2 TBB and TBH instructions to reference that they encode the jump table | Jim Grosbach | 2010-11-29 | 5 | -14/+14 | |
| | | | | | | data. Next up, pseudo-izing them. llvm-svn: 120320 | |||||
* | Improving the factoring of several instruction encodings. | Owen Anderson | 2010-11-29 | 1 | -89/+51 | |
| | | | | llvm-svn: 120317 | |||||
* | Add support for NEON VLD3-dup instructions. | Bob Wilson | 2010-11-29 | 6 | -0/+93 | |
| | | | | llvm-svn: 120312 | |||||
* | Fix copy-and-paste errors in VLD2-dup scheduling itineraries. | Bob Wilson | 2010-11-29 | 2 | -4/+4 | |
| | | | | llvm-svn: 120311 | |||||
* | ARM Pseudo-ize tBR_JTr. | Jim Grosbach | 2010-11-29 | 5 | -28/+19 | |
| | | | | llvm-svn: 120310 | |||||
* | Thumb2 encodings for MSR and MRS. | Owen Anderson | 2010-11-29 | 1 | -10/+24 | |
| | | | | llvm-svn: 120309 | |||||
* | Thumb2 encodings for system instructions. | Owen Anderson | 2010-11-29 | 1 | -8/+50 | |
| | | | | llvm-svn: 120307 | |||||
* | Thumb2 encodings for branches and IT blocks. | Owen Anderson | 2010-11-29 | 1 | -0/+15 | |
| | | | | llvm-svn: 120306 | |||||
* | The ARM BR_JT* pseudos don't need to use the printer jtblock_operand node to | Jim Grosbach | 2010-11-29 | 1 | -4/+4 | |
| | | | | | | get the pretty-printer. That's handled explicityly by the MC lowering now. llvm-svn: 120305 | |||||
* | I swear I did a make clean and make before committing all this... | Michael J. Spencer | 2010-11-29 | 1 | -1/+1 | |
| | | | | llvm-svn: 120304 | |||||
* | Switch ARM BR_JTm and BR_JTr instructions to be MC-expanded pseudos. | Jim Grosbach | 2010-11-29 | 3 | -43/+95 | |
| | | | | llvm-svn: 120303 | |||||
* | Add more Thumb encodings. | Bill Wendling | 2010-11-29 | 1 | -12/+30 | |
| | | | | llvm-svn: 120279 | |||||
* | More Thumb encodings. | Bill Wendling | 2010-11-29 | 1 | -24/+76 | |
| | | | | llvm-svn: 120278 | |||||
* | Add Thumb encodings for REV instructions. | Bill Wendling | 2010-11-29 | 1 | -19/+37 | |
| | | | | llvm-svn: 120277 | |||||
* | Add more Thumb encodings. | Bill Wendling | 2010-11-29 | 1 | -24/+58 | |
| | | | | llvm-svn: 120272 | |||||
* | Add support for NEON VLD2-dup instructions. | Bob Wilson | 2010-11-28 | 8 | -8/+255 | |
| | | | | llvm-svn: 120236 | |||||
* | Another minor refactoring for VLD1DUP instructions. | Bob Wilson | 2010-11-28 | 1 | -22/+20 | |
| | | | | | | | The op11_8 field is the same for all of them so put it in the instruction classes instead of specifying it separately for each instruction. llvm-svn: 120234 | |||||
* | Add entry in getTargetNodeName() for ARMISD::VBICIMM. | Bob Wilson | 2010-11-28 | 1 | -1/+2 | |
| | | | | llvm-svn: 120233 | |||||
* | Move more PEI-related hooks to TFI | Anton Korobeynikov | 2010-11-27 | 4 | -327/+328 | |
| | | | | llvm-svn: 120229 | |||||
* | Move callee-saved regs spills / reloads to TFI | Anton Korobeynikov | 2010-11-27 | 8 | -229/+232 | |
| | | | | llvm-svn: 120228 | |||||
* | Refactor. Set alignment bit in VLD1-dup instruction classes. | Bob Wilson | 2010-11-27 | 1 | -25/+17 | |
| | | | | llvm-svn: 120197 | |||||
* | Add NEON VLD1-dup instructions (load 1 element to all lanes). | Bob Wilson | 2010-11-27 | 5 | -2/+119 | |
| | | | | llvm-svn: 120194 | |||||
* | Fix incorrect scheduling itineraries for NEON vld1/vst1 instructions. | Bob Wilson | 2010-11-27 | 2 | -8/+8 | |
| | | | | | | | | I added these instructions recently but I have no idea where these "1" values in the NextCycles field came from. As far as I can tell now, these instruction stages are clearly intended to overlap. llvm-svn: 120193 | |||||
* | MC/Mach-O: Switch to using MachOFormat.h. | Daniel Dunbar | 2010-11-27 | 1 | -3/+4 | |
| | | | | | | - I'm leaving MachO.h, because I believe it has external consumers, but I would really like to eliminate it (we have stylistic disagreements with one another). llvm-svn: 120187 | |||||
* | Remove the unused TheTarget member. | Rafael Espindola | 2010-11-26 | 1 | -1/+1 | |
| | | | | llvm-svn: 120168 | |||||
* | Move the ARM reloc constants to Support/ELF.h | Jason W Kim | 2010-11-23 | 2 | -142/+4 | |
| | | | | llvm-svn: 120035 | |||||
* | Recognize sign/zero-extended constant BUILD_VECTORs for VMULL operations. | Bob Wilson | 2010-11-23 | 1 | -13/+109 | |
| | | | | | | | We need to check if the individual vector elements are sign/zero-extended values. For now this only handles constants values. Radar 8687140. llvm-svn: 120034 | |||||
* | Renaming ISD::BIT_CONVERT to ISD::BITCAST to better reflect the LLVM IR concept. | Wesley Peck | 2010-11-23 | 2 | -52/+52 | |
| | | | | llvm-svn: 119990 | |||||
* | Fix epilogue codegen to avoid leaving the stack pointer in an invalid | Evan Cheng | 2010-11-22 | 3 | -23/+50 | |
| | | | | | | | | | | | | | | | | | state. Previously Thumb2 would restore sp from fp like this: mov sp, r7 sub, sp, #4 If an interrupt is taken after the 'mov' but before the 'sub', callee-saved registers might be clobbered by the interrupt handler. Instead, try restoring directly from sp: add sp, #4 Or, if necessary (with VLA, etc.) use a scratch register to compute sp and then restore it: sub.w r4, r7, #8 mov sp, r7 rdar://8465407 llvm-svn: 119977 | |||||
* | Fix a compiler warning about Kind being used uninitialized | Duncan Sands | 2010-11-22 | 1 | -1/+1 | |
| | | | | | | when assertions are disabled. llvm-svn: 119962 | |||||
* | Pseudos default to 4byte size, let the instruction size field notice | Eric Christopher | 2010-11-21 | 1 | -1/+3 | |
| | | | | | | that branch tables are special. llvm-svn: 119954 | |||||
* | More Thumb encodings. | Bill Wendling | 2010-11-21 | 1 | -25/+82 | |
| | | | | llvm-svn: 119940 | |||||
* | Add encoding for ARM "trap" instruction. | Bill Wendling | 2010-11-21 | 1 | -4/+1 | |
| | | | | llvm-svn: 119938 | |||||
* | The "trap" instruction is one of this which doesn't have a condition code. Hack | Bill Wendling | 2010-11-21 | 1 | -2/+5 | |
| | | | | | | the code to not add a "condition code" if it's trap. llvm-svn: 119937 | |||||
* | - Give "trap" the correct encoding, at least according to Darwin's assembler. | Bill Wendling | 2010-11-21 | 1 | -3/+10 | |
| | | | | | | - Add comments saying where the encodings for other instructions came from. llvm-svn: 119936 | |||||
* | Use by-name rather than by-order operand matching for some NEON encodings. | Owen Anderson | 2010-11-21 | 1 | -34/+34 | |
| | | | | llvm-svn: 119923 | |||||
* | BR_JTadd is ARM-only, so use the proper pseudo class to get the predicate. | Jim Grosbach | 2010-11-21 | 1 | -1/+1 | |
| | | | | llvm-svn: 119918 |