1 //===- AsmWriterEmitter.h - Generate an assembly writer ---------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file was developed by the LLVM research group and is distributed under
6 // the University of Illinois Open Source License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This tablegen backend is responsible for emitting an assembly printer for the
13 //===----------------------------------------------------------------------===//
15 #ifndef ASMWRITER_EMITTER_H
16 #define ASMWRITER_EMITTER_H
18 #include "TableGenBackend.h"
22 class AsmWriterEmitter : public TableGenBackend {
23 RecordKeeper &Records;
25 AsmWriterEmitter(RecordKeeper &R) : Records(R) {}
27 // run - Output the asmwriter, returning true on failure.
28 void run(std::ostream &o);