mirror of
https://github.com/RPCS3/llvm.git
synced 2025-03-07 01:57:16 +00:00
[mips] [IAS] Move some function definitions to MipsTargetStreamer.cpp. NFC.
Summary: For the sake of consistency and to make some upcoming changes a little less noisy. Reviewers: dsanders Reviewed By: dsanders Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D10639 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240398 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7737c637f0
commit
29e004491e
@ -92,6 +92,17 @@ void MipsTargetStreamer::emitDirectiveCpLoad(unsigned RegNo) {}
|
||||
void MipsTargetStreamer::emitDirectiveCpsetup(unsigned RegNo, int RegOrOffset,
|
||||
const MCSymbol &Sym, bool IsReg) {
|
||||
}
|
||||
|
||||
void
|
||||
MipsTargetStreamer::emitDirectiveModuleFP(MipsABIFlagsSection::FpABIKind Value,
|
||||
bool Is32BitABI) {
|
||||
ABIFlagsSection.setFpABI(Value, Is32BitABI);
|
||||
}
|
||||
|
||||
void MipsTargetStreamer::emitDirectiveModuleFP() {
|
||||
emitDirectiveModuleFP(ABIFlagsSection.getFpABI(), ABIFlagsSection.Is32BitABI);
|
||||
}
|
||||
|
||||
void MipsTargetStreamer::emitDirectiveModuleOddSPReg(bool Enabled,
|
||||
bool IsO32ABI) {
|
||||
if (!Enabled && !IsO32ABI)
|
||||
|
@ -83,16 +83,10 @@ public:
|
||||
/// Emit a '.module fp=value' directive using the given values.
|
||||
/// Updates the .MIPS.abiflags section
|
||||
virtual void emitDirectiveModuleFP(MipsABIFlagsSection::FpABIKind Value,
|
||||
bool Is32BitABI) {
|
||||
ABIFlagsSection.setFpABI(Value, Is32BitABI);
|
||||
}
|
||||
|
||||
bool Is32BitABI);
|
||||
/// Emit a '.module fp=value' directive using the current values of the
|
||||
/// .MIPS.abiflags section.
|
||||
void emitDirectiveModuleFP() {
|
||||
emitDirectiveModuleFP(ABIFlagsSection.getFpABI(),
|
||||
ABIFlagsSection.Is32BitABI);
|
||||
}
|
||||
void emitDirectiveModuleFP();
|
||||
|
||||
virtual void emitDirectiveModuleOddSPReg(bool Enabled, bool IsO32ABI);
|
||||
virtual void emitDirectiveSetFp(MipsABIFlagsSection::FpABIKind Value);
|
||||
|
Loading…
x
Reference in New Issue
Block a user