Home
last modified time | relevance | path

Searched refs:FormatParser (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/mlir/tools/mlir-tblgen/
H A DFormatGen.cpp189 FormatParser::~FormatParser() = default;
191 FailureOr<std::vector<FormatElement *>> FormatParser::parse() { in parse()
212 FailureOr<FormatElement *> FormatParser::parseElement(Context ctx) { in parseElement()
225 FailureOr<FormatElement *> FormatParser::parseLiteral(Context ctx) { in parseLiteral()
256 FailureOr<FormatElement *> FormatParser::parseVariable(Context ctx) { in parseVariable()
266 FailureOr<FormatElement *> FormatParser::parseDirective(Context ctx) { in parseDirective()
276 FailureOr<FormatElement *> FormatParser::parseOptionalGroup(Context ctx) { in parseOptionalGroup()
347 FailureOr<FormatElement *> FormatParser::parseCustomDirective(SMLoc loc, in parseCustomDirective()
H A DFormatGen.h403 class FormatParser {
406 virtual ~FormatParser();
428 explicit FormatParser(llvm::SourceMgr &mgr, llvm::SMLoc loc) in FormatParser() function
H A DAttrOrTypeFormatGen.cpp869 class DefFormatParser : public FormatParser {
872 : FormatParser(mgr, def.getLoc()[0]), def(def), in DefFormatParser()
989 FailureOr<std::vector<FormatElement *>> elements = FormatParser::parse(); in parse()
H A DOpFormatGen.cpp2159 class OpFormatParser : public FormatParser {
2162 : FormatParser(mgr, op.getLoc()[0]), fmt(format), op(op), in OpFormatParser()