Change MCStreamer EmitInstruction interface to take subtarget info
[oota-llvm.git] / include / llvm / CodeGen / AsmPrinter.h
index 85f4130a2fa3243587f2c1857346a24b96490813..f83d96783c7ada5cb5323674dd5509d6a873d26d 100644 (file)
@@ -42,6 +42,7 @@ namespace llvm {
   class MCAsmInfo;
   class MCCFIInstruction;
   class MCContext;
+  class MCInst;
   class MCInstrInfo;
   class MCSection;
   class MCStreamer;
@@ -149,6 +150,11 @@ namespace llvm {
     /// getDataLayout - Return information about data layout.
     const DataLayout &getDataLayout() const;
 
+    /// getSubtargetInfo - Return information about subtarget.
+    const MCSubtargetInfo &getSubtargetInfo() const;
+
+    void EmitToStreamer(MCStreamer &S, const MCInst &Inst);
+
     /// getTargetTriple - Return the target triple string.
     StringRef getTargetTriple() const;