aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/X86
Commit message (Collapse)AuthorAgeFilesLines
* Reduce the number of arguments in the instruction builder and make someReid Spencer2004-08-302-160/+137
| | | | | | | | | | improvements on instruction selection that account for register and frame index bases. Patch contributed by Jeff Cohen. Thanks Jeff! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16110 91177308-0d34-0410-b5e6-96231b3b80d8
* Add -sse[,2,3] arguments to LLCChris Lattner2004-08-242-0/+20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16018 91177308-0d34-0410-b5e6-96231b3b80d8
* Nuke commented out stuffChris Lattner2004-08-241-5/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16017 91177308-0d34-0410-b5e6-96231b3b80d8
* Switch from bytes to bits for alignment for consistencyChris Lattner2004-08-211-10/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15974 91177308-0d34-0410-b5e6-96231b3b80d8
* Reduce uses of getRegClassChris Lattner2004-08-211-14/+11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15973 91177308-0d34-0410-b5e6-96231b3b80d8
* Rename varChris Lattner2004-08-181-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15897 91177308-0d34-0410-b5e6-96231b3b80d8
* Start using alignment output routines from AsmPrinter.Chris Lattner2004-08-171-10/+8
| | | | | | | Changes to make this more similar to the ppc asmprinter git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15890 91177308-0d34-0410-b5e6-96231b3b80d8
* Use the AsmPrinter emitGlobalConstant.Chris Lattner2004-08-171-137/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15872 91177308-0d34-0410-b5e6-96231b3b80d8
* Start using the AsmPrinter to emit our first class constants. This alsoChris Lattner2004-08-161-109/+11
| | | | | | | | drops our half-assed support for cygwin, which noone uses and doesn't work anyway. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15839 91177308-0d34-0410-b5e6-96231b3b80d8
* Disable the pattern iselChris Lattner2004-08-154-25/+13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15787 91177308-0d34-0410-b5e6-96231b3b80d8
* Code insertion methods now return void instead of an int.Chris Lattner2004-08-152-23/+20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15780 91177308-0d34-0410-b5e6-96231b3b80d8
* These methods no longer take a TargetRegisterClass* operand.Chris Lattner2004-08-152-8/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15774 91177308-0d34-0410-b5e6-96231b3b80d8
* Eliminate MachineFunction& argument from eliminateFrameIndex in x86 Target. ↵Nate Begeman2004-08-142-4/+3
| | | | | | Get MachineFunction from MachineInstruction's parent's parent git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15739 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove a bunch of ad-hoc target-specific flags that were only used by theChris Lattner2004-08-113-57/+16
| | | | | | | old asmprinter. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15660 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove a dead methodChris Lattner2004-08-111-32/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15659 91177308-0d34-0410-b5e6-96231b3b80d8
* Finally, the entire instruction asmprinter is now generated from tblgen, woo!Chris Lattner2004-08-111-296/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15658 91177308-0d34-0410-b5e6-96231b3b80d8
* Add asmprintergen support for the last X86 instruction that needs it: ↵Chris Lattner2004-08-112-1/+12
| | | | | | pcrelative calls. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15657 91177308-0d34-0410-b5e6-96231b3b80d8
* This file is long deadChris Lattner2004-08-111-241/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15656 91177308-0d34-0410-b5e6-96231b3b80d8
* Scrunch memoperands, add a few more for floating point memopsChris Lattner2004-08-111-68/+61
| | | | | | | Eliminate the FPI*m classes, converting them to use FPI instead. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15655 91177308-0d34-0410-b5e6-96231b3b80d8
* Move hacks upChris Lattner2004-08-111-32/+30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15654 91177308-0d34-0410-b5e6-96231b3b80d8
* Make FPI take asm string and operand listChris Lattner2004-08-111-39/+33
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15653 91177308-0d34-0410-b5e6-96231b3b80d8
* Nuke the Im*i* patterns, by asmprintergenifying all users.Chris Lattner2004-08-111-70/+73
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15652 91177308-0d34-0410-b5e6-96231b3b80d8
* X86 instructions that read-modify-write memory are not LLVM two-address ↵Chris Lattner2004-08-111-78/+60
| | | | | | instructions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15651 91177308-0d34-0410-b5e6-96231b3b80d8
* Get rid of the Im8, Im16, Im32 classes, converting more instructions over toChris Lattner2004-08-111-224/+300
| | | | | | | asmprintergeneration git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15650 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove dead methodChris Lattner2004-08-111-13/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15647 91177308-0d34-0410-b5e6-96231b3b80d8
* Convert asmprinter to new style of instruction printerChris Lattner2004-08-112-9/+50
| | | | | | | Start asmprintergen'ifying machine instrs with memory operands. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15646 91177308-0d34-0410-b5e6-96231b3b80d8
* This is purely a formatting patch that gets us closer to the mecca of fittingChris Lattner2004-08-101-60/+103
| | | | | | | X86InstrInfo.td into 80 columns git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15629 91177308-0d34-0410-b5e6-96231b3b80d8
* Drop the first argument of FPI, and asmprinterify fxchChris Lattner2004-08-101-28/+32
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15628 91177308-0d34-0410-b5e6-96231b3b80d8
* This purely mechanical patch gives the "I" tblgen class operand list and asmChris Lattner2004-08-101-312/+239
| | | | | | | string operands, and adjusts all users to pass them in instead of using II. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15624 91177308-0d34-0410-b5e6-96231b3b80d8
* Convert Ii32 instructions over to use the asmprinter generatorChris Lattner2004-08-101-16/+16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15621 91177308-0d34-0410-b5e6-96231b3b80d8
* Convert the Ii16 instructions overChris Lattner2004-08-101-23/+26
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15606 91177308-0d34-0410-b5e6-96231b3b80d8
* Convert all Ii8 instructions over to the autogenerated asmprinter.Chris Lattner2004-08-101-36/+36
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15605 91177308-0d34-0410-b5e6-96231b3b80d8
* Stop using getValues().Alkis Evlogimenos2004-08-041-7/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15487 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a warningChris Lattner2004-08-011-2/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15409 91177308-0d34-0410-b5e6-96231b3b80d8
* Convert all I<> instructions to asmformat.Chris Lattner2004-08-011-224/+302
| | | | | | | Delete the 'name' field of all instructions that have asmformats. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15403 91177308-0d34-0410-b5e6-96231b3b80d8
* Eliminate 3 of the X86 printImplicit* flags.Chris Lattner2004-08-013-25/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15398 91177308-0d34-0410-b5e6-96231b3b80d8
* Get rid of 3 of the 4 'printimplicit' flags. Implicit operands are nowChris Lattner2004-08-011-79/+1
| | | | | | | explicitly listed in the asm string. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15397 91177308-0d34-0410-b5e6-96231b3b80d8
* Convert more instructions over to the asmprinterChris Lattner2004-08-011-50/+66
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15396 91177308-0d34-0410-b5e6-96231b3b80d8
* Handle registers a bit more efficientlyChris Lattner2004-08-011-1/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15395 91177308-0d34-0410-b5e6-96231b3b80d8
* give FP stack registers namesChris Lattner2004-08-011-2/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15394 91177308-0d34-0410-b5e6-96231b3b80d8
* Switch more instructions over to using the asmprinter. Fix bugs in the emissionChris Lattner2004-08-011-36/+47
| | | | | | | of in/out instructions (missing %'s on registers). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15393 91177308-0d34-0410-b5e6-96231b3b80d8
* The tblgen'erated asmparser wants a way to print operands.Chris Lattner2004-08-011-0/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15392 91177308-0d34-0410-b5e6-96231b3b80d8
* Rename the Printer class -> X86AsmPrinter.Chris Lattner2004-08-011-34/+46
| | | | | | | Include the tablegenerated assembly writer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15389 91177308-0d34-0410-b5e6-96231b3b80d8
* Factor a bunch of the rules and add support for generating the asmwriter.Chris Lattner2004-08-011-21/+23
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15388 91177308-0d34-0410-b5e6-96231b3b80d8
* Specify an asm string and operands lists for a bunch of instructions.Chris Lattner2004-08-011-38/+75
| | | | | | | This only really covers no-operand instructions so far. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15387 91177308-0d34-0410-b5e6-96231b3b80d8
* Completely disable the pattern isel until it is more substantial.Chris Lattner2004-08-011-0/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15380 91177308-0d34-0410-b5e6-96231b3b80d8
* Entirely eliminate all patterns and expanders from this file. We shall goChris Lattner2004-08-011-82/+45
| | | | | | | with an incremental approach rather than a revolutionary approach. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15379 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove obsolete fileChris Lattner2004-08-011-393/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15377 91177308-0d34-0410-b5e6-96231b3b80d8
* Align breaks.Alkis Evlogimenos2004-07-311-6/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15371 91177308-0d34-0410-b5e6-96231b3b80d8
* Add breaksChris Lattner2004-07-311-12/+12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15365 91177308-0d34-0410-b5e6-96231b3b80d8