summaryrefslogtreecommitdiff
path: root/lib/CodeGen
Commit message (Collapse)AuthorAge
...
* corrected insertCode4Spilled ... bug.Ruchira Sasanka2001-11-08
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1212 91177308-0d34-0410-b5e6-96231b3b80d8
* Uncommented LR spill code insertionRuchira Sasanka2001-11-08
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1207 91177308-0d34-0410-b5e6-96231b3b80d8
* Major change to how defs are found when adding dependences (theyVikram S. Adve2001-11-08
| | | | | | | | | are now found as part of the initial walk of the machine code). Also memory load/store instructions can be generated for non-memory LLVM instructions, which wasn't handled before. It is now. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1199 91177308-0d34-0410-b5e6-96231b3b80d8
* MachineCodeForMethod is now an annotation on class Method.Vikram S. Adve2001-11-08
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1198 91177308-0d34-0410-b5e6-96231b3b80d8
* Added two minor methods.Vikram S. Adve2001-11-08
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1187 91177308-0d34-0410-b5e6-96231b3b80d8
* Removed class RegStackOffsets and used class MachineCodeForMethodVikram S. Adve2001-11-08
| | | | | | | directly to manage stack frame. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1186 91177308-0d34-0410-b5e6-96231b3b80d8
* Major overhaul of stack frame management.Vikram S. Adve2001-11-08
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1185 91177308-0d34-0410-b5e6-96231b3b80d8
* Fixed bug - added code in pushUnconstrainedIGNodes() to check whether a nodeRuchira Sasanka2001-11-06
| | | | | | | 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-06
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1147 91177308-0d34-0410-b5e6-96231b3b80d8
* Modified graph construction to use one pass to find all defs.Vikram S. Adve2001-11-05
| | | | | | | | Avoids having to handle some special cases that cause complex interactions with instr. selection. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1138 91177308-0d34-0410-b5e6-96231b3b80d8
* Make reg. numbers signed ints.Vikram S. Adve2001-11-05
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1137 91177308-0d34-0410-b5e6-96231b3b80d8
* Minor method renameChris Lattner2001-11-04
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1119 91177308-0d34-0410-b5e6-96231b3b80d8
* Added an assertion since it seems like AdjList returns an errornous size in ↵Ruchira Sasanka2001-11-03
| | | | | | | | | method IGNode::pushOnStack(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1116 91177308-0d34-0410-b5e6-96231b3b80d8
* Added support for correct spilling of %ccrRuchira Sasanka2001-11-03
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1112 91177308-0d34-0410-b5e6-96231b3b80d8
* Arranged stack frame - needs furhter organizationRuchira Sasanka2001-11-03
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1108 91177308-0d34-0410-b5e6-96231b3b80d8
* Arranged stack frame - needs furhter organizationRuchira Sasanka2001-11-03
| | | | | | | Moved InsertCallerSaveInstr to the SparcRegInfo.cpp git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1106 91177308-0d34-0410-b5e6-96231b3b80d8
* Record constants that need to be emitted in the assembly code.Vikram S. Adve2001-10-28
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1010 91177308-0d34-0410-b5e6-96231b3b80d8
* Allow combinations of True/Anti/Output flags for each edge toVikram S. Adve2001-10-28
| | | | | | | support, e.g., dependences on Call instructions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1009 91177308-0d34-0410-b5e6-96231b3b80d8
* Add edges between call instructions and (a) load/store instructions, andVikram S. Adve2001-10-28
| | | | | | | | (b) any instructions that use or set CC registers. Whether or not the latter are needed really should be machine-dependent. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1008 91177308-0d34-0410-b5e6-96231b3b80d8
* Added support for spillingRuchira Sasanka2001-10-28
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@992 91177308-0d34-0410-b5e6-96231b3b80d8
* Added spill code support; moved insertCallerSaving to SparRegInfo sinceRuchira Sasanka2001-10-28
| | | | | | | we need to handle %ccr reg in a special way. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@990 91177308-0d34-0410-b5e6-96231b3b80d8
* added support to move "added instructions" after the delay slotRuchira Sasanka2001-10-23
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@968 91177308-0d34-0410-b5e6-96231b3b80d8
* Added support to move "added instructions" after the delay slotRuchira Sasanka2001-10-23
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@967 91177308-0d34-0410-b5e6-96231b3b80d8
* Use class MachineCodeForMethod to print machine code.Vikram S. Adve2001-10-22
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@948 91177308-0d34-0410-b5e6-96231b3b80d8
* Added class MachineCodeForMethod.Vikram S. Adve2001-10-22
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@947 91177308-0d34-0410-b5e6-96231b3b80d8
* Cosmetic changes only.Vikram S. Adve2001-10-22
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@946 91177308-0d34-0410-b5e6-96231b3b80d8
* Modify code that processes delay slots so that it preserves anyVikram S. Adve2001-10-22
| | | | | | | useful instructions already inserted into delay slots. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@945 91177308-0d34-0410-b5e6-96231b3b80d8
* Added support for both call/jmpl instructionsRuchira Sasanka2001-10-21
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@930 91177308-0d34-0410-b5e6-96231b3b80d8
* Added code to support unusable Suggested Colors.Ruchira Sasanka2001-10-19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@922 91177308-0d34-0410-b5e6-96231b3b80d8
* Added code to PhyRegAlloc to mark unusable suggested regsRuchira Sasanka2001-10-19
| | | | | | | Added initialization to AdjList to IGNode constructor - major bug fix git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@920 91177308-0d34-0410-b5e6-96231b3b80d8
* Changed Call interference infoRuchira Sasanka2001-10-19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@917 91177308-0d34-0410-b5e6-96231b3b80d8
* Corrected call interference bugRuchira Sasanka2001-10-19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@916 91177308-0d34-0410-b5e6-96231b3b80d8
* no major changeRuchira Sasanka2001-10-18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@914 91177308-0d34-0410-b5e6-96231b3b80d8
* Added implict operand printing for operator( ostream, MachineInstr&)Ruchira Sasanka2001-10-18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@912 91177308-0d34-0410-b5e6-96231b3b80d8
* removed some debug messagesRuchira Sasanka2001-10-18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@910 91177308-0d34-0410-b5e6-96231b3b80d8
* 1. Add a bottom-up pass on BURG trees that is used to fix constant operands.Vikram S. Adve2001-10-17
| | | | | | | | | | Needs to be bottom up because constant values may be forward-substituted to their uses (i.e., into the parent in the BURG tree). 2. Move most of the constant-fixup code into machine-indepedent file InstrSelectionSupport.cpp. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@859 91177308-0d34-0410-b5e6-96231b3b80d8
* Separate VM instruction that generates the instructions that compute a valueVikram S. Adve2001-10-17
| | | | | | | | from the value itself (the one causing an edge) because the latter may be a temporary used within the instruction sequence for the VM instruction. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@858 91177308-0d34-0410-b5e6-96231b3b80d8
* *** empty log message ***Vikram S. Adve2001-10-17
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@857 91177308-0d34-0410-b5e6-96231b3b80d8
* changed debugg message printing - no change to useful codeRuchira Sasanka2001-10-16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@850 91177308-0d34-0410-b5e6-96231b3b80d8
* No major change - commented some debug codeRuchira Sasanka2001-10-16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@849 91177308-0d34-0410-b5e6-96231b3b80d8
* Added support for caller savingRuchira Sasanka2001-10-16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@847 91177308-0d34-0410-b5e6-96231b3b80d8
* Print Debug Code to stderr instead of stdout so that it doesn't mess up the ↵Chris Lattner2001-10-15
| | | | | | assembly output git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@841 91177308-0d34-0410-b5e6-96231b3b80d8
* Output to cerr rather than cout so that debug info doesn't mess up assembly ↵Chris Lattner2001-10-15
| | | | | | generation git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@840 91177308-0d34-0410-b5e6-96231b3b80d8
* updated suggesting/coloring of call & return args & implicit operands.Ruchira Sasanka2001-10-15
| | | | | | | Changed added instr to a deque (from a vector) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@831 91177308-0d34-0410-b5e6-96231b3b80d8
* fixed a coalscing bugRuchira Sasanka2001-10-15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@828 91177308-0d34-0410-b5e6-96231b3b80d8
* * Fix privacy issues on RegToRefVecMapChris Lattner2001-10-13
| | | | | | | * Fix initialization order problems... git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@762 91177308-0d34-0410-b5e6-96231b3b80d8
* --corrected coalescing test: coalsed only if two are of the same reg classRuchira Sasanka2001-10-12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@729 91177308-0d34-0410-b5e6-96231b3b80d8
* Add graph edges due to implicit refs in each machine instruction.Vikram S. Adve2001-10-11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@724 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't insert useful instructions in delay slot of a RETURN.Vikram S. Adve2001-10-10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@721 91177308-0d34-0410-b5e6-96231b3b80d8
* Machine-independent code generation routines used in instructionVikram S. Adve2001-10-10
| | | | | | | selection. These used to live in several different places before. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@719 91177308-0d34-0410-b5e6-96231b3b80d8