llvm-6502/lib/Target/Mips
Daniel Sanders b2f2aa9329 [mips] Remove custom versions of CCState::AnalyzeReturn() and CCState::AnalyzeCallReturn().
Summary:
The N32/N64 ABI's return f128 values in $f0 and $f2 for hard-float and $v0 and
$a0 for soft-float. The registers used in the soft-float case differ from the
usual $v0, and $v1 specified for return values.

Both cases were previously handled by duplicating the CCState::AnalyzeReturn()
and CCState::AnalyzeCallReturn() functions and modifying them to delegate to
a different assignment function for f128 and further replace the register type
for the hard-float case. There is a simpler way to do both of these.

We now use the common functions and select an initial assignment function based
on whether the original type is f128 or not. We then handle the hard-float case
using CCBitConvertToType<>.

No functional change.

Reviewers: vmedic

Reviewed By: vmedic

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D5269

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218036 91177308-0d34-0410-b5e6-96231b3b80d8
2014-09-18 08:28:39 +00:00
..
AsmParser [mips] Add assembler support for the .set nodsp directive. 2014-09-17 09:01:54 +00:00
Disassembler Fix left shifts of negative values in MipsDisassembler. 2014-09-02 17:49:16 +00:00
InstPrinter
MCTargetDesc [mips] Add assembler support for the .set nodsp directive. 2014-09-17 09:01:54 +00:00
TargetInfo
CMakeLists.txt Reinstate "Nuke the old JIT." 2014-09-02 22:28:02 +00:00
LLVMBuild.txt
Makefile Reinstate "Nuke the old JIT." 2014-09-02 22:28:02 +00:00
MicroMipsInstrFormats.td [mips][microMIPS] Implement JRADDIUSP instruction 2014-09-12 14:29:54 +00:00
MicroMipsInstrFPU.td
MicroMipsInstrInfo.td [mips][microMIPS] Implement JRADDIUSP instruction 2014-09-12 14:29:54 +00:00
Mips16FrameLowering.cpp
Mips16FrameLowering.h
Mips16HardFloat.cpp
Mips16HardFloat.h
Mips16HardFloatInfo.cpp
Mips16HardFloatInfo.h
Mips16InstrFormats.td
Mips16InstrInfo.cpp
Mips16InstrInfo.h
Mips16InstrInfo.td Fix typos in comments, NFC 2014-08-29 21:53:01 +00:00
Mips16ISelDAGToDAG.cpp
Mips16ISelDAGToDAG.h
Mips16ISelLowering.cpp Reinstate "Nuke the old JIT." 2014-09-02 22:28:02 +00:00
Mips16ISelLowering.h
Mips16RegisterInfo.cpp
Mips16RegisterInfo.h
Mips32r6InstrFormats.td
Mips32r6InstrInfo.td
Mips64InstrInfo.td [mips] Move 32-bit ADDiu instruction alias from Mips64InstrInfo.td to MipsInstrInfo.td. 2014-09-16 10:19:03 +00:00
Mips64r6InstrInfo.td
Mips.h Reinstate "Nuke the old JIT." 2014-09-02 22:28:02 +00:00
Mips.td
MipsAnalyzeImmediate.cpp
MipsAnalyzeImmediate.h
MipsAsmPrinter.cpp
MipsAsmPrinter.h
MipsCallingConv.td [mips] Remove custom versions of CCState::AnalyzeReturn() and CCState::AnalyzeCallReturn(). 2014-09-18 08:28:39 +00:00
MipsCondMov.td
MipsConstantIslandPass.cpp Reinstate "Nuke the old JIT." 2014-09-02 22:28:02 +00:00
MipsDelaySlotFiller.cpp
MipsDSPInstrFormats.td
MipsDSPInstrInfo.td
MipsFastISel.cpp Add mips32 r1 to the list of supported targets for Mips fast-isel 2014-09-15 20:30:25 +00:00
MipsFrameLowering.cpp
MipsFrameLowering.h
MipsInstrFormats.td Revert: r215698 - Current implementation of c.cond.fmt instructions only accept default cc0 register... 2014-08-17 19:47:47 +00:00
MipsInstrFPU.td Revert: r215698 - Current implementation of c.cond.fmt instructions only accept default cc0 register... 2014-08-17 19:47:47 +00:00
MipsInstrInfo.cpp
MipsInstrInfo.h
MipsInstrInfo.td [mips] Move 32-bit ADDiu instruction alias from Mips64InstrInfo.td to MipsInstrInfo.td. 2014-09-16 10:19:03 +00:00
MipsISelDAGToDAG.cpp
MipsISelDAGToDAG.h
MipsISelLowering.cpp [mips] Remove custom versions of CCState::AnalyzeReturn() and CCState::AnalyzeCallReturn(). 2014-09-18 08:28:39 +00:00
MipsISelLowering.h [mips] Remove custom versions of CCState::AnalyzeReturn() and CCState::AnalyzeCallReturn(). 2014-09-18 08:28:39 +00:00
MipsLongBranch.cpp Reinstate "Nuke the old JIT." 2014-09-02 22:28:02 +00:00
MipsMachineFunction.cpp Fix some cases where StringRef was being passed by const reference. Remove const from some other StringRefs since its implicitly const already. 2014-08-30 16:48:02 +00:00
MipsMachineFunction.h Fix some cases where StringRef was being passed by const reference. Remove const from some other StringRefs since its implicitly const already. 2014-08-30 16:48:02 +00:00
MipsMCInstLower.cpp
MipsMCInstLower.h
MipsModuleISelDAGToDAG.cpp
MipsModuleISelDAGToDAG.h
MipsMSAInstrFormats.td
MipsMSAInstrInfo.td [mips] Rename MipsAsmParser functions to conform to the LLVM Coding Standards. No functional changes. 2014-09-04 13:23:44 +00:00
MipsOptimizePICCall.cpp
MipsOptionRecord.h Make some helpers static or move into the llvm namespace. 2014-09-03 21:04:12 +00:00
MipsOs16.cpp
MipsOs16.h
MipsRegisterInfo.cpp
MipsRegisterInfo.h
MipsRegisterInfo.td [mips] Rename MipsAsmParser functions to conform to the LLVM Coding Standards. No functional changes. 2014-09-04 13:23:44 +00:00
MipsRelocations.h
MipsSchedule.td
MipsSEFrameLowering.cpp
MipsSEFrameLowering.h
MipsSEInstrInfo.cpp
MipsSEInstrInfo.h
MipsSEISelDAGToDAG.cpp
MipsSEISelDAGToDAG.h
MipsSEISelLowering.cpp Reinstate "Nuke the old JIT." 2014-09-02 22:28:02 +00:00
MipsSEISelLowering.h
MipsSelectionDAGInfo.cpp
MipsSelectionDAGInfo.h
MipsSERegisterInfo.cpp
MipsSERegisterInfo.h
MipsSubtarget.cpp Reinstate "Nuke the old JIT." 2014-09-02 22:28:02 +00:00
MipsSubtarget.h [mips] Remove inverted predicates from MipsSubtarget that were only used by MipsCallingConv.td 2014-09-10 12:02:27 +00:00
MipsTargetMachine.cpp Reinstate "Nuke the old JIT." 2014-09-02 22:28:02 +00:00
MipsTargetMachine.h Reinstate "Nuke the old JIT." 2014-09-02 22:28:02 +00:00
MipsTargetObjectFile.cpp
MipsTargetObjectFile.h
MipsTargetStreamer.h [mips] Add assembler support for the .set nodsp directive. 2014-09-17 09:01:54 +00:00
MSA.txt