Searched refs:attrValue (Results 1 – 7 of 7) sorted by relevance
186 auto attrValue = opaqueValue.dyn_cast<mlir::DenseFPElementsAttr>(); in verifyConstantForType() local187 if (!attrValue) in verifyConstantForType()200 auto attrType = attrValue.getType().cast<mlir::TensorType>(); in verifyConstantForType()222 auto attrValue = opaqueValue.dyn_cast<ArrayAttr>(); in verifyConstantForType() local223 if (!attrValue || attrValue.getValue().size() != resultElementTypes.size()) in verifyConstantForType()229 llvm::ArrayRef<mlir::Attribute> attrElementValues = attrValue.getValue(); in verifyConstantForType()
152 for attrName, attrValue in attributes.items():154 attributeValues.append(_get_value(attrValue))
115 Optional<Attribute> attrValue = value(); in verify() local117 if (!attrValue) { in verify()
540 auto attrValue = words[wordIndex++]; in processOp() local542 "memory_access", opBuilder.getI32IntegerAttr(attrValue))); in processOp()543 isAlignedAttr = (attrValue == 2); in processOp()
1022 ast::Expr *attrValue = nullptr; in parseNamedAttributeDecl() local1027 attrValue = *attrExpr; in parseNamedAttributeDecl()1031 attrValue = ast::AttributeExpr::create(ctx, name.getLoc(), "unit"); in parseNamedAttributeDecl()1034 return ast::NamedAttributeDecl::create(ctx, name, attrValue); in parseNamedAttributeDecl()
4733 int64_t attrValue = it.value().cast<IntegerAttr>().getInt(); in verify() local4734 if (attrValue < 0 || attrValue > resultShape[it.index()]) in verify()4737 maskDimSizes.push_back(attrValue); in verify()
741 let root = op<my_dialect.foo> {attr1 = attrValue: Attr, attr2 = attrValue2: Attr};842 let attrValue = tupleValue.1;858 let attrValue = tupleValue.1;