summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
Commit message (Collapse)AuthorAgeFilesLines
...
* Rename the Printer class -> X86AsmPrinter.Chris Lattner2004-08-011-34/+46
| | | | | | Include the tablegenerated assembly writer. llvm-svn: 15389
* Factor a bunch of the rules and add support for generating the asmwriter.Chris Lattner2004-08-011-21/+23
| | | | llvm-svn: 15388
* 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. llvm-svn: 15387
* Add the 'ops' marker, add an AsmString initializerChris Lattner2004-08-011-1/+6
| | | | llvm-svn: 15383
* Completely disable the pattern isel until it is more substantial.Chris Lattner2004-08-011-0/+4
| | | | llvm-svn: 15380
* 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. llvm-svn: 15379
* Move the 'Expander' node to later in the file, with the other experimentalChris Lattner2004-08-011-15/+23
| | | | | | stuff. The pattern becomes a list, add some stuff, add some comments. llvm-svn: 15378
* Remove obsolete fileChris Lattner2004-08-011-393/+0
| | | | llvm-svn: 15377
* Align breaks.Alkis Evlogimenos2004-07-311-6/+6
| | | | llvm-svn: 15371
* Add breaksChris Lattner2004-07-311-12/+12
| | | | llvm-svn: 15365
* Simplify code a bit.Alkis Evlogimenos2004-07-311-3/+1
| | | | llvm-svn: 15364
* Correctly spell 'unconditional'.Alkis Evlogimenos2004-07-311-1/+1
| | | | llvm-svn: 15363
* Implement insertGoto and reverseBranchCondition for the X86.Alkis Evlogimenos2004-07-312-0/+43
| | | | llvm-svn: 15362
* I'm pretty sure that ba is branch always, which is a barrier. Brg shouldChris Lattner2004-07-311-1/+3
| | | | | | check this :) llvm-svn: 15357
* Mark barrier instructions. Execution does not fall through uncond branchesChris Lattner2004-07-311-2/+4
| | | | | | or return intructions. llvm-svn: 15356
* New flagChris Lattner2004-07-311-0/+1
| | | | llvm-svn: 15354
* * Conditional save/restore of LR disabled as it's not quite correctMisha Brukman2004-07-301-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 Brukman2004-07-301-2/+2
| | | | llvm-svn: 15346
* * Temporarily suspend LR save/restore optimization as it is not quite correctMisha Brukman2004-07-301-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 Lattner2004-07-296-12/+6
| | | | | | http://llvm.cs.uiuc.edu/PR403 . llvm-svn: 15331
* Get rid of a few dead method declarations.Brian Gaeke2004-07-291-7/+0
| | | | llvm-svn: 15323
* Get rid of calls to void llvm::printSet(const ValueSet &).Brian Gaeke2004-07-292-21/+10
| | | | llvm-svn: 15322
* Get rid of calls to void llvm::printSet(const ValueSet &).Brian Gaeke2004-07-292-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 aBrian Gaeke2004-07-291-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 Gaeke2004-07-291-5/+5
| | | | llvm-svn: 15319
* Remove mustSaveAcrossCalls flag, which isn't ever read, and its mutator,Brian Gaeke2004-07-292-10/+1
| | | | | | markForSaveAcrossCalls. llvm-svn: 15317
* Minor correctionsChris Lattner2004-07-282-4/+4
| | | | llvm-svn: 15309
* Add notes on bug involving casting ulong -> double, thanks to Nate Begeman.Misha Brukman2004-07-281-0/+17
| | | | llvm-svn: 15307
* Simplify loading (un)signed constants to registers, patch by Nate Begeman.Misha Brukman2004-07-282-90/+94
| | | | llvm-svn: 15306
* Remove an extra 8 byte distance penalty. Patch by Nate Begeman.Misha Brukman2004-07-281-4/+0
| | | | llvm-svn: 15305
* Find longs by type, not by their primitive size being 64. Patch by Nate Begeman.Misha Brukman2004-07-282-2/+2
| | | | llvm-svn: 15304
* LI can only take signed values, so values > 32767 can only be loaded with ORIMisha Brukman2004-07-282-2/+14
| | | | llvm-svn: 15299
* Reorganize tests to place them in proper directories.Misha Brukman2004-07-281-4/+4
| | | | llvm-svn: 15298
* UnitTests 2003-05-26-Shorts and 2003-07-09-LoadShorts have been fixed;Misha Brukman2004-07-281-3/+1
| | | | | | 2003-05-22-VarSizeArray is broken. llvm-svn: 15297
* Fix printing of immediate operands by looking at their operand types inMisha Brukman2004-07-282-30/+52
| | | | | | | the TargetInstrInfo. This fixes UnitTests 2003-05-26-Shorts and 2003-07-09-LoadShorts. llvm-svn: 15296
* Renamed files:Misha Brukman2004-07-274-9/+9
| | | | | | | * PowerPCReg.td => PowerPCRegisterinfo.td * PowerPCInstrs.td => PowerPCInstrInfo.td llvm-svn: 15295
* ConstantTypeMustBeLoaded has been incorporated into SparcV9PreSelection, itsBrian Gaeke2004-07-271-5/+0
| | | | | | only user. llvm-svn: 15294
* This was the only user of TargetInstrInfo::ConstantTypeMustBeLoaded().Brian Gaeke2004-07-271-1/+5
| | | | llvm-svn: 15293
* Get rid of the (apparently non-working) filePrinterEmitter which is added inBrian Gaeke2004-07-271-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 Brukman2004-07-271-1/+8
| | | | llvm-svn: 15288
* Correctly print out long branches, assert on finding pseudo instr COND_BRANCHMisha Brukman2004-07-272-2/+24
| | | | | | Patch by Nate Begeman. llvm-svn: 15286
* Run the branch selection pass right before the asm printer.Misha Brukman2004-07-271-0/+2
| | | | | | Patch by Nate Begeman. llvm-svn: 15285
* Remove empty unused method processFunctionBeforeFrameFinalized()Misha Brukman2004-07-272-8/+0
| | | | llvm-svn: 15284
* Add COND_BRANCH pseudo instruction, patch by Nate Begeman.Misha Brukman2004-07-271-0/+1
| | | | llvm-svn: 15283
* Build COND_BRANCHes which may become long or short, decided by a later pass.Misha Brukman2004-07-272-46/+28
| | | | | | Patch by Nate Begeman. llvm-svn: 15282
* Moved definition of invertPPCBranchOpcode() into PowerPCInstrInfo class.Misha Brukman2004-07-271-1/+14
| | | | | | Patch by Nate Begeman. llvm-svn: 15281
* Add PowerPCBranchSelector to discover which are `long' branches.Misha Brukman2004-07-272-1/+144
| | | | | | Contributed by Nate Begeman. llvm-svn: 15280
* TargetInstrInfo::getNOPOpCode() has been replaced by a reference to V9::NOP.Brian Gaeke2004-07-272-2/+3
| | | | llvm-svn: 15279
* Convert many of the virtual TargetInstrInfo methods used as helperBrian Gaeke2004-07-274-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 onlyBrian Gaeke2004-07-272-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
OpenPOWER on IntegriCloud