aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/RegAlloc/RegClass.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Convert RegClass::IsColorUsedArr from a dynamically allocated array toChris Lattner2002-05-231-5/+4
| | | | | | | a vector. This makes asserting on array bounds easier. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2731 91177308-0d34-0410-b5e6-96231b3b80d8
* Numerous bug fixes:Vikram S. Adve2002-05-191-0/+16
| | | | | | | | | | | | | | | | | | | | -- passing FP arguments to functions with more than 6 arguments -- passing FP arguments to varargs functions -- passing FP arguments to functions with no prototypes -- incorrect coloring for CC registers (both int and FP): interferences were being completely ignored for int CC and were considered but no spills were marked for fp CC! Also some code improvements: -- better interface to generating machine instr for common cases (many places still need to be updated to use this interface) -- annotations on MachineInstr to communicate information from one codegen phase to another (now used to pass information about CALL/JMPLCALL operands from selection to register allocation) -- all sizes and offests in class TargetData are uint64_t instead of uint git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2642 91177308-0d34-0410-b5e6-96231b3b80d8
* Eliminate duplicate or unneccesary #include'sChris Lattner2002-04-291-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2397 91177308-0d34-0410-b5e6-96231b3b80d8
* Only emit message if DEBUG_RA is onChris Lattner2002-04-151-6/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2252 91177308-0d34-0410-b5e6-96231b3b80d8
* s/method/functionChris Lattner2002-04-081-3/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2177 91177308-0d34-0410-b5e6-96231b3b80d8
* Changes to build successfully with GCC 3.02Chris Lattner2002-01-201-12/+13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1503 91177308-0d34-0410-b5e6-96231b3b80d8
* Fixed a bug in spill cost estimationRuchira Sasanka2002-01-081-4/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1500 91177308-0d34-0410-b5e6-96231b3b80d8
* PhyRegAlloc.cpp: Added temp area resetting before every callRuchira Sasanka2002-01-071-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1499 91177308-0d34-0410-b5e6-96231b3b80d8
* Added destructors and comments.Ruchira Sasanka2002-01-071-22/+54
| | | | | | | Added correct spill candidate selection logic. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1493 91177308-0d34-0410-b5e6-96231b3b80d8
* Changed code to ignore Phi Nodes in PhyRegAllocRuchira Sasanka2001-11-101-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1253 91177308-0d34-0410-b5e6-96231b3b80d8
* Fixed bug - added code in pushUnconstrainedIGNodes() to check whether a nodeRuchira Sasanka2001-11-061-8/+17
| | | | | | | is already pushed to stack by a previous call to the same method. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1154 91177308-0d34-0410-b5e6-96231b3b80d8
* Bug fix: uninitialized variable.Vikram S. Adve2001-11-061-5/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1147 91177308-0d34-0410-b5e6-96231b3b80d8
* Added support for caller savingRuchira Sasanka2001-10-161-11/+11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@847 91177308-0d34-0410-b5e6-96231b3b80d8
* Output to cerr rather than cout so that debug info doesn't mess up assembly ↵Chris Lattner2001-10-151-11/+11
| | | | | | generation git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@840 91177308-0d34-0410-b5e6-96231b3b80d8
* fixed printing messagesRuchira Sasanka2001-09-151-21/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@590 91177308-0d34-0410-b5e6-96231b3b80d8
* *** empty log message ***Ruchira Sasanka2001-09-141-0/+202
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@580 91177308-0d34-0410-b5e6-96231b3b80d8