summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
Commit message (Collapse)AuthorAgeFilesLines
* Fixed a bug in setReLRegsUsedByMIRuchira Sasanka2001-11-151-54/+75
| | | | llvm-svn: 1323
* Changed some names of methods, added const etc.Ruchira Sasanka2001-11-152-7/+8
| | | | llvm-svn: 1322
* Modify AllocateLocalVar method to take a size argument.Vikram S. Adve2001-11-151-3/+29
| | | | llvm-svn: 1318
* fixed setUsedRegAtMIRuchira Sasanka2001-11-151-7/+34
| | | | llvm-svn: 1317
* Changed phi elimination codeRuchira Sasanka2001-11-151-1/+64
| | | | llvm-svn: 1311
* Small changed to printing a machine operand - It the operand is a def, it printsRuchira Sasanka2001-11-141-2/+6
| | | | | | a star after it - only for debugging llvm-svn: 1309
* Don't assume constant operand can only be in position 1!Vikram S. Adve2001-11-141-2/+2
| | | | llvm-svn: 1308
* Idiotic error in last fix.Vikram S. Adve2001-11-141-1/+1
| | | | llvm-svn: 1306
* Don't need to load a NULL pointer constant from memory!Vikram S. Adve2001-11-141-2/+10
| | | | llvm-svn: 1305
* Added support method for setting interference for pseudo instructionsRuchira Sasanka2001-11-141-25/+1
| | | | llvm-svn: 1303
* Added interference for args in pseudo instructionsRuchira Sasanka2001-11-141-8/+48
| | | | llvm-svn: 1300
* Remove much cruft from the MemAccessInst instructionChris Lattner2001-11-142-3/+3
| | | | llvm-svn: 1298
* commented out lines printing code after schedulingRuchira Sasanka2001-11-131-2/+2
| | | | llvm-svn: 1295
* Fixed a bug concering LR spilling. Earlier, added spilled code was not insertedRuchira Sasanka2001-11-131-27/+43
| | | | | | into the instruction stream correctly. llvm-svn: 1294
* Do the same for allocating spills to get their alignment right too.Vikram S. Adve2001-11-121-1/+2
| | | | llvm-svn: 1285
* When allocating space on stack for writing a register,Vikram S. Adve2001-11-121-1/+3
| | | | | | | use the size of the register, not the size of the Value type, to get the right alignment. llvm-svn: 1284
* Bug fix in offset alignment computations: don't subtract the paddingVikram S. Adve2001-11-121-37/+32
| | | | | | value from size *before* subtracting size from offset! llvm-svn: 1283
* For phi elimination, now we are generating only one instructionRuchira Sasanka2001-11-121-15/+5
| | | | | | | using cpValue2Value instead of passing vector to createCopyInstructionByType. llvm-svn: 1272
* Eliminate most uses of the machine instruction vector for each LLVM instr,Vikram S. Adve2001-11-122-63/+75
| | | | | | | | since some m. instr. may be generated by LLVM instrs. in other blocks. Handle non-SSA (anti and output) edges and true edges uniformly by working with machine instructions alone. llvm-svn: 1269
* Added phi elimination code - not finalRuchira Sasanka2001-11-121-0/+100
| | | | llvm-svn: 1264
* Improved printing routines.Vikram S. Adve2001-11-121-4/+14
| | | | llvm-svn: 1263
* Major improvement to how nodes are built for a BB.Vikram S. Adve2001-11-124-37/+75
| | | | | | LLVM instruction is no longer recorded in each node, but BB is. llvm-svn: 1262
* 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
OpenPOWER on IntegriCloud