mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
764dc754fe
TableGen backends are simply written as functions now. Patch by Sean Silva! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158389 91177308-0d34-0410-b5e6-96231b3b80d8
30 lines
810 B
C++
30 lines
810 B
C++
//===- llvm/TableGen/TableGenBackend.h - Backend utilities ------*- C++ -*-===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
//
|
|
// Useful utilities for TableGen backends.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef LLVM_TABLEGEN_TABLEGENBACKEND_H
|
|
#define LLVM_TABLEGEN_TABLEGENBACKEND_H
|
|
|
|
#include "llvm/ADT/StringRef.h"
|
|
|
|
namespace llvm {
|
|
|
|
class raw_ostream;
|
|
|
|
/// emitSourceFileHeader - Output a LLVM style file header to the specified
|
|
/// raw_ostream.
|
|
void emitSourceFileHeader(StringRef Desc, raw_ostream &OS);
|
|
|
|
} // End llvm namespace
|
|
|
|
#endif
|