9 #ifndef MLIR_TOOLS_MLIRQUERY_QUERYSESSION_H
10 #define MLIR_TOOLS_MLIRQUERY_QUERYSESSION_H
14 #include "llvm/ADT/StringMap.h"
15 #include "llvm/Support/SourceMgr.h"
25 : rootOp(rootOp), sourceMgr(sourceMgr), bufferId(bufferId),
26 matcherRegistry(matcherRegistry) {}
38 llvm::SourceMgr &sourceMgr;
Operation is the basic unit of execution within MLIR.
const matcher::Registry & getRegistryData() const
llvm::SourceMgr & getSourceManager() const
QuerySession(Operation *rootOp, llvm::SourceMgr &sourceMgr, unsigned bufferId, const matcher::Registry &matcherRegistry)
llvm::StringMap< matcher::VariantValue > namedValues