Home
last modified time | relevance | path

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

/llvm-project-15.0.7/mlir/examples/toy/Ch7/mlir/
H A DDialect.cpp186 auto attrValue = opaqueValue.dyn_cast<mlir::DenseFPElementsAttr>(); in verifyConstantForType() local
187 if (!attrValue) in verifyConstantForType()
200 auto attrType = attrValue.getType().cast<mlir::TensorType>(); in verifyConstantForType()
222 auto attrValue = opaqueValue.dyn_cast<ArrayAttr>(); in verifyConstantForType() local
223 if (!attrValue || attrValue.getValue().size() != resultElementTypes.size()) in verifyConstantForType()
229 llvm::ArrayRef<mlir::Attribute> attrElementValues = attrValue.getValue(); in verifyConstantForType()
/llvm-project-15.0.7/mlir/python/mlir/dialects/
H A D_pdl_ops_ext.py152 for attrName, attrValue in attributes.items():
154 attributeValues.append(_get_value(attrValue))
/llvm-project-15.0.7/mlir/lib/Dialect/PDL/IR/
H A DPDL.cpp115 Optional<Attribute> attrValue = value(); in verify() local
117 if (!attrValue) { in verify()
/llvm-project-15.0.7/mlir/lib/Target/SPIRV/Deserialization/
H A DDeserializeOps.cpp540 auto attrValue = words[wordIndex++]; in processOp() local
542 "memory_access", opBuilder.getI32IntegerAttr(attrValue))); in processOp()
543 isAlignedAttr = (attrValue == 2); in processOp()
/llvm-project-15.0.7/mlir/lib/Tools/PDLL/Parser/
H A DParser.cpp1022 ast::Expr *attrValue = nullptr; in parseNamedAttributeDecl() local
1027 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()
/llvm-project-15.0.7/mlir/lib/Dialect/Vector/IR/
H A DVectorOps.cpp4733 int64_t attrValue = it.value().cast<IntegerAttr>().getInt(); in verify() local
4734 if (attrValue < 0 || attrValue > resultShape[it.index()]) in verify()
4737 maskDimSizes.push_back(attrValue); in verify()
/llvm-project-15.0.7/mlir/docs/
H A DPDLL.md741 let root = op<my_dialect.foo> {attr1 = attrValue: Attr, attr2 = attrValue2: Attr};
842 let attrValue = tupleValue.1;
858 let attrValue = tupleValue.1;