Home
last modified time | relevance | path

Searched refs:parseElement (Results 1 – 6 of 6) sorted by relevance

/external/llvm-project/mlir/lib/Parser/
DAffineParser.cpp49 function_ref<ParseResult(bool)> parseElement = nullptr) in AffineParser() argument
51 parseElement(parseElement), numDimOperands(0), numSymbolOperands(0) {} in AffineParser()
93 function_ref<ParseResult(bool)> parseElement; member in __anon9fe7c6b20111::AffineParser
300 if (parseElement(isSymbol)) in parseSSAIdExpr()
722 function_ref<ParseResult(bool)> parseElement, in parseAffineMapOfSSAIds() argument
724 return AffineParser(state, /*allowParsingSSAIds=*/true, parseElement) in parseAffineMapOfSSAIds()
DParser.h39 function_ref<ParseResult()> parseElement,
44 ParseResult parseCommaSeparatedList(function_ref<ParseResult()> parseElement);
259 function_ref<ParseResult(bool)> parseElement,
DAttributeParser.cpp474 ParseResult parseElement();
512 return parseElement(); in parse()
728 ParseResult TensorLiteralParser::parseElement() { in parseElement() function in TensorLiteralParser
756 if (parseElement() || in parseElement()
758 parseElement() || in parseElement()
795 } else if (parseElement()) { in parseList()
DParser.cpp39 Parser::parseCommaSeparatedList(function_ref<ParseResult()> parseElement) { in parseCommaSeparatedList() argument
41 if (parseElement()) in parseCommaSeparatedList()
46 if (parseElement()) in parseCommaSeparatedList()
60 function_ref<ParseResult()> parseElement, in parseCommaSeparatedListUntil() argument
70 if (parseCommaSeparatedList(parseElement) || in parseCommaSeparatedListUntil()
1378 auto parseElement = [&](bool isSymbol) -> ParseResult { in parseAffineMapOfSSAIds() local
1390 if (parser.parseAffineMapOfSSAIds(map, parseElement, delimiter)) in parseAffineMapOfSSAIds()
/external/llvm-project/mlir/tools/mlir-linalg-ods-gen/
Dmlir-linalg-ods-gen.cpp379 parseCommaSeparatedList(llvm::function_ref<ParseResult()> parseElement) { in parseCommaSeparatedList() argument
381 if (parseElement()) in parseCommaSeparatedList()
386 if (parseElement()) in parseCommaSeparatedList()
393 llvm::function_ref<ParseResult()> parseElement, in parseCommaSeparatedListUntil() argument
403 if (failed(parseCommaSeparatedList(parseElement)) || in parseCommaSeparatedListUntil()
/external/llvm-project/mlir/tools/mlir-tblgen/
DOpFormatGen.cpp2101 LogicalResult parseElement(std::unique_ptr<Element> &element,
2193 if (failed(parseElement(element, /*isTopLevel=*/true))) in parse()
2485 LogicalResult FormatParser::parseElement(std::unique_ptr<Element> &element, in parseElement() function in FormatParser
2685 if (failed(parseElement(childElements.back(), /*isTopLevel=*/true))) in parseOptionalChildElement()
2812 if (failed(parseElement(parameters.back(), /*isTopLevel=*/true))) in parseCustomDirectiveParameter()
2916 if (failed(parseElement(element, /*isTopLevel=*/false))) in parseTypeDirectiveOperand()