MLIR
20.0.0git
|
Namespaces | |
matcher | |
Classes | |
struct | Query |
struct | InvalidQuery |
struct | NoOpQuery |
struct | HelpQuery |
struct | QuitQuery |
struct | MatchQuery |
class | QuerySession |
class | QueryParser |
Typedefs | |
typedef llvm::IntrusiveRefCntPtr< Query > | QueryRef |
Enumerations | |
enum class | QueryKind { Invalid , NoOp , Help , Match , Quit } |
Functions | |
QueryRef | parse (llvm::StringRef line, const QuerySession &qs) |
std::vector< llvm::LineEditor::Completion > | complete (llvm::StringRef line, size_t pos, const QuerySession &qs) |
static void | printMatch (llvm::raw_ostream &os, QuerySession &qs, Operation *op, const std::string &binding) |
static Operation * | extractFunction (std::vector< Operation * > &ops, MLIRContext *context, llvm::StringRef functionName) |
typedef llvm::IntrusiveRefCntPtr<Query> mlir::query::QueryRef |
|
strong |
std::vector< llvm::LineEditor::Completion > mlir::query::complete | ( | llvm::StringRef | line, |
size_t | pos, | ||
const QuerySession & | qs | ||
) |
Definition at line 25 of file Query.cpp.
References mlir::query::QueryParser::complete().
Referenced by mlir::mlirQueryMain().
|
static |
Definition at line 40 of file Query.cpp.
References mlir::MLIRContext::loadDialect().
Referenced by mlir::query::MatchQuery::run().
QueryRef mlir::query::parse | ( | llvm::StringRef | line, |
const QuerySession & | qs | ||
) |
Definition at line 20 of file Query.cpp.
References mlir::query::QueryParser::parse().
Referenced by mlir::RegisteredOperationName::Model< ConcreteOp >::getParseAssemblyFn(), mlir::mlirQueryMain(), mlir::FieldParser< ContainerT, std::enable_if_t< llvm::is_detected< detail::has_push_back_t, ContainerT >::value, ContainerT > >::parse(), mlir::FieldParser< DeviceIDTargetDeviceSpecPair >::parse(), mlir::AsmParser::parseCustomAttributeWithFallback(), mlir::AsmParser::parseCustomTypeWithFallback(), mlir::lsp::JSONTransport::run(), mlir::DynamicOpDefinition::setParseFn(), mlir::DynamicAttrDefinition::setParseFn(), and mlir::DynamicTypeDefinition::setParseFn().
|
static |