MLIR  20.0.0git
Enumerations | Functions | Variables
MlirTblgenMain.cpp File Reference
#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 (const Init *field, const Init *deprecatedInit, llvm::DenseMap< const Init *, bool > &known)
 
static bool findUse (Record &record, const Init *deprecatedInit, llvm::DenseMap< const Init *, bool > &known)
 
static void warnOfDeprecatedUses (const RecordKeeper &records)
 
static bool mlirTableGenMain (raw_ostream &os, const RecordKeeper &records)
 

Variables

static DeprecatedAction actionOnDeprecatedValue
 
static const mlir::GenInfogenerator
 

Enumeration Type Documentation

◆ DeprecatedAction

Enumerator
None 
Warn 
Error 

Definition at line 28 of file MlirTblgenMain.cpp.

Function Documentation

◆ findUse() [1/2]

static bool findUse ( const Init *  field,
const Init *  deprecatedInit,
llvm::DenseMap< const Init *, bool > &  known 
)
static

Definition at line 33 of file MlirTblgenMain.cpp.

◆ findUse() [2/2]

static bool findUse ( Record &  record,
const Init *  deprecatedInit,
llvm::DenseMap< const Init *, bool > &  known 
)
static

Definition at line 86 of file MlirTblgenMain.cpp.

◆ mlirTableGenMain()

static bool mlirTableGenMain ( raw_ostream &  os,
const RecordKeeper &  records 
)
static

◆ warnOfDeprecatedUses()

static void warnOfDeprecatedUses ( const RecordKeeper &  records)
static

Definition at line 93 of file MlirTblgenMain.cpp.

Referenced by mlirTableGenMain().

Variable Documentation

◆ actionOnDeprecatedValue

DeprecatedAction actionOnDeprecatedValue
static

Definition at line 30 of file MlirTblgenMain.cpp.

Referenced by mlirTableGenMain(), and mlir::MlirTblgenMain().

◆ generator

const mlir::GenInfo* generator
static

Definition at line 125 of file MlirTblgenMain.cpp.

Referenced by mlirTableGenMain(), and mlir::MlirTblgenMain().