Anton Korobeynikov | ac67b7e | 2008-03-23 08:57:20 +0000 | [diff] [blame^] | 1 | //===- LLVMCConfigurationEmitter.cpp - Generate LLVMCC config -------------===// |
| 2 | // |
| 3 | // The LLVM Compiler Infrastructure |
| 4 | // |
| 5 | // This file is distributed under the University of Illinois Open |
| 6 | // Source License. See LICENSE.TXT for details. |
| 7 | // |
| 8 | //===----------------------------------------------------------------------===// |
| 9 | // |
| 10 | // This tablegen backend is responsible for emitting LLVMCC configuration code. |
| 11 | // |
| 12 | //===----------------------------------------------------------------------===// |
| 13 | |
| 14 | #ifndef LLVMCCCONF_EMITTER_H |
| 15 | #define LLVMCCCONF_EMITTER_H |
| 16 | |
| 17 | #include "TableGenBackend.h" |
| 18 | |
| 19 | namespace llvm { |
| 20 | class LLVMCCConfigurationEmitter : public TableGenBackend { |
| 21 | RecordKeeper &Records; |
| 22 | public: |
| 23 | explicit LLVMCCConfigurationEmitter(RecordKeeper &R) : Records(R) {} |
| 24 | |
| 25 | // run - Output the asmwriter, returning true on failure. |
| 26 | void run(std::ostream &o); |
| 27 | }; |
| 28 | } |
| 29 | |
| 30 | #endif //LLVMCCCONF_EMITTER_H |