summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
Commit message (Collapse)AuthorAgeFilesLines
* Added LLVM copyright notice to Makefiles.John Criswell2003-10-206-0/+48
| | | | llvm-svn: 9312
* Added LLVM project notice to the top of every C++ source file.John Criswell2003-10-2027-0/+189
| | | | | | Header files will be on the way. llvm-svn: 9298
* Change the Opcode enum for PHI nodes from "Instruction::PHINode" to ↵Chris Lattner2003-10-191-2/+2
| | | | | | "Instruction::PHI" to be more consistent with the other instructions. llvm-svn: 9269
* #include vector which we will need here soonChris Lattner2003-10-151-0/+1
| | | | llvm-svn: 9144
* Decrease usage of use_size()Chris Lattner2003-10-151-1/+1
| | | | llvm-svn: 9135
* Regularize header file commentsChris Lattner2003-10-132-9/+7
| | | | llvm-svn: 9071
* * Doxygenified commentsMisha Brukman2003-10-101-8/+8
| | | | | | | * Wrap code at 80 columns * Ordered includes according to LLVM style guide llvm-svn: 9020
* Change MRegisterDesc::AliasSet, TargetInstrDescriptor::ImplicitDefsAlkis Evlogimenos2003-10-084-44/+54
| | | | | | | | | | | | | | | | | | | | | and TargetInstrDescriptor::ImplicitUses to always point to a null terminated array and never be null. So there is no need to check for pointer validity when iterating over those sets. Code that looked like: if (const unsigned* AS = TID.ImplicitDefs) { for (int i = 0; AS[i]; ++i) { // use AS[i] } } was changed to: for (const unsigned* AS = TID.ImplicitDefs; *AS; ++AS) { // use *AS } llvm-svn: 8960
* Moved enum and command-line option in separate file. Also added function ↵Alkis Evlogimenos2003-10-021-0/+35
| | | | | | that returns the user selected register allocator to the caller. llvm-svn: 8819
* include passes.h which defines the interface this file exposesChris Lattner2003-09-301-4/+4
| | | | llvm-svn: 8793
* Update head-of-file comment.Brian Gaeke2003-09-241-1/+10
| | | | llvm-svn: 8699
* Untabify tabs in stuff I've recently added.Brian Gaeke2003-09-242-3/+156
| | | | | | Check in my register allocator state-saving code. llvm-svn: 8698
* Use getRegClassID() instead of getRegClass()->getID(), since it's there.Brian Gaeke2003-09-241-17/+15
| | | | | | | Shorten the markSuggestedColorUsable method. Add a switch for saving reg. alloc. state (coming soon). llvm-svn: 8697
* Remove some unused methods of class IGNode.Brian Gaeke2003-09-241-13/+0
| | | | llvm-svn: 8696
* Move getAnalysisUsage method from header to .cpp file. Add a normal fileChris Lattner2003-09-232-21/+22
| | | | | | header comment llvm-svn: 8679
* Use C++ math header instead of C version.Brian Gaeke2003-09-211-1/+1
| | | | llvm-svn: 8648
* Erase now-unused prototypes.Brian Gaeke2003-09-211-3/+0
| | | | llvm-svn: 8647
* Rearrange #includes ... since there are fewer now I guess it's a win.Brian Gaeke2003-09-211-2/+2
| | | | | | | (I also zapped printMachineCode() and printLabel() at the previous checkin, but forgot to mention it.) llvm-svn: 8646
* Standardize the names of include guards.Brian Gaeke2003-09-215-11/+10
| | | | llvm-svn: 8645
* Standardize the names of include guards.Brian Gaeke2003-09-211-4/+2
| | | | | | Remove more excess whitespace. llvm-svn: 8644
* Standardize the names of include guards.Brian Gaeke2003-09-211-6/+5
| | | | | | Fix typos in file header comment. llvm-svn: 8643
* I tried to standardize the formatting and tidy up the huge amount ofBrian Gaeke2003-09-212-204/+33
| | | | | | excess whitespace a little. Also improved some comments. llvm-svn: 8642
* Convert PhyRegAlloc into a proper pass.Brian Gaeke2003-09-212-132/+98
| | | | | | | | | | | | | | | | | | | | | | PhyRegAlloc.cpp: Don't include TargetMachine.h or TargetRegInfo.h, because these are provided by PhyRegAlloc.h. Merge class RegisterAllocator into class PhyRegAlloc. Simplify & move ctor, dtor to PhyRegAlloc.h. Make some of PhyRegAlloc's reference members into pointer members, so they can be more easily messed with. MarkAllocatedRegs() becomes a member method, with fewer args. PhyRegAlloc.h: Include Pass.h, TargetMachine.h and TargetRegInfo.h. Don't declare TargetRegInfo forward. Give AddedInstrns the obvious clear() method. Make some of PhyRegAlloc's reference members into pointer members, so they can be more easily messed with. Add prototype for markAllocatedRegs(). Remove unused inline void constructLiveRanges(). llvm-svn: 8641
* Fixed spelling.Misha Brukman2003-09-174-11/+11
| | | | llvm-svn: 8588
* Fix typo in comment. Take out some random whitespace.Brian Gaeke2003-09-161-4/+1
| | | | | | (Partial merge from my working file) llvm-svn: 8564
* Edit comment for accuracyBrian Gaeke2003-09-161-3/+3
| | | | llvm-svn: 8562
* Add flag to control whether or not delay slots are filled duringVikram S. Adve2003-09-161-1/+7
| | | | | | instruction scheduling (this is off by default). llvm-svn: 8553
* Fix typos in comments.Brian Gaeke2003-09-151-2/+2
| | | | llvm-svn: 8523
* Fixed spelling and grammar.Misha Brukman2003-09-112-18/+18
| | | | llvm-svn: 8489
* Don't build dead directoriesChris Lattner2003-09-011-1/+1
| | | | llvm-svn: 8308
* Remove dead library makefileChris Lattner2003-09-011-8/+0
| | | | llvm-svn: 8304
* Remove makefile for dead libraryChris Lattner2003-09-011-9/+0
| | | | llvm-svn: 8303
* LiveRange.h is now in lib/CodeGen/RegAllocChris Lattner2003-09-011-1/+1
| | | | llvm-svn: 8299
* LiveRangeInfo got moved into the lib/CodeGen/RegAlloc directoryChris Lattner2003-09-012-2/+2
| | | | llvm-svn: 8297
* PhyRegAlloc.h got moved to lib/CodeGen/RegAllocChris Lattner2003-09-011-1/+1
| | | | llvm-svn: 8296
* Move IGNode from public include directory to here. Minor cleanups like ↵Chris Lattner2003-09-015-117/+102
| | | | | | adding std:: namespace qualifiers llvm-svn: 8295
* Fixed two double free bugs that caused llc to segfault or run forever.John Criswell2003-08-281-5/+21
| | | | llvm-svn: 8191
* Removing READMETanya Lattner2003-08-282-35/+2
| | | | llvm-svn: 8180
* Putting my revised version of ModuloScheduling in cvs. This is not complete...Tanya Lattner2003-08-284-2940/+155
| | | | llvm-svn: 8179
* Moved index into BB to common graph class because its needed by ↵Tanya Lattner2003-08-282-4/+1
| | | | | | ModuloSchedGraph. llvm-svn: 8174
* Added/removed header fileTanya Lattner2003-08-271-1/+0
| | | | llvm-svn: 8160
* *** empty log message ***Tanya Lattner2003-08-273-416/+273
| | | | llvm-svn: 8153
* First version of SchedGraph common class and refactoring of SchedGraph.Tanya Lattner2003-08-255-481/+353
| | | | llvm-svn: 8148
* Fix bug: Jello/2003-08-23-RegisterAllocatePhysReg.llChris Lattner2003-08-231-13/+21
| | | | llvm-svn: 8095
* The word `dependent' has no `a'.Misha Brukman2003-08-212-2/+2
| | | | llvm-svn: 8030
* Fix spelloChris Lattner2003-08-211-1/+1
| | | | llvm-svn: 8029
* Spell `necessary' correctly.Misha Brukman2003-08-181-1/+1
| | | | llvm-svn: 7944
* Fix bug: Jello/2003-08-15-AllocaAssertion.llChris Lattner2003-08-171-8/+18
| | | | llvm-svn: 7916
* Fix typo in commentBrian Gaeke2003-08-151-1/+1
| | | | llvm-svn: 7906
* Remove uses of the NonCopyable class, to make the doxygen output look betterChris Lattner2003-08-151-9/+17
| | | | llvm-svn: 7880
OpenPOWER on IntegriCloud