summaryrefslogtreecommitdiff
path: root/lib/CodeGen/RegAllocSimple.cpp
Commit message (Collapse)AuthorAge
...
* Added code generation for function prologues and epilogues.Misha Brukman2002-12-04
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4930 91177308-0d34-0410-b5e6-96231b3b80d8
* Fun arithmetic with iterators aimed at fixing a bug: inserting instructionsMisha Brukman2002-12-04
| | | | | | | | after the *current* instruction while keeping the iterator in the same 'logical' place. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4923 91177308-0d34-0410-b5e6-96231b3b80d8
* This should fix the bug seen with some registers not being allocatedMisha Brukman2002-12-03
| | | | | | | | | | | | correctly: skipping instructions by incorrectly incrementing the pointer. Also adds support for building a reg-to-regclass map, and splits the function for saving register to stack into two, one suitable for virtual registers (which also assigns it a physical register) and one for simply storing back physical registers. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4898 91177308-0d34-0410-b5e6-96231b3b80d8
* * Abstracted out stack space allocation into its own functionMisha Brukman2002-12-02
| | | | | | | * Added saving of register values to the stack git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4858 91177308-0d34-0410-b5e6-96231b3b80d8
* A simple (spilling) register allocator.Misha Brukman2002-11-22
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4828 91177308-0d34-0410-b5e6-96231b3b80d8