summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* 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 De Morgan's name.Misha Brukman2004-07-301-2/+2
| | | | llvm-svn: 15343
* Start using the PatternMatcher a bit.Chris Lattner2004-07-301-112/+88
| | | | llvm-svn: 15342
* Convert a few assertions with side-effects into regular old runtime checks.Brian Gaeke2004-07-291-5/+8
| | | | | | | | | These side-effects seem to make a difference when using llc -march=sparcv9 in Release mode (i.e., with -DNDEBUG); when they are left out, lots of instructions just get dropped on the floor, because they never end up in the schedule. llvm-svn: 15339
* Fix #includes of i*.h => Instructions.h as per PR403.Misha Brukman2004-07-291-1/+0
| | | | llvm-svn: 15337
* Fix #includes of i*.h => Instructions.h as per PR403.Misha Brukman2004-07-2938-69/+39
| | | | llvm-svn: 15334
* Fix #includes of i*.h => Instructions.h as per PR403:Chris Lattner2004-07-291-1/+1
| | | | | | http://llvm.cs.uiuc.edu/PR403 . llvm-svn: 15333
* Header movedChris Lattner2004-07-292-2/+2
| | | | llvm-svn: 15332
* Fix #includes of i*.h => Instructions.h as per PR403:Chris Lattner2004-07-297-13/+7
| | | | | | http://llvm.cs.uiuc.edu/PR403 . llvm-svn: 15331
* Fix #includes of i*.h => Instructions.h as per PR403.Misha Brukman2004-07-2910-23/+11
| | | | llvm-svn: 15328
* Fix #includes of i*.h files => Instructions.h as per PR403Misha Brukman2004-07-293-8/+4
| | | | llvm-svn: 15327
* Merge i*.cpp definitions into Instructions.cpp as part of bug403.Alkis Evlogimenos2004-07-296-849/+802
| | | | llvm-svn: 15326
* Merge i*.h headers into Instructions.h as part of bug403.Alkis Evlogimenos2004-07-2913-24/+15
| | | | llvm-svn: 15325
* Fix test/Regression/Analysis/BasicAA/2004-07-28-MustAliasbug.llxChris Lattner2004-07-291-5/+9
| | | | | | | This also fixes the miscompilation of MallocBench/gs with dead store elimination enabled. llvm-svn: 15324
* 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
* TargetInstrInfo::hasOperandInterlock() is always true, because it isBrian Gaeke2004-07-281-10/+1
| | | | | | never overridden by any target. llvm-svn: 15308
* 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
* This change fixed a bug in the function visitMul. The prior versionRobert Bocchino2004-07-271-3/+3
| | | | | | | | | | | | | | | assumed that a constant on the RHS of a multiplication was either an IntConstant or an FPConstant. It checked for an IntConstant and then, if it did not find one, did a hard cast to an FPConstant. That code would crash if the RHS were a ConstantExpr that was neither an IntConstant nor an FPConstant. This version replaces the hard cast with a dyn_cast. It performs the same way for IntConstants and FPConstants but does nothing, instead of crashing, for constant expressions. The regression test for this change is 2004-07-27-ConstantExprMul.ll. llvm-svn: 15291
* 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
* Make the create...() functions for some of these passes return a FunctionPass *.Brian Gaeke2004-07-273-3/+3
| | | | llvm-svn: 15276
* Fixed saving/restoring LR unconditionally, only done as necessary.Misha Brukman2004-07-271-1/+0
| | | | llvm-svn: 15275
* Save and restore LR just like any other register and ONLY if we actually modifyMisha Brukman2004-07-271-11/+20
| | | | | | it (due to calls or globals access). We now compile `void empty(){}' to `blr'. llvm-svn: 15274
OpenPOWER on IntegriCloud