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
19 /// MCInstPrinter - This is an instance of a target assembly language printer
20 /// that converts an MCInst to valid target assembly syntax.
26 MCInstPrinter(raw_ostream &o, const MCAsmInfo &mai) : O(o), MAI(mai) {}
28 virtual ~MCInstPrinter();
30 /// printInst - Print the specified MCInst to the current raw_ostream.
32 virtual void printInst(const MCInst *MI) = 0;