Home
last modified time | relevance | path

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

/llvm-project/mlir/tools/mlir-tblgen/
H A DFormatGen.cpp199 // FormatParser
204 FormatParser::~FormatParser() = default;
206 FailureOr<std::vector<FormatElement *>> FormatParser::parse() { in parse()
227 FailureOr<FormatElement *> FormatParser::parseElement(Context ctx) { in parseElement()
242 FailureOr<FormatElement *> FormatParser::parseLiteral(Context ctx) { in parseLiteral()
273 FailureOr<FormatElement *> FormatParser::parseString(Context ctx) { in parseString()
295 FailureOr<FormatElement *> FormatParser::parseVariable(Context ctx) { in parseVariable()
305 FailureOr<FormatElement *> FormatParser::parseDirective(Context ctx) { in parseDirective()
319 FailureOr<FormatElement *> FormatParser in parseOptionalGroup()
[all...]
H A DFormatGen.h442 class FormatParser {
445 virtual ~FormatParser();
467 explicit FormatParser(llvm::SourceMgr &mgr, llvm::SMLoc loc) in FormatParser() function
H A DAttrOrTypeFormatGen.cpp943 class DefFormatParser : public FormatParser {
946 : FormatParser(mgr, def.getLoc()[0]), def(def), in DefFormatParser()
1091 FailureOr<std::vector<FormatElement *>> elements = FormatParser::parse(); in parse()
H A DOpFormatGen.cpp2679 class OpFormatParser : public FormatParser { in verify()
2682 : FormatParser(mgr, op.getLoc()[0]), fmt(format), op(op), in verify()