#include "TableGenBackends.h"
#include "llvm/TableGen/Error.h"
#include "llvm/TableGen/Record.h"
#include "llvm/TableGen/StringMatcher.h"
#include "llvm/TableGen/TableGenBackend.h"
usingnamespacellvm;
namespace {
class ClangOpcodesEmitter { … };
void Enumerate(const Record *R, StringRef N,
std::function<void(ArrayRef<const Record *>, Twine)> &&F) { … }
}
void ClangOpcodesEmitter::run(raw_ostream &OS) { … }
void ClangOpcodesEmitter::EmitEnum(raw_ostream &OS, StringRef N,
const Record *R) { … }
void ClangOpcodesEmitter::EmitInterp(raw_ostream &OS, StringRef N,
const Record *R) { … }
void ClangOpcodesEmitter::EmitDisasm(raw_ostream &OS, StringRef N,
const Record *R) { … }
void ClangOpcodesEmitter::EmitEmitter(raw_ostream &OS, StringRef N,
const Record *R) { … }
void ClangOpcodesEmitter::EmitProto(raw_ostream &OS, StringRef N,
const Record *R) { … }
void ClangOpcodesEmitter::EmitGroup(raw_ostream &OS, StringRef N,
const Record *R) { … }
void ClangOpcodesEmitter::EmitEval(raw_ostream &OS, StringRef N,
const Record *R) { … }
void ClangOpcodesEmitter::PrintTypes(raw_ostream &OS,
ArrayRef<const Record *> Types) { … }
void clang::EmitClangOpcodes(const RecordKeeper &Records, raw_ostream &OS) { … }