blob: 849f054013245a0e74c024bfe17813655b03dae5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
//===- LLVMCConfigurationEmitter.cpp - Generate LLVMCC config -------------===//
//
// 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.
//
//===----------------------------------------------------------------------===//
#ifndef LLVMCCCONF_EMITTER_H
#define LLVMCCCONF_EMITTER_H
#include "TableGenBackend.h"
namespace llvm {
class LLVMCCConfigurationEmitter : public TableGenBackend {
RecordKeeper &Records;
public:
explicit LLVMCCConfigurationEmitter(RecordKeeper &R) : Records(R) {}
// run - Output the asmwriter, returning true on failure.
void run(std::ostream &o);
};
}
#endif //LLVMCCCONF_EMITTER_H
|