MLIR  16.0.0git
Functions
MlirOptMain.cpp File Reference
#include "mlir/Tools/mlir-opt/MlirOptMain.h"
#include "mlir/IR/AsmState.h"
#include "mlir/IR/Attributes.h"
#include "mlir/IR/BuiltinOps.h"
#include "mlir/IR/Diagnostics.h"
#include "mlir/IR/Dialect.h"
#include "mlir/IR/Location.h"
#include "mlir/IR/MLIRContext.h"
#include "mlir/Parser/Parser.h"
#include "mlir/Pass/Pass.h"
#include "mlir/Pass/PassManager.h"
#include "mlir/Support/DebugCounter.h"
#include "mlir/Support/FileUtilities.h"
#include "mlir/Support/Timing.h"
#include "mlir/Support/ToolUtilities.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/FileUtilities.h"
#include "llvm/Support/InitLLVM.h"
#include "llvm/Support/Regex.h"
#include "llvm/Support/SourceMgr.h"
#include "llvm/Support/StringSaver.h"
#include "llvm/Support/ThreadPool.h"
#include "llvm/Support/ToolOutputFile.h"
+ Include dependency graph for MlirOptMain.cpp:

Go to the source code of this file.

Functions

static LogicalResult performActions (raw_ostream &os, bool verifyDiagnostics, bool verifyPasses, SourceMgr &sourceMgr, MLIRContext *context, PassPipelineFn passManagerSetupFn)
 Perform the actions on the input file indicated by the command line flags within the specified context. More...
 
static LogicalResult processBuffer (raw_ostream &os, std::unique_ptr< MemoryBuffer > ownedBuffer, bool verifyDiagnostics, bool verifyPasses, bool allowUnregisteredDialects, bool preloadDialectsInContext, PassPipelineFn passManagerSetupFn, DialectRegistry &registry, llvm::ThreadPool *threadPool)
 Parses the memory buffer. More...
 

Function Documentation

◆ performActions()

static LogicalResult performActions ( raw_ostream &  os,
bool  verifyDiagnostics,
bool  verifyPasses,
SourceMgr &  sourceMgr,
MLIRContext context,
PassPipelineFn  passManagerSetupFn 
)
static

◆ processBuffer()

static LogicalResult processBuffer ( raw_ostream &  os,
std::unique_ptr< MemoryBuffer >  ownedBuffer,
bool  verifyDiagnostics,
bool  verifyPasses,
bool  allowUnregisteredDialects,
bool  preloadDialectsInContext,
PassPipelineFn  passManagerSetupFn,
DialectRegistry registry,
llvm::ThreadPool *  threadPool 
)
static