#
d673cfe0 |
| 14-Nov-2011 |
Akira Hatanaka <ahatanaka@mips.com> |
Remove variable that keeps the size of area used to save byval or variable argument registers on the callee's stack frame, along with functions that set and get it. It is not necessary to add th
Remove variable that keeps the size of area used to save byval or variable argument registers on the callee's stack frame, along with functions that set and get it. It is not necessary to add the size of this area when computing stack size in emitPrologue, since it has already been accounted for in PEI::calculateFrameObjectOffsets.
llvm-svn: 144549
show more ...
|
#
c85e3ff3 |
| 11-Nov-2011 |
Bruno Cardoso Lopes <bruno.cardoso@gmail.com> |
Mips MC object code emission improvements:
"With this patch we can now generate runnable Mips code through LLVM direct object emission. We have run numerous simple programs, both C and C++ and with
Mips MC object code emission improvements:
"With this patch we can now generate runnable Mips code through LLVM direct object emission. We have run numerous simple programs, both C and C++ and with -O0 and -O3 from the output. The code is not production ready, but quite useful for experimentation." Patch and message by Jack Carter
llvm-svn: 144414
show more ...
|
#
11521863 |
| 11-Nov-2011 |
Akira Hatanaka <ahatanaka@mips.com> |
Emit Mips64's sequence of instructions that set global register in prologue.
llvm-svn: 144367
|
Revision tags: llvmorg-3.0.0-rc3 |
|
#
2f448004 |
| 07-Nov-2011 |
Akira Hatanaka <ahatanaka@mips.com> |
Include RegSaveAreaSize in the computation of stack size.
llvm-svn: 143993
|
Revision tags: llvmorg-3.0.0-rc2, llvmorg-3.0.0-rc1 |
|
#
79d60d0e |
| 11-Aug-2011 |
Akira Hatanaka <ahatanak@gmail.com> |
Enclose directive .cprestore with .set macro and nomacro to silence assembler warning.
llvm-svn: 137378
|
#
67c033e6 |
| 18-Jul-2011 |
Evan Cheng <evan.cheng@apple.com> |
Move getInitialFrameState from TargetFrameInfo to MCAsmInfo (suggestions for better location welcome).
llvm-svn: 135438
|
#
15506787 |
| 07-Jun-2011 |
Akira Hatanaka <ahatanak@gmail.com> |
Coding style fixes.
- Fix indentation. - Move comments. - Fit lines in 80 columns. - Remove dead code.
llvm-svn: 132724
|
#
08b7a779 |
| 07-Jun-2011 |
Akira Hatanaka <ahatanak@gmail.com> |
Add test case for C++ exception handling and fix the following mistakes in MipsFrameLowering::emitPrologue:
- cfi directives are not inserted at the right location or in the right order. - The sourc
Add test case for C++ exception handling and fix the following mistakes in MipsFrameLowering::emitPrologue:
- cfi directives are not inserted at the right location or in the right order. - The source MachineLocation for the cfi directive that changes the cfa register to $fp should be MachineLocation::VirtualFP. - A PROLOG_LABEL that marks the beginning of cfi_offset directives for callee-saved register is emitted even when no callee-saved registers are saved. - When a callee-saved double precision register is saved, two cfi_offset directives, one for each of the paired single precision registers, should be emitted.
llvm-svn: 132703
show more ...
|
#
66277520 |
| 02-Jun-2011 |
Akira Hatanaka <ahatanak@gmail.com> |
Custom-lower FRAMEADDR. Patch by Sasa Stankovic.
llvm-svn: 132444
|
#
077964a0 |
| 26-May-2011 |
Akira Hatanaka <ahatanak@gmail.com> |
Use MachineFrameInfo::hasCalls instead of MipsFunctionInfo::hasCall to check if a function has any function calls.
llvm-svn: 132140
|
#
aa560006 |
| 26-May-2011 |
Akira Hatanaka <ahatanak@gmail.com> |
Add support for C++ exception handling.
llvm-svn: 132131
|
#
92a26d4e |
| 25-May-2011 |
Akira Hatanaka <ahatanak@gmail.com> |
Change initial value of MaxCallFrameSize. MipsFI::getMaxCallFrameSize() should return 0 if there are no function calls made.
llvm-svn: 132065
|
#
2db176c4 |
| 24-May-2011 |
Akira Hatanaka <ahatanak@gmail.com> |
Enable printing of immediates that do not fit in 16-bit. .cprestore can have offsets that are larger than 0x10000.
llvm-svn: 132003
|
#
f9e5750f |
| 23-May-2011 |
Akira Hatanaka <ahatanak@gmail.com> |
Change StackDirection from StackGrowsUp to StackGrowsDown.
The following improvements are accomplished as a result of applying this patch: - Fixed frame objects' offsets (relative to either the virt
Change StackDirection from StackGrowsUp to StackGrowsDown.
The following improvements are accomplished as a result of applying this patch: - Fixed frame objects' offsets (relative to either the virtual frame pointer or the stack pointer) are set before instruction selection is completed. There is no need to wait until Prologue/Epilogue Insertion is run to set them. - Calculation of final offsets of fixed frame objects is straightforward. It is no longer necessary to assign negative offsets to fixed objects for incoming arguments in order to distinguish them from the others. - Since a fixed object has its relative offset set during instruction selection, there is no need to conservatively set its alignment to 4. - It is no longer necessary to reorder non-fixed frame objects in MipsFrameLowering::adjustMipsStackFrame.
llvm-svn: 131915
show more ...
|
#
f084fcd7 |
| 21-May-2011 |
Akira Hatanaka <ahatanak@gmail.com> |
Insert instructions that copy $sp to or from $fp at the right locations.
llvm-svn: 131784
|
#
43407fe6 |
| 20-May-2011 |
Akira Hatanaka <ahatanak@gmail.com> |
Make $fp and $ra callee-saved registers and let PrologEpilogInserter handle saving and restoring them.
llvm-svn: 131745
|
#
e2489125 |
| 15-Apr-2011 |
Akira Hatanaka <ahatanak@gmail.com> |
Reverse unnecessary changes made in r129606 and r129608. There is no change in functionality.
llvm-svn: 129612
|
#
aef55c88 |
| 15-Apr-2011 |
Akira Hatanaka <ahatanak@gmail.com> |
Fix lines that have incorrect indentation or exceed 80 columns. There is no change in functionality.
llvm-svn: 129606
|
#
0ab5e2cd |
| 15-Apr-2011 |
Chris Lattner <sabre@nondot.org> |
Fix a ton of comment typos found by codespell. Patch by Luis Felipe Strano Moraes!
llvm-svn: 129558
|
#
052163e6 |
| 07-Apr-2011 |
Akira Hatanaka <ahatanak@gmail.com> |
Fix indentation.
llvm-svn: 129105
|
#
94ee37e4 |
| 07-Apr-2011 |
Akira Hatanaka <ahatanak@gmail.com> |
Update ATUsed every time after expandRegLargeImmPair is called.
llvm-svn: 129104
|
Revision tags: llvmorg-2.9.0, llvmorg-2.9.0-rc3, llvmorg-2.9.0-rc2, llvmorg-2.9.0-rc1 |
|
#
88842e45 |
| 04-Mar-2011 |
Bill Wendling <isanbard@gmail.com> |
Initialize variable.
llvm-svn: 127038
|
#
a744ef3f |
| 04-Mar-2011 |
Bruno Cardoso Lopes <bruno.cardoso@gmail.com> |
Expands register/immediate pairs when the immediate is too large to fit in 16-bit field. Patch by Akira Hatanaka
llvm-svn: 127032
|
#
95dbfac4 |
| 18-Jan-2011 |
Bruno Cardoso Lopes <bruno.cardoso@gmail.com> |
Ensure Mips::GP is properly reloaded after a function call. Patch by Sasa Stankovic
llvm-svn: 123768
|
#
4bc5e389 |
| 13-Jan-2011 |
Jakob Stoklund Olesen <stoklund@2pi.dk> |
Teach frame lowering to ignore debug values after the terminators.
llvm-svn: 123399
|