Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Rename the Printer class -> X86AsmPrinter. | Chris Lattner | 2004-08-01 | 1 | -34/+46 | |
| | | | | | | Include the tablegenerated assembly writer. llvm-svn: 15389 | |||||
* | Factor a bunch of the rules and add support for generating the asmwriter. | Chris Lattner | 2004-08-01 | 1 | -21/+23 | |
| | | | | llvm-svn: 15388 | |||||
* | Specify an asm string and operands lists for a bunch of instructions. | Chris Lattner | 2004-08-01 | 1 | -38/+75 | |
| | | | | | | This only really covers no-operand instructions so far. llvm-svn: 15387 | |||||
* | Add the 'ops' marker, add an AsmString initializer | Chris Lattner | 2004-08-01 | 1 | -1/+6 | |
| | | | | llvm-svn: 15383 | |||||
* | Completely disable the pattern isel until it is more substantial. | Chris Lattner | 2004-08-01 | 1 | -0/+4 | |
| | | | | llvm-svn: 15380 | |||||
* | Entirely eliminate all patterns and expanders from this file. We shall go | Chris Lattner | 2004-08-01 | 1 | -82/+45 | |
| | | | | | | with an incremental approach rather than a revolutionary approach. llvm-svn: 15379 | |||||
* | Move the 'Expander' node to later in the file, with the other experimental | Chris Lattner | 2004-08-01 | 1 | -15/+23 | |
| | | | | | | stuff. The pattern becomes a list, add some stuff, add some comments. llvm-svn: 15378 | |||||
* | Remove obsolete file | Chris Lattner | 2004-08-01 | 1 | -393/+0 | |
| | | | | llvm-svn: 15377 | |||||
* | Align breaks. | Alkis Evlogimenos | 2004-07-31 | 1 | -6/+6 | |
| | | | | llvm-svn: 15371 | |||||
* | Add breaks | Chris Lattner | 2004-07-31 | 1 | -12/+12 | |
| | | | | llvm-svn: 15365 | |||||
* | Simplify code a bit. | Alkis Evlogimenos | 2004-07-31 | 1 | -3/+1 | |
| | | | | llvm-svn: 15364 | |||||
* | Correctly spell 'unconditional'. | Alkis Evlogimenos | 2004-07-31 | 1 | -1/+1 | |
| | | | | llvm-svn: 15363 | |||||
* | Implement insertGoto and reverseBranchCondition for the X86. | Alkis Evlogimenos | 2004-07-31 | 2 | -0/+43 | |
| | | | | llvm-svn: 15362 | |||||
* | I'm pretty sure that ba is branch always, which is a barrier. Brg should | Chris Lattner | 2004-07-31 | 1 | -1/+3 | |
| | | | | | | check this :) llvm-svn: 15357 | |||||
* | Mark barrier instructions. Execution does not fall through uncond branches | Chris Lattner | 2004-07-31 | 1 | -2/+4 | |
| | | | | | | or return intructions. llvm-svn: 15356 | |||||
* | New flag | Chris Lattner | 2004-07-31 | 1 | -0/+1 | |
| | | | | llvm-svn: 15354 | |||||
* | * Conditional save/restore of LR disabled as it's not quite correct | Misha Brukman | 2004-07-30 | 1 | -7/+7 | |
| | | | | | | | | | | * sumarray2d fixed: large fixed-size alloca * make is now compileable * Re-organized tests to fit them under proper headings Patch by Nate Begeman. llvm-svn: 15347 | |||||
* | Do not mark LR as callee-save: not quite correctly done. Patch: Nate Begeman. | Misha Brukman | 2004-07-30 | 1 | -2/+2 | |
| | | | | llvm-svn: 15346 | |||||
* | * Temporarily suspend LR save/restore optimization as it is not quite correct | Misha Brukman | 2004-07-30 | 1 | -11/+21 | |
| | | | | | | * Implement large fixed-size allocas Entire patch by Nate Begeman. llvm-svn: 15345 | |||||
* | Fix #includes of i*.h => Instructions.h as per PR403: | Chris Lattner | 2004-07-29 | 6 | -12/+6 | |
| | | | | | | http://llvm.cs.uiuc.edu/PR403 . llvm-svn: 15331 | |||||
* | Get rid of a few dead method declarations. | Brian Gaeke | 2004-07-29 | 1 | -7/+0 | |
| | | | | llvm-svn: 15323 | |||||
* | Get rid of calls to void llvm::printSet(const ValueSet &). | Brian Gaeke | 2004-07-29 | 2 | -21/+10 | |
| | | | | llvm-svn: 15322 | |||||
* | Get rid of calls to void llvm::printSet(const ValueSet &). | Brian Gaeke | 2004-07-29 | 2 | -14/+11 | |
| | | | | | | Use LiveRange's iterator types and operations instead of ValueSet's. llvm-svn: 15321 | |||||
* | Don't derive from ValueSet to implement class LiveRange; instead, use a | Brian Gaeke | 2004-07-29 | 1 | -8/+25 | |
| | | | | | | | SetVector<Value *> data member. Add << operator for LiveRanges (a dumb one, for now.) llvm-svn: 15320 | |||||
* | Fix a few typoes and grammaroes in comments. | Brian Gaeke | 2004-07-29 | 1 | -5/+5 | |
| | | | | llvm-svn: 15319 | |||||
* | Remove mustSaveAcrossCalls flag, which isn't ever read, and its mutator, | Brian Gaeke | 2004-07-29 | 2 | -10/+1 | |
| | | | | | | markForSaveAcrossCalls. llvm-svn: 15317 | |||||
* | Minor corrections | Chris Lattner | 2004-07-28 | 2 | -4/+4 | |
| | | | | llvm-svn: 15309 | |||||
* | Add notes on bug involving casting ulong -> double, thanks to Nate Begeman. | Misha Brukman | 2004-07-28 | 1 | -0/+17 | |
| | | | | llvm-svn: 15307 | |||||
* | Simplify loading (un)signed constants to registers, patch by Nate Begeman. | Misha Brukman | 2004-07-28 | 2 | -90/+94 | |
| | | | | llvm-svn: 15306 | |||||
* | Remove an extra 8 byte distance penalty. Patch by Nate Begeman. | Misha Brukman | 2004-07-28 | 1 | -4/+0 | |
| | | | | llvm-svn: 15305 | |||||
* | Find longs by type, not by their primitive size being 64. Patch by Nate Begeman. | Misha Brukman | 2004-07-28 | 2 | -2/+2 | |
| | | | | llvm-svn: 15304 | |||||
* | LI can only take signed values, so values > 32767 can only be loaded with ORI | Misha Brukman | 2004-07-28 | 2 | -2/+14 | |
| | | | | llvm-svn: 15299 | |||||
* | Reorganize tests to place them in proper directories. | Misha Brukman | 2004-07-28 | 1 | -4/+4 | |
| | | | | llvm-svn: 15298 | |||||
* | UnitTests 2003-05-26-Shorts and 2003-07-09-LoadShorts have been fixed; | Misha Brukman | 2004-07-28 | 1 | -3/+1 | |
| | | | | | | 2003-05-22-VarSizeArray is broken. llvm-svn: 15297 | |||||
* | Fix printing of immediate operands by looking at their operand types in | Misha Brukman | 2004-07-28 | 2 | -30/+52 | |
| | | | | | | | the TargetInstrInfo. This fixes UnitTests 2003-05-26-Shorts and 2003-07-09-LoadShorts. llvm-svn: 15296 | |||||
* | Renamed files: | Misha Brukman | 2004-07-27 | 4 | -9/+9 | |
| | | | | | | | * PowerPCReg.td => PowerPCRegisterinfo.td * PowerPCInstrs.td => PowerPCInstrInfo.td llvm-svn: 15295 | |||||
* | ConstantTypeMustBeLoaded has been incorporated into SparcV9PreSelection, its | Brian Gaeke | 2004-07-27 | 1 | -5/+0 | |
| | | | | | | only user. llvm-svn: 15294 | |||||
* | This was the only user of TargetInstrInfo::ConstantTypeMustBeLoaded(). | Brian Gaeke | 2004-07-27 | 1 | -1/+5 | |
| | | | | llvm-svn: 15293 | |||||
* | Get rid of the (apparently non-working) filePrinterEmitter which is added in | Brian Gaeke | 2004-07-27 | 1 | -3/+1 | |
| | | | | | | debug mode. Its only effect seems to be the creation of an empty file... llvm-svn: 15289 | |||||
* | Branch selection support implemented by Nate Begeman for long branches. | Misha Brukman | 2004-07-27 | 1 | -1/+8 | |
| | | | | llvm-svn: 15288 | |||||
* | Correctly print out long branches, assert on finding pseudo instr COND_BRANCH | Misha Brukman | 2004-07-27 | 2 | -2/+24 | |
| | | | | | | Patch by Nate Begeman. llvm-svn: 15286 | |||||
* | Run the branch selection pass right before the asm printer. | Misha Brukman | 2004-07-27 | 1 | -0/+2 | |
| | | | | | | Patch by Nate Begeman. llvm-svn: 15285 | |||||
* | Remove empty unused method processFunctionBeforeFrameFinalized() | Misha Brukman | 2004-07-27 | 2 | -8/+0 | |
| | | | | llvm-svn: 15284 | |||||
* | Add COND_BRANCH pseudo instruction, patch by Nate Begeman. | Misha Brukman | 2004-07-27 | 1 | -0/+1 | |
| | | | | llvm-svn: 15283 | |||||
* | Build COND_BRANCHes which may become long or short, decided by a later pass. | Misha Brukman | 2004-07-27 | 2 | -46/+28 | |
| | | | | | | Patch by Nate Begeman. llvm-svn: 15282 | |||||
* | Moved definition of invertPPCBranchOpcode() into PowerPCInstrInfo class. | Misha Brukman | 2004-07-27 | 1 | -1/+14 | |
| | | | | | | Patch by Nate Begeman. llvm-svn: 15281 | |||||
* | Add PowerPCBranchSelector to discover which are `long' branches. | Misha Brukman | 2004-07-27 | 2 | -1/+144 | |
| | | | | | | Contributed by Nate Begeman. llvm-svn: 15280 | |||||
* | TargetInstrInfo::getNOPOpCode() has been replaced by a reference to V9::NOP. | Brian Gaeke | 2004-07-27 | 2 | -2/+3 | |
| | | | | llvm-svn: 15279 | |||||
* | Convert many of the virtual TargetInstrInfo methods used as helper | Brian Gaeke | 2004-07-27 | 4 | -58/+48 | |
| | | | | | | | | functions in SparcV9InstrSelection and SparcV9PreSelection into regular old global functions. As it happens, none of them really have anything to do with TargetInstrInfo. llvm-svn: 15278 | |||||
* | As it happens, none of these TargetInstrInfo methods which are only | Brian Gaeke | 2004-07-27 | 2 | -104/+90 | |
| | | | | | | | | | used in the SparcV9 backend really have anything to do with TargetInstrInfo, so we're converting them into regular old global functions and moving their declarations to SparcV9InstrSelectionSupport.h. (They're mostly used as helper functions for SparcV9InstrSelection.) llvm-svn: 15277 |