History log of /llvm-project/llvm/lib/Target/Mips/MipsMachineFunction.cpp (Results 51 – 56 of 56)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: llvmorg-3.1.0-rc3, llvmorg-3.1.0-rc2
# 2020e27d 25-Apr-2012 Akira Hatanaka <ahatanaka@mips.com>

Do not use $gp as a dedicated global register if the target ABI is not O32.

llvm-svn: 155522


# c7242e05 20-Apr-2012 Craig Topper <craig.topper@gmail.com>

Convert more uses of XXXRegisterClass to &XXXRegClass. No functional change since they are equivalent.

llvm-svn: 155188


Revision tags: llvmorg-3.1.0-rc1
# f54f60f3 28-Feb-2012 Jia Liu <proljc@gmail.com>

remove blanks, and some code format

llvm-svn: 151625


# b049aef2 24-Feb-2012 Akira Hatanaka <ahatanaka@mips.com>

Add an option to use a virtual register as the global base register instead of
reserving a physical register ($gp or $28) for that purpose.

This will completely eliminate loads that restore the valu

Add an option to use a virtual register as the global base register instead of
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

show more ...


# 9f610119 17-Feb-2012 Jia Liu <proljc@gmail.com>

remove Emacs-tag form .cpp files in Mips Backend, and fix some typo.

llvm-svn: 150805


# a379b181 20-Dec-2011 David Blaikie <dblaikie@gmail.com>

Unweaken vtables as per http://llvm.org/docs/CodingStandards.html#ll_virtual_anch

llvm-svn: 146960


123