summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/AsmPrinter/X86ATTInstPrinter.h
Commit message (Collapse)AuthorAgeFilesLines
* Rename the AsmPrinter directory to InstPrinter for those targets that haveJim Grosbach2010-10-011-81/+0
| | | | | | | been MC-ized for assembly printing. MSP430 is mostly so, but still has the asm printer and lowering code in the printer subdir for the moment. llvm-svn: 115360
* Add 256-bit vaddsub, vhadd, vhsub, vblend and vdpp instructions!Bruno Cardoso Lopes2010-07-191-0/+3
| | | | llvm-svn: 108769
* Start the support for AVX instructions with 256-bit %ymm registers. A couple ofBruno Cardoso Lopes2010-07-091-0/+3
| | | | | | | | | | | | | | | notes: - The instructions are being added with dummy placeholder patterns using some 256 specifiers, this is not meant to work now, but since there are some multiclasses generic enough to accept them, when we go for codegen, the stuff will be already there. - Add VEX encoding bits to support YMM - Add MOVUPS and MOVAPS in the first round - Use "Y" as suffix for those Instructions: MOVUPSYrr, ... - All AVX instructions in X86InstrSSE.td will move soon to a new X86InstrAVX file. llvm-svn: 107996
* Change LEA to have 5 operands for its memory operand, justChris Lattner2010-07-081-10/+0
| | | | | | | | | | | like all other instructions, even though a segment is not allowed. This resolves a bunch of gross hacks in the encoder and makes LEA more consistent with the rest of the instruction set. No functionality change. llvm-svn: 107934
* fix an ugly wart in the MCInstPrinter api where theChris Lattner2010-04-041-3/+2
| | | | | | | | raw_ostream to print an instruction to had to be specified at MCInstPrinter construction time instead of being able to pick at each call to printInstruction. llvm-svn: 100307
* change a ton of code to not implicitly use the "O" raw_ostreamChris Lattner2010-04-041-32/+32
| | | | | | member of AsmPrinter. Instead, pass it in explicitly. llvm-svn: 100306
* enhance llvm-mc -show-inst to print the enum of an instruction, like so:Chris Lattner2010-02-111-2/+3
| | | | | | | | | | testb %al, %al ## <MCInst #2412 TEST8rr ## <MCOperand Reg:2> ## <MCOperand Reg:2>> jne LBB1_7 ## <MCInst #938 JNE_1 ## <MCOperand Expr:(LBB1_7)>> llvm-svn: 95935
* remove strings from instructions who are never asmprinted.Chris Lattner2009-10-191-2/+1
| | | | | | | | | All of these "subreg32" modifier instructions are handled explicitly by the MCInst lowering phase. If they got to the asmprinter, they would explode. They should eventually be replace with correct use of subregs. llvm-svn: 84526
* kill off printPICLabel now, it's specialness is handled byChris Lattner2009-09-201-1/+0
| | | | | | | the MachineInstr ->MCInst lowering process, not in the asmprinter. llvm-svn: 82388
* Give MCInstPrinter a MCAsmInfo member, make X86ATTInstPrinterChris Lattner2009-09-141-7/+8
| | | | | | be a MCInstPrinter. llvm-svn: 81746
* the tblgen produced 'getRegisterName' method does not accessChris Lattner2009-09-131-2/+1
| | | | | | the object, make it static instead of const. llvm-svn: 81711
* switch the x86 asmprinters to use getRegisterName instead Chris Lattner2009-09-131-3/+1
| | | | | | | of getting it from TRI, inst printing now is codegen context free! llvm-svn: 81710
* make tblgen produce a function that returns the name for a physreg.Chris Lattner2009-09-131-1/+4
| | | | | | Nothing is using this info yet. llvm-svn: 81707
* split MCInst printing out of the X86ATTInstPrinterChris Lattner2009-09-131-0/+86
class into its own X86ATTInstPrinter class. The inst printer now has just one dependence on the code generator (TRI). llvm-svn: 81703
OpenPOWER on IntegriCloud