MLIR  19.0.0git
Public Member Functions | Public Attributes | List of all members
mlir::query::QuerySession Class Reference

#include "mlir/Query/QuerySession.h"

Public Member Functions

 QuerySession (Operation *rootOp, llvm::SourceMgr &sourceMgr, unsigned bufferId, const matcher::Registry &matcherRegistry)
OperationgetRootOp ()
llvm::SourceMgr & getSourceManager () const
unsigned getBufferId ()
const matcher::RegistrygetRegistryData () const

Public Attributes

llvm::StringMap< matcher::VariantValuenamedValues
bool terminate = false

Detailed Description

Definition at line 18 of file QuerySession.h.

Constructor & Destructor Documentation

◆ QuerySession()

mlir::query::QuerySession::QuerySession ( Operation rootOp,
llvm::SourceMgr &  sourceMgr,
unsigned  bufferId,
const matcher::Registry matcherRegistry 

Definition at line 20 of file QuerySession.h.

Member Function Documentation

◆ getBufferId()

unsigned mlir::query::QuerySession::getBufferId ( )

Definition at line 27 of file QuerySession.h.

◆ getRegistryData()

const matcher::Registry& mlir::query::QuerySession::getRegistryData ( ) const

Definition at line 28 of file QuerySession.h.

◆ getRootOp()

Operation* mlir::query::QuerySession::getRootOp ( )

Definition at line 25 of file QuerySession.h.

Referenced by mlir::query::MatchQuery::run().

◆ getSourceManager()

llvm::SourceMgr& mlir::query::QuerySession::getSourceManager ( ) const

Definition at line 26 of file QuerySession.h.

Member Data Documentation

◆ namedValues

llvm::StringMap<matcher::VariantValue> mlir::query::QuerySession::namedValues

Definition at line 30 of file QuerySession.h.

◆ terminate

bool mlir::query::QuerySession::terminate = false

Definition at line 31 of file QuerySession.h.

Referenced by mlir::mlirQueryMain(), and mlir::query::QuitQuery::run().

The documentation for this class was generated from the following file: