1 //===- EDEmitter.h - Generate instruction descriptions for ED ---*- 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 // This tablegen backend is responsible for emitting a description of each
11 // instruction in a format that the semantic disassembler can use to tokenize
12 // and parse instructions.
14 //===----------------------------------------------------------------------===//
16 #ifndef SEMANTIC_INFO_EMITTER_H
17 #define SEMANTIC_INFO_EMITTER_H
19 #include "TableGenBackend.h"
23 class EDEmitter
: public TableGenBackend
{
24 RecordKeeper
&Records
;
26 EDEmitter(RecordKeeper
&R
);
28 // run - Output the instruction table.
29 void run(raw_ostream
&o
);
32 } // End llvm namespace