add some missing quotes in debug output
[llvm/avr.git] / utils / TableGen / RegisterInfoEmitter.h
blob1456b4f1ec70deffbf44820312e26c5159eee2bc
1 //===- RegisterInfoEmitter.h - Generate a Register File Desc. ---*- 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 a target
11 // register file for a code generator. It uses instances of the Register,
12 // RegisterAliases, and RegisterClass classes to gather this information.
14 //===----------------------------------------------------------------------===//
16 #ifndef REGISTER_INFO_EMITTER_H
17 #define REGISTER_INFO_EMITTER_H
19 #include "TableGenBackend.h"
21 namespace llvm {
23 class RegisterInfoEmitter : public TableGenBackend {
24 RecordKeeper &Records;
25 public:
26 RegisterInfoEmitter(RecordKeeper &R) : Records(R) {}
28 // run - Output the register file description, returning true on failure.
29 void run(raw_ostream &o);
31 // runHeader - Emit a header fragment for the register info emitter.
32 void runHeader(raw_ostream &o);
34 // runEnums - Print out enum values for all of the registers.
35 void runEnums(raw_ostream &o);
38 } // End llvm namespace
40 #endif