zpu: first sign of being able to build a .S file
[llvm/zpu.git] / utils / TableGen / DisassemblerEmitter.h
blob7229d81649eedb99b20e2f3defe6dfc704b480a4
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 //===----------------------------------------------------------------------===//
10 #ifndef DISASSEMBLEREMITTER_H
11 #define DISASSEMBLEREMITTER_H
13 #include "TableGenBackend.h"
15 namespace llvm {
17 class DisassemblerEmitter : public TableGenBackend {
18 RecordKeeper &Records;
19 public:
20 DisassemblerEmitter(RecordKeeper &R) : Records(R) {}
22 /// run - Output the disassembler.
23 void run(raw_ostream &o);
26 } // end llvm namespace
28 #endif