MLIR
17.0.0git
|
#include "mlir/Tools/mlir-tblgen/MlirTblgenMain.h"
#include "mlir/TableGen/GenInfo.h"
#include "mlir/TableGen/GenNameParser.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/FormatVariadic.h"
#include "llvm/Support/InitLLVM.h"
#include "llvm/Support/Signals.h"
#include "llvm/TableGen/Error.h"
#include "llvm/TableGen/Main.h"
#include "llvm/TableGen/Record.h"
Go to the source code of this file.
Enumerations | |
enum | DeprecatedAction { None , Warn , Error } |
Functions | |
static bool | findUse (Init *field, Init *deprecatedInit, llvm::DenseMap< Init *, bool > &known) |
static bool | findUse (Record &record, Init *deprecatedInit, llvm::DenseMap< Init *, bool > &known) |
static void | warnOfDeprecatedUses (RecordKeeper &records) |
static bool | mlirTableGenMain (raw_ostream &os, RecordKeeper &records) |
Variables | |
static DeprecatedAction | actionOnDeprecatedValue |
static const mlir::GenInfo * | generator |
enum DeprecatedAction |
Enumerator | |
---|---|
None | |
Warn | |
Error |
Definition at line 28 of file MlirTblgenMain.cpp.
|
static |
Definition at line 33 of file MlirTblgenMain.cpp.
Referenced by warnOfDeprecatedUses().
|
static |
Definition at line 86 of file MlirTblgenMain.cpp.
|
static |
Definition at line 129 of file MlirTblgenMain.cpp.
References actionOnDeprecatedValue, generator, mlir::GenInfo::invoke(), None, and warnOfDeprecatedUses().
Referenced by mlir::MlirTblgenMain().
|
static |
Definition at line 93 of file MlirTblgenMain.cpp.
References actionOnDeprecatedValue, Error, and findUse().
Referenced by mlirTableGenMain().
|
static |
Definition at line 30 of file MlirTblgenMain.cpp.
Referenced by mlirTableGenMain(), mlir::MlirTblgenMain(), and warnOfDeprecatedUses().
|
static |
Definition at line 125 of file MlirTblgenMain.cpp.
Referenced by mlirTableGenMain(), mlir::MlirTblgenMain(), and mlir::detail::PDLByteCode::PDLByteCode().