Daniel Dunbar | 4058874 | 2009-11-25 02:13:23 +0000 | [diff] [blame] | 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 "TableGenBackend.h" |
| 14 | |
| 15 | namespace llvm { |
| 16 | |
| 17 | class DisassemblerEmitter : public TableGenBackend { |
| 18 | RecordKeeper &Records; |
| 19 | public: |
| 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 |