1 //===- DisassemblerEmitter.h - Disassembler Generator -----------*- C++ -*-===//
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 DISASSEMBLEREMITTER_H
11 #define DISASSEMBLEREMITTER_H
13 #include "TableGenBackend.h"
17 class DisassemblerEmitter
: public TableGenBackend
{
18 RecordKeeper
&Records
;
20 DisassemblerEmitter(RecordKeeper
&R
) : Records(R
) {}
22 /// run - Output the disassembler.
23 void run(raw_ostream
&o
);
26 } // end llvm namespace