LLVM
8.0.1
include
llvm
TableGen
Main.h
Go to the documentation of this file.
1
//===- llvm/TableGen/Main.h - tblgen entry point ----------------*- C++ -*-===//
2
//
3
// The LLVM Compiler Infrastructure
4
//
5
// This file is distributed under the University of Illinois Open Source
6
// License. See LICENSE.TXT for details.
7
//
8
//===----------------------------------------------------------------------===//
9
//
10
// This file declares the common entry point for tblgen tools.
11
//
12
//===----------------------------------------------------------------------===//
13
14
#ifndef LLVM_TABLEGEN_MAIN_H
15
#define LLVM_TABLEGEN_MAIN_H
16
17
namespace
llvm
{
18
19
class
raw_ostream;
20
class
RecordKeeper;
21
22
/// Perform the action using Records, and write output to OS.
23
/// Returns true on error, false otherwise.
24
using
TableGenMainFn
=
bool
(
raw_ostream
&OS,
RecordKeeper
&Records);
25
26
int
TableGenMain
(
char
*argv0,
TableGenMainFn
*MainFn);
27
28
}
// end namespace llvm
29
30
#endif // LLVM_TABLEGEN_MAIN_H
llvm
This class represents lattice values for constants.
Definition:
AllocatorList.h:24
llvm::TableGenMain
int TableGenMain(char *argv0, TableGenMainFn *MainFn)
Definition:
Main.cpp:81
llvm::RecordKeeper
Definition:
Record.h:1599
llvm::TableGenMainFn
bool(raw_ostream &OS, RecordKeeper &Records) TableGenMainFn
Perform the action using Records, and write output to OS.
Definition:
Main.h:24
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 Sun Dec 20 2020 13:53:37 for LLVM by
1.8.13