Home
last modified time | relevance | path

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

/external/llvm-project/mlir/tools/mlir-tblgen/
DOpFormatGen.cpp1079 auto *anchorAttr = dyn_cast<AttributeVariable>(optional->getAnchor()); in genElementParser() local
1080 if (anchorAttr && anchorAttr != firstElement && anchorAttr->isUnitAttr()) { in genElementParser()
1081 elidedAnchorElement = anchorAttr; in genElementParser()
1084 body << " result.addAttribute(\"" << anchorAttr->getVar()->name in genElementParser()
1651 auto *anchorAttr = dyn_cast<AttributeVariable>(anchor); in genElementPrinter() local
1652 if (anchorAttr && anchorAttr != &*elements.begin() && in genElementPrinter()
1653 anchorAttr->isUnitAttr()) { in genElementPrinter()
1654 elidedAnchorElement = anchorAttr; in genElementPrinter()