Home
last modified time | relevance | path

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

/llvm-project-15.0.7/mlir/tools/mlir-tblgen/
H A DAttrOrTypeFormatGen.cpp205 void genOptionalGroupParser(OptionalElement *el, FmtContext &ctx,
226 void genOptionalGroupPrinter(OptionalElement *el, FmtContext &ctx,
333 if (auto *optional = dyn_cast<OptionalElement>(el)) in genElementParser()
627 void DefFormat::genOptionalGroupParser(OptionalElement *el, FmtContext &ctx, in genOptionalGroupParser()
701 if (auto *optional = dyn_cast<OptionalElement>(el)) in genElementPrinter()
825 void DefFormat::genOptionalGroupPrinter(OptionalElement *el, FmtContext &ctx, in genOptionalGroupPrinter()
H A DFormatGen.h360 class OptionalElement : public FormatElementBase<FormatElement::Optional> {
363 OptionalElement(std::vector<FormatElement *> &&thenElements, in OptionalElement() function
H A DOpFormatGen.cpp769 if (auto *optional = dyn_cast<OptionalElement>(element)) { in genElementParserStorage()
1114 if (auto *optional = dyn_cast<OptionalElement>(element)) { in genElementParser()
1876 .Case([&](OptionalElement *ele) { in collect()
1913 if (OptionalElement *optional = dyn_cast<OptionalElement>(element)) { in genElementPrinter()
2387 if (auto *optional = dyn_cast<OptionalElement>(element)) { in checkElementRangeForColon()
2434 } else if (auto *optional = dyn_cast<OptionalElement>(*it)) { in verifyAttributeColon()
3166 FunctionalTypeDirective, OptionalElement>([&](FormatElement *) { in verifyOptionalGroupElement()
H A DFormatGen.cpp342 return create<OptionalElement>(std::move(thenElements), in parseOptionalGroup()