• Home
  • Raw
  • Download

Lines Matching refs:getVar

100   const VarT *getVar() { return var; }  in getVar()  function in __anon81548fc80211::VariableElement
734 lengthKind = getArgumentLengthKind(operand->getVar()); in getTypeListName()
735 return operand->getVar()->name; in getTypeListName()
738 lengthKind = getArgumentLengthKind(result->getVar()); in getTypeListName()
739 return result->getVar()->name; in getTypeListName()
805 const NamedAttribute *var = attr->getVar(); in genElementParserStorage()
810 StringRef name = operand->getVar()->name; in genElementParserStorage()
811 if (operand->getVar()->isVariableLength()) { in genElementParserStorage()
825 StringRef name = region->getVar()->name; in genElementParserStorage()
826 if (region->getVar()->isVariadic()) { in genElementParserStorage()
838 StringRef name = successor->getVar()->name; in genElementParserStorage()
839 if (successor->getVar()->isVariadic()) { in genElementParserStorage()
883 body << attr->getVar()->name << "Attr"; in genCustomParameterParser()
887 StringRef name = operand->getVar()->name; in genCustomParameterParser()
888 ArgumentLengthKind lengthKind = getArgumentLengthKind(operand->getVar()); in genCustomParameterParser()
897 StringRef name = region->getVar()->name; in genCustomParameterParser()
898 if (region->getVar()->isVariadic()) in genCustomParameterParser()
904 StringRef name = successor->getVar()->name; in genCustomParameterParser()
905 if (successor->getVar()->isVariadic()) in genCustomParameterParser()
943 body << " " << operand->getVar()->name in genCustomDirectiveParser()
945 if (operand->getVar()->isOptional()) { in genCustomDirectiveParser()
949 operand->getVar()->name); in genCustomDirectiveParser()
979 const NamedAttribute *var = attr->getVar(); in genCustomDirectiveParser()
986 const NamedTypeConstraint *var = operand->getVar(); in genCustomDirectiveParser()
1055 body << " if (" << attrVar->getVar()->name << "Attr) {\n"; in genElementParser()
1062 body << " if (!" << opVar->getVar()->name << "Operands.empty()) {\n"; in genElementParser()
1064 const NamedRegion *region = regionVar->getVar(); in genElementParser()
1084 body << " result.addAttribute(\"" << anchorAttr->getVar()->name in genElementParser()
1107 const NamedAttribute *var = attr->getVar(); in genElementParser()
1149 ArgumentLengthKind lengthKind = getArgumentLengthKind(operand->getVar()); in genElementParser()
1150 StringRef name = operand->getVar()->name; in genElementParser()
1159 bool isVariadic = region->getVar()->isVariadic(); in genElementParser()
1161 region->getVar()->name); in genElementParser()
1165 region->getVar()->name); in genElementParser()
1169 bool isVariadic = successor->getVar()->isVariadic(); in genElementParser()
1171 successor->getVar()->name); in genElementParser()
1532 body << attr->getVar()->name << "Attr()"; in genCustomDirectivePrinter()
1541 body << operand->getVar()->name << "()"; in genCustomDirectivePrinter()
1544 body << region->getVar()->name << "()"; in genCustomDirectivePrinter()
1547 body << successor->getVar()->name << "()"; in genCustomDirectivePrinter()
1552 auto *var = operand ? operand->getVar() in genCustomDirectivePrinter()
1553 : cast<ResultVariable>(typeOperand)->getVar(); in genCustomDirectivePrinter()
1563 auto *var = operand ? operand->getVar() in genCustomDirectivePrinter()
1564 : cast<ResultVariable>(typeOperand)->getVar(); in genCustomDirectivePrinter()
1604 auto *var = operand ? operand->getVar() : cast<ResultVariable>(arg)->getVar(); in genTypeOperandPrinter()
1632 const NamedTypeConstraint *var = operand->getVar(); in genElementPrinter()
1638 const NamedRegion *var = region->getVar(); in genElementPrinter()
1644 << cast<AttributeVariable>(anchor)->getVar()->name << "\")) {\n"; in genElementPrinter()
1683 const NamedAttribute *var = attr->getVar(); in genElementPrinter()
1707 if (operand->getVar()->isOptional()) { in genElementPrinter()
1708 body << " if (::mlir::Value value = " << operand->getVar()->name in genElementPrinter()
1712 body << " p << " << operand->getVar()->name << "();\n"; in genElementPrinter()
1715 const NamedRegion *var = region->getVar(); in genElementPrinter()
1722 const NamedSuccessor *var = successor->getVar(); in genElementPrinter()
2290 prevAttr->getVar()->name)); in verifyAttributes()
2652 const NamedTypeConstraint *var = opVar ? opVar->getVar() : nullptr; in parseOptional()
2702 if (isAnchor && !attrEle->getVar()->attr.isOptional()) in parseOptionalChildElement()
2710 if (!ele->getVar()->isVariableLength()) in parseOptionalChildElement()
2713 seenVariables.insert(ele->getVar()); in parseOptionalChildElement()
2923 unsigned opIdx = var->getVar() - op.operand_begin(); in parseTypeDirectiveOperand()
2925 return emitError(loc, "'type' of '" + var->getVar()->name + in parseTypeDirectiveOperand()
2928 return emitError(loc, "'type_ref' of '" + var->getVar()->name + in parseTypeDirectiveOperand()
2932 unsigned resIdx = var->getVar() - op.result_begin(); in parseTypeDirectiveOperand()
2934 return emitError(loc, "'type' of '" + var->getVar()->name + in parseTypeDirectiveOperand()
2937 return emitError(loc, "'type_ref' of '" + var->getVar()->name + in parseTypeDirectiveOperand()