• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 //===- DisassemblerEmitter.h - Disassembler Generator -----------*- C++ -*-===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 
10 #ifndef DISASSEMBLEREMITTER_H
11 #define DISASSEMBLEREMITTER_H
12 
13 #include "llvm/TableGen/TableGenBackend.h"
14 
15 namespace llvm {
16 
17   class DisassemblerEmitter : public TableGenBackend {
18     RecordKeeper &Records;
19   public:
DisassemblerEmitter(RecordKeeper & R)20     DisassemblerEmitter(RecordKeeper &R) : Records(R) {}
21 
22     /// run - Output the disassembler.
23     void run(raw_ostream &o);
24   };
25 
26 } // end llvm namespace
27 
28 #endif
29