summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
Commit message (Collapse)AuthorAgeFilesLines
* Adjust all stack variable offsets to be aligned by size.Vikram S. Adve2001-11-121-13/+55
| | | | llvm-svn: 1261
* Fix errors in computing downgrowing offsets, and inVikram S. Adve2001-11-111-11/+14
| | | | | | computing size of extra outgoing args. llvm-svn: 1256
* Only add true dep. edges from an earlier to a later instruction.Vikram S. Adve2001-11-112-31/+40
| | | | | | | This wasn't a problem until we started putting copies for Phi values that produced cycles in the SchedGraph! llvm-svn: 1254
* Changed code to ignore Phi Nodes in PhyRegAllocRuchira Sasanka2001-11-102-1/+8
| | | | llvm-svn: 1253
* Coalesing bug fix - now checks for the same regType instead of the sameRuchira Sasanka2001-11-101-3/+6
| | | | | | regClass since FP class has two reg Types. llvm-svn: 1236
* No major changeRuchira Sasanka2001-11-091-3/+3
| | | | llvm-svn: 1235
* Use node->getOpCode() instead of node->getMachineInstr()->getOpCode().Vikram S. Adve2001-11-091-36/+38
| | | | | | Much nicer. llvm-svn: 1223
* Add method declChris Lattner2001-11-081-0/+4
| | | | llvm-svn: 1217
* corrected insertCode4Spilled ... bug.Ruchira Sasanka2001-11-081-8/+17
| | | | llvm-svn: 1212
* Uncommented LR spill code insertionRuchira Sasanka2001-11-081-2/+85
| | | | llvm-svn: 1207
* Major change to how defs are found when adding dependences (theyVikram S. Adve2001-11-082-171/+69
| | | | | | | | 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. llvm-svn: 1199
* MachineCodeForMethod is now an annotation on class Method.Vikram S. Adve2001-11-081-1/+1
| | | | llvm-svn: 1198
* Added two minor methods.Vikram S. Adve2001-11-082-3/+8
| | | | llvm-svn: 1187
* Removed class RegStackOffsets and used class MachineCodeForMethodVikram S. Adve2001-11-082-293/+38
| | | | | | directly to manage stack frame. llvm-svn: 1186
* Major overhaul of stack frame management.Vikram S. Adve2001-11-084-23/+162
| | | | llvm-svn: 1185
* 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. llvm-svn: 1154
* Bug fix: uninitialized variable.Vikram S. Adve2001-11-061-5/+5
| | | | llvm-svn: 1147
* Modified graph construction to use one pass to find all defs.Vikram S. Adve2001-11-052-56/+144
| | | | | | | Avoids having to handle some special cases that cause complex interactions with instr. selection. llvm-svn: 1138
* Make reg. numbers signed ints.Vikram S. Adve2001-11-051-1/+1
| | | | llvm-svn: 1137
* Minor method renameChris Lattner2001-11-041-2/+2
| | | | llvm-svn: 1119
* Added an assertion since it seems like AdjList returns an errornous size in ↵Ruchira Sasanka2001-11-031-2/+7
| | | | | | | | method IGNode::pushOnStack(). llvm-svn: 1116
* Added support for correct spilling of %ccrRuchira Sasanka2001-11-032-61/+29
| | | | llvm-svn: 1112
* Arranged stack frame - needs furhter organizationRuchira Sasanka2001-11-031-0/+18
| | | | llvm-svn: 1108
* Arranged stack frame - needs furhter organizationRuchira Sasanka2001-11-031-2/+59
| | | | | | Moved InsertCallerSaveInstr to the SparcRegInfo.cpp llvm-svn: 1106
* Record constants that need to be emitted in the assembly code.Vikram S. Adve2001-10-281-40/+19
| | | | llvm-svn: 1010
* Allow combinations of True/Anti/Output flags for each edge toVikram S. Adve2001-10-281-7/+16
| | | | | | support, e.g., dependences on Call instructions. llvm-svn: 1009
* Add edges between call instructions and (a) load/store instructions, andVikram S. Adve2001-10-281-34/+111
| | | | | | | (b) any instructions that use or set CC registers. Whether or not the latter are needed really should be machine-dependent. llvm-svn: 1008
* Added support for spillingRuchira Sasanka2001-10-283-8/+146
| | | | llvm-svn: 992
* Added spill code support; moved insertCallerSaving to SparRegInfo sinceRuchira Sasanka2001-10-281-66/+319
| | | | | | we need to handle %ccr reg in a special way. llvm-svn: 990
* added support to move "added instructions" after the delay slotRuchira Sasanka2001-10-231-0/+3
| | | | llvm-svn: 968
* Added support to move "added instructions" after the delay slotRuchira Sasanka2001-10-231-19/+79
| | | | llvm-svn: 967
* Use class MachineCodeForMethod to print machine code.Vikram S. Adve2001-10-221-1/+1
| | | | llvm-svn: 948
* Added class MachineCodeForMethod.Vikram S. Adve2001-10-221-1/+39
| | | | llvm-svn: 947
* Cosmetic changes only.Vikram S. Adve2001-10-221-15/+49
| | | | llvm-svn: 946
* Modify code that processes delay slots so that it preserves anyVikram S. Adve2001-10-221-11/+36
| | | | | | useful instructions already inserted into delay slots. llvm-svn: 945
* Added support for both call/jmpl instructionsRuchira Sasanka2001-10-211-22/+13
| | | | llvm-svn: 930
* Added code to support unusable Suggested Colors.Ruchira Sasanka2001-10-192-15/+26
| | | | llvm-svn: 922
* Added code to PhyRegAlloc to mark unusable suggested regsRuchira Sasanka2001-10-192-6/+57
| | | | | | Added initialization to AdjList to IGNode constructor - major bug fix llvm-svn: 920
* Changed Call interference infoRuchira Sasanka2001-10-193-10/+27
| | | | llvm-svn: 917
* Corrected call interference bugRuchira Sasanka2001-10-192-14/+87
| | | | llvm-svn: 916
* no major changeRuchira Sasanka2001-10-181-2/+4
| | | | llvm-svn: 914
* Added implict operand printing for operator( ostream, MachineInstr&)Ruchira Sasanka2001-10-181-0/+20
| | | | llvm-svn: 912
* removed some debug messagesRuchira Sasanka2001-10-181-15/+17
| | | | llvm-svn: 910
* 1. Add a bottom-up pass on BURG trees that is used to fix constant operands.Vikram S. Adve2001-10-173-149/+235
| | | | | | | | | 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. llvm-svn: 859
* Separate VM instruction that generates the instructions that compute a valueVikram S. Adve2001-10-171-1/+2
| | | | | | | 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. llvm-svn: 858
* *** empty log message ***Vikram S. Adve2001-10-171-15/+24
| | | | llvm-svn: 857
* changed debugg message printing - no change to useful codeRuchira Sasanka2001-10-161-13/+16
| | | | llvm-svn: 850
* No major change - commented some debug codeRuchira Sasanka2001-10-161-3/+3
| | | | llvm-svn: 849
* Added support for caller savingRuchira Sasanka2001-10-165-112/+188
| | | | llvm-svn: 847
* Print Debug Code to stderr instead of stdout so that it doesn't mess up the ↵Chris Lattner2001-10-152-3/+3
| | | | | | assembly output llvm-svn: 841
OpenPOWER on IntegriCloud