2008-05-30 14:20:54 +08:00
|
|
|
//===- LLVMCConfigurationEmitter.cpp - Generate LLVMCC config ---*- C++ -*-===//
|
2008-03-23 16:57:20 +08:00
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
|
|
|
// This file is distributed under the University of Illinois Open
|
|
|
|
// Source License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//
|
|
|
|
// This tablegen backend is responsible for emitting LLVMCC configuration code.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
2008-05-07 02:12:03 +08:00
|
|
|
#ifndef LLVM_UTILS_TABLEGEN_LLVMCCONF_EMITTER_H
|
|
|
|
#define LLVM_UTILS_TABLEGEN_LLVMCCONF_EMITTER_H
|
2008-03-23 16:57:20 +08:00
|
|
|
|
|
|
|
#include "TableGenBackend.h"
|
|
|
|
|
|
|
|
namespace llvm {
|
2008-05-08 05:50:19 +08:00
|
|
|
|
|
|
|
/// LLVMCConfigurationEmitter - TableGen backend that generates
|
|
|
|
/// configuration code for LLVMC.
|
2008-05-07 02:12:03 +08:00
|
|
|
class LLVMCConfigurationEmitter : public TableGenBackend {
|
2008-03-23 16:57:20 +08:00
|
|
|
public:
|
2009-10-18 04:08:47 +08:00
|
|
|
explicit LLVMCConfigurationEmitter(RecordKeeper&) {}
|
2008-03-23 16:57:20 +08:00
|
|
|
|
|
|
|
// run - Output the asmwriter, returning true on failure.
|
2009-07-03 08:10:29 +08:00
|
|
|
void run(raw_ostream &o);
|
2008-03-23 16:57:20 +08:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
2008-05-07 02:12:03 +08:00
|
|
|
#endif //LLVM_UTILS_TABLEGEN_LLVMCCONF_EMITTER_H
|