summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Mips/MipsTargetStreamer.h
diff options
context:
space:
mode:
authorToma Tabacu <toma.tabacu@gmail.com>2015-06-30 09:36:50 +0000
committerToma Tabacu <toma.tabacu@gmail.com>2015-06-30 09:36:50 +0000
commit32c72aa099ff1163b557ddcf30d2dafecaadb12e (patch)
tree94fdb1c663d99493b84546d3bfb1d4aafea4ff24 /llvm/lib/Target/Mips/MipsTargetStreamer.h
parentf366af309abd27cd8a2f828d236586c9f752f445 (diff)
downloadbcm5719-llvm-32c72aa099ff1163b557ddcf30d2dafecaadb12e.tar.gz
bcm5719-llvm-32c72aa099ff1163b557ddcf30d2dafecaadb12e.zip
[mips] [IAS] Add support for the .set oddspreg/nooddspreg directives.
Differential Revision: http://reviews.llvm.org/D10657 llvm-svn: 241052
Diffstat (limited to 'llvm/lib/Target/Mips/MipsTargetStreamer.h')
-rw-r--r--llvm/lib/Target/Mips/MipsTargetStreamer.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/Target/Mips/MipsTargetStreamer.h b/llvm/lib/Target/Mips/MipsTargetStreamer.h
index 35bdae3aee8..54460fb0f75 100644
--- a/llvm/lib/Target/Mips/MipsTargetStreamer.h
+++ b/llvm/lib/Target/Mips/MipsTargetStreamer.h
@@ -84,6 +84,8 @@ public:
virtual void emitDirectiveModuleFP();
virtual void emitDirectiveModuleOddSPReg();
virtual void emitDirectiveSetFp(MipsABIFlagsSection::FpABIKind Value);
+ virtual void emitDirectiveSetOddSPReg();
+ virtual void emitDirectiveSetNoOddSPReg();
void forbidModuleDirective() { ModuleDirectiveAllowed = false; }
void reallowModuleDirective() { ModuleDirectiveAllowed = true; }
@@ -191,6 +193,8 @@ public:
void emitDirectiveModuleFP() override;
void emitDirectiveModuleOddSPReg() override;
void emitDirectiveSetFp(MipsABIFlagsSection::FpABIKind Value) override;
+ void emitDirectiveSetOddSPReg() override;
+ void emitDirectiveSetNoOddSPReg() override;
};
// This part is for ELF object output
OpenPOWER on IntegriCloud