Lines Matching refs:resultAttrs
96 SmallVectorImpl<NamedAttrList> &resultAttrs) { in parseFunctionResultList() argument
104 resultAttrs.emplace_back(); in parseFunctionResultList()
115 resultAttrs.emplace_back(); in parseFunctionResultList()
117 parser.parseOptionalAttrDict(resultAttrs.back())) { in parseFunctionResultList()
133 SmallVectorImpl<NamedAttrList> &resultAttrs) { in parseFunctionSignature() argument
139 return parseFunctionResultList(parser, resultTypes, resultAttrs); in parseFunctionSignature()
145 ArrayRef<NamedAttrList> resultAttrs) { in addArgAndResultAttrs() argument
154 for (unsigned i = 0, e = resultAttrs.size(); i != e; ++i) in addArgAndResultAttrs()
155 if (!resultAttrs[i].empty()) in addArgAndResultAttrs()
157 builder.getDictionaryAttr(resultAttrs[i])); in addArgAndResultAttrs()
168 SmallVector<NamedAttrList, 4> resultAttrs; in parseFunctionLikeOp() local
186 argAttrs, isVariadic, resultTypes, resultAttrs)) in parseFunctionLikeOp()
204 assert(resultAttrs.size() == resultTypes.size()); in parseFunctionLikeOp()
205 addArgAndResultAttrs(builder, result, argAttrs, resultAttrs); in parseFunctionLikeOp()
276 SmallVector<ArrayRef<NamedAttribute>, 4> resultAttrs; in printFunctionSignature() local
278 resultAttrs.push_back(::mlir::impl::getResultAttrs(op, i)); in printFunctionSignature()
279 printFunctionResultList(p, resultTypes, resultAttrs); in printFunctionSignature()