1 //===-- MCInstPrinter.h - Convert an MCInst to target assembly syntax -----===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef LLVM_MC_MCINSTPRINTER_H
11 #define LLVM_MC_MCINSTPRINTER_H
17 /// MCInstPrinter - This is an instance of a target assembly language printer
18 /// that converts an MCInst to valid target assembly syntax.
22 MCInstPrinter(raw_ostream &o) : O(o) {}
24 virtual ~MCInstPrinter();
26 /// printInst - Print the specified MCInst to the current raw_ostream.
28 virtual void printInst(const MCInst *MI) = 0;