LLVM
10.0.0
include
llvm
TableGen
Main.h
Go to the documentation of this file.
1
//===- llvm/TableGen/Main.h - tblgen entry point ----------------*- 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
// This file declares the common entry point for tblgen tools.
10
//
11
//===----------------------------------------------------------------------===//
12
13
#ifndef LLVM_TABLEGEN_MAIN_H
14
#define LLVM_TABLEGEN_MAIN_H
15
16
namespace
llvm
{
17
18
class
raw_ostream;
19
class
RecordKeeper;
20
21
/// Perform the action using Records, and write output to OS.
22
/// Returns true on error, false otherwise.
23
using
TableGenMainFn
=
bool
(
raw_ostream
&OS,
RecordKeeper
&Records);
24
25
int
TableGenMain
(
char
*argv0,
TableGenMainFn
*MainFn);
26
27
}
// end namespace llvm
28
29
#endif // LLVM_TABLEGEN_MAIN_H
llvm
This class represents lattice values for constants.
Definition:
AllocatorList.h:23
llvm::TableGenMain
int TableGenMain(char *argv0, TableGenMainFn *MainFn)
Definition:
Main.cpp:83
llvm::RecordKeeper
Definition:
Record.h:1695
llvm::TableGenMainFn
bool(raw_ostream &OS, RecordKeeper &Records) TableGenMainFn
Perform the action using Records, and write output to OS.
Definition:
Main.h:23
bool
llvm::raw_ostream
This class implements an extremely fast bulk output stream that can only output to a stream...
Definition:
raw_ostream.h:46
Generated on Tue Mar 24 2020 13:08:31 for LLVM by
1.8.13