[Alignment][NFC] Support compile time constants
[llvm-core.git] / include / llvm / TableGen / TableGenBackend.h
bloba426e4217578438e60177b17fbf473834bf107d8
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.
11 //===----------------------------------------------------------------------===//
13 #ifndef LLVM_TABLEGEN_TABLEGENBACKEND_H
14 #define LLVM_TABLEGEN_TABLEGENBACKEND_H
16 namespace llvm {
18 class StringRef;
19 class raw_ostream;
21 /// emitSourceFileHeader - Output an LLVM style file header to the specified
22 /// raw_ostream.
23 void emitSourceFileHeader(StringRef Desc, raw_ostream &OS);
25 extern bool TimeRegions;
27 } // End llvm namespace
29 #endif