Home
last modified time | relevance | path

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

/external/llvm-project/mlir/tools/mlir-tblgen/
DOpFormatGen.cpp256 class LiteralElement : public Element { class
258 LiteralElement(StringRef literal) in LiteralElement() function in __anon81548fc80411::LiteralElement
276 bool LiteralElement::isValidLiteral(StringRef value) { in isValidLiteral()
1056 } else if (auto *literal = dyn_cast<LiteralElement>(firstElement)) { in genElementParser()
1096 } else if (LiteralElement *literal = dyn_cast<LiteralElement>(element)) { in genElementParser()
1619 if (LiteralElement *literal = dyn_cast<LiteralElement>(element)) in genElementPrinter()
2281 auto *literal = dyn_cast<LiteralElement>(&*nextIt); in verifyAttributes()
2605 if (!LiteralElement::isValidLiteral(value)) in parseLiteral()
2608 element = std::make_unique<LiteralElement>(value); in parseLiteral()
2642 !isa<LiteralElement>(firstElement) && in parseOptional()
[all …]