TableGenBackend.h revision 355940
1//===- llvm/TableGen/TableGenBackend.h - Backend utilities ------*- C++ -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8//
9// Useful utilities for TableGen backends.
10//
11//===----------------------------------------------------------------------===//
12
13#ifndef LLVM_TABLEGEN_TABLEGENBACKEND_H
14#define LLVM_TABLEGEN_TABLEGENBACKEND_H
15
16namespace llvm {
17
18class StringRef;
19class raw_ostream;
20
21/// emitSourceFileHeader - Output an LLVM style file header to the specified
22/// raw_ostream.
23void emitSourceFileHeader(StringRef Desc, raw_ostream &OS);
24
25extern bool TimeRegions;
26
27} // End llvm namespace
28
29#endif
30