Support using DebugLoc's in a DenseMap.
[llvm/stm8.git] / utils / TableGen / EDEmitter.h
blobe30373fed2eb62e7b5bd84ccb3c1a7211cc76c90
1 //===- EDEmitter.h - Generate instruction descriptions for ED ---*- 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 // 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"
21 namespace llvm {
23 class EDEmitter : public TableGenBackend {
24 RecordKeeper &Records;
25 public:
26 EDEmitter(RecordKeeper &R);
28 // run - Output the instruction table.
29 void run(raw_ostream &o);
32 } // End llvm namespace
34 #endif