summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Mips/MipsEmitGPRestore.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Remove MipsEmitGPRestore.cpp.Akira Hatanaka2012-05-121-97/+0
| | | | llvm-svn: 156696
* remove blanks, and some code formatJia Liu2012-02-281-2/+2
| | | | llvm-svn: 151625
* Add an option to use a virtual register as the global base register instead ofAkira Hatanaka2012-02-241-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | reserving a physical register ($gp or $28) for that purpose. This will completely eliminate loads that restore the value of $gp after every function call, if the register allocator assigns a callee-saved register, or eliminate unnecessary loads if it assigns a temporary register. example: .cpload $25 // set $gp. ... .cprestore 16 // store $gp to stack slot 16($sp). ... jalr $25 // function call. clobbers $gp. lw $gp, 16($sp) // not emitted if callee-saved reg is chosen. ... lw $2, 4($gp) ... jalr $25 // function call. lw $gp, 16($sp) // not emitted if $gp is not live after this instruction. ... llvm-svn: 151402
* remove Emacs-tag form .cpp files in Mips Backend, and fix some typo.Jia Liu2012-02-171-1/+1
| | | | llvm-svn: 150805
* add Emacs tag and fix some comment error in file headersJia Liu2012-02-171-1/+1
| | | | llvm-svn: 150775
* Reverse order of operands of address operand mem so that the base operand comesAkira Hatanaka2011-07-071-4/+4
| | | | | | | before the offset. This change will enable simplification of function MipsRegisterInfo::eliminateFrameIndex. llvm-svn: 134625
* Add support for C++ exception handling.Akira Hatanaka2011-05-261-0/+14
| | | | llvm-svn: 132131
* 1. Keep lines in 80 columns.Akira Hatanaka2011-05-061-5/+5
| | | | | | | 2. Remove unused function. 3. Correct indentation. llvm-svn: 131028
* Prevent instructions using $gp from being placed between a jalr and the ↵Akira Hatanaka2011-05-041-0/+80
instruction that restores the clobbered $gp. llvm-svn: 130847
OpenPOWER on IntegriCloud