9#ifndef CIRCT_DIALECT_OM_OMUTILS_H
10#define CIRCT_DIALECT_OM_OMUTILS_H
13#include "llvm/ADT/STLExtras.h"
21ParseResult
parseBasePath(MLIRContext *context, StringRef spelling,
30ParseResult
parsePath(MLIRContext *context, StringRef spelling, PathAttr &path,
31 StringAttr &module, StringAttr &ref, StringAttr &field);
ParseResult parsePath(MLIRContext *context, StringRef spelling, PathAttr &path, StringAttr &module, StringAttr &ref, StringAttr &field)
Parse a target string in to a path.
ParseResult parseBasePath(MLIRContext *context, StringRef spelling, PathAttr &path)
Parse a target string of the form "Foo/bar:Bar/baz" in to a base path.