1 //===- LLVMCConfigurationEmitter.cpp - Generate LLVMCC config -------------===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open
6 // Source License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This tablegen backend is responsible for emitting LLVMCC configuration code.
12 //===----------------------------------------------------------------------===//
14 #ifndef LLVM_UTILS_TABLEGEN_LLVMCCONF_EMITTER_H
15 #define LLVM_UTILS_TABLEGEN_LLVMCCONF_EMITTER_H
17 #include "TableGenBackend.h"
20 class LLVMCConfigurationEmitter : public TableGenBackend {
21 RecordKeeper &Records;
23 explicit LLVMCConfigurationEmitter(RecordKeeper &R) : Records(R) {}
25 // run - Output the asmwriter, returning true on failure.
26 void run(std::ostream &o);
30 #endif //LLVM_UTILS_TABLEGEN_LLVMCCONF_EMITTER_H