mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-22 07:32:48 +00:00
ac67b7ea8f
on ideas mentioned in PR686. Written by Mikhail Glushenkov and contributed by Codedgers, Inc. Old llvmc will be removed soon after new one will have all its properties. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48699 91177308-0d34-0410-b5e6-96231b3b80d8
31 lines
919 B
C++
31 lines
919 B
C++
//===- 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
|