Akira Hatanaka
5852e3b800
[mips] Stop reserving register AT and use register scavenger when a scratch
...
register is needed.
llvm-svn: 167341
2012-11-03 00:05:43 +00:00
Akira Hatanaka
0dfbf1262b
[mips] Delete MipsFunctionInfo::EmitNOAT. Unconditionally print directive
...
"set .noat" so that the assembler doesn't issue warnings when register $AT is
used.
llvm-svn: 167310
2012-11-02 20:56:25 +00:00
Akira Hatanaka
bf493942b0
Make function loadImmediate a member of MipsSEInstrInfo and change it to return
...
the temporary register that was used to load the immediate. Currently, it always
returns register $at, but this will change if, in the future, we decide to use
another register.
No changes in functionality.
llvm-svn: 162417
2012-08-23 00:21:05 +00:00
Akira Hatanaka
fab8929459
Move the code that creates instances of MipsInstrInfo and MipsFrameLowering out
...
of MipsTargetMachine.cpp.
llvm-svn: 161191
2012-08-02 18:21:47 +00:00
Akira Hatanaka
88d76cfd7a
Implement MipsSERegisterInfo::eliminateCallFramePseudoInstr. The function emits
...
instructions that decrement and increment the stack pointer before and after a
call when the function does not have a reserved call frame.
llvm-svn: 161093
2012-07-31 23:52:55 +00:00
Akira Hatanaka
cb37e13fa7
Add definitions of two subclasses of MipsRegisterInfo, Mips16RegisterInfo and
...
MipsSERegisterInfo.
llvm-svn: 161092
2012-07-31 23:41:32 +00:00
Akira Hatanaka
b7fa3c9db0
Add definitions of two subclasses of MipsInstrInfo, MipsInstrInfo (for mips16),
...
and MipsSEInstrInfo (for mips32/64).
llvm-svn: 161081
2012-07-31 21:49:49 +00:00