summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Mips/MipsAsmPrinter.h
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-10-08 13:08:17 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-10-08 13:08:17 +0000
commita17151ad5af4bd1a342ab15d44688b789769e471 (patch)
treeb4764c13d288fe0b48931c188728c6de1a1bcdbd /llvm/lib/Target/Mips/MipsAsmPrinter.h
parent31057d618e90b0bac3f84768eeebcdb053ff8625 (diff)
downloadbcm5719-llvm-a17151ad5af4bd1a342ab15d44688b789769e471.tar.gz
bcm5719-llvm-a17151ad5af4bd1a342ab15d44688b789769e471.zip
Add a MCTargetStreamer interface.
This patch fixes an old FIXME by creating a MCTargetStreamer interface and moving the target specific functions for ARM, Mips and PPC to it. The ARM streamer is still declared in a common place because it is used from lib/CodeGen/ARMException.cpp, but the Mips and PPC are completely hidden in the corresponding Target directories. I will send an email to llvmdev with instructions on how to use this. llvm-svn: 192181
Diffstat (limited to 'llvm/lib/Target/Mips/MipsAsmPrinter.h')
-rw-r--r--llvm/lib/Target/Mips/MipsAsmPrinter.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/Mips/MipsAsmPrinter.h b/llvm/lib/Target/Mips/MipsAsmPrinter.h
index 4d1d624e090..5f6cac8f211 100644
--- a/llvm/lib/Target/Mips/MipsAsmPrinter.h
+++ b/llvm/lib/Target/Mips/MipsAsmPrinter.h
@@ -25,10 +25,12 @@ namespace llvm {
class MCStreamer;
class MachineInstr;
class MachineBasicBlock;
+class MipsTargetStreamer;
class Module;
class raw_ostream;
class LLVM_LIBRARY_VISIBILITY MipsAsmPrinter : public AsmPrinter {
+ MipsTargetStreamer &getTargetStreamer();
void EmitInstrWithMacroNoAT(const MachineInstr *MI);
OpenPOWER on IntegriCloud