Home
last modified time | relevance | path

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

/llvm-project-15.0.7/mlir/tools/mlir-tblgen/
H A DAttrOrTypeFormatGen.cpp203 void genCustomParser(CustomDirective *el, FmtContext &ctx, MethodBody &os);
224 void genCustomPrinter(CustomDirective *el, FmtContext &ctx, MethodBody &os);
331 if (auto *custom = dyn_cast<CustomDirective>(el)) in genElementParser()
586 void DefFormat::genCustomParser(CustomDirective *el, FmtContext &ctx, in genCustomParser()
697 if (auto *custom = dyn_cast<CustomDirective>(el)) in genElementPrinter()
811 void DefFormat::genCustomPrinter(CustomDirective *el, FmtContext &ctx, in genCustomPrinter()
H A DFormatGen.h319 class CustomDirective : public DirectiveElementBase<DirectiveElement::Custom> {
322 CustomDirective(StringRef name, std::vector<FormatElement *> &&arguments) in CustomDirective() function
H A DOpFormatGen.cpp791 } else if (auto *custom = dyn_cast<CustomDirective>(element)) { in genElementParserStorage()
925 static void genCustomDirectiveParser(CustomDirective *dir, MethodBody &body) { in genCustomDirectiveParser()
1289 } else if (auto *customDir = dyn_cast<CustomDirective>(element)) { in genElementParser()
1724 static void genCustomDirectivePrinter(CustomDirective *customDir, in genCustomDirectivePrinter()
1872 .Case([&](CustomDirective *ele) { in collect()
2073 } else if (auto *dir = dyn_cast<CustomDirective>(element)) { in genElementPrinter()
3165 .Case<LiteralElement, WhitespaceElement, CustomDirective, in verifyOptionalGroupElement()
H A DFormatGen.cpp382 return create<CustomDirective>(nameTok->getSpelling(), std::move(arguments)); in parseCustomDirective()