Searched refs:typeAttr (Results 1 – 7 of 7) sorted by relevance
46 if (auto typeAttr = quantSpec.dyn_cast<TypeAttr>()) { in isValidQuantizationSpec() local47 Type spec = typeAttr.getValue(); in isValidQuantizationSpec()
43 AttrValue typeAttr; in TestBitcastOp() local44 SetAttrValue(input_tensor->dtype(), &typeAttr); in TestBitcastOp()49 (*def.mutable_attr())["T"] = typeAttr; in TestBitcastOp()
80 LstrType typeAttr = LstrType.fromString(parts.getAttributeValue(-1, "type")); in Validity() local81 if (typeAttr != type) { in Validity()
218 auto typeAttr = getTypeAttr(); in isTypeAttrValid() local219 if (!typeAttr) in isTypeAttrValid()221 return typeAttr.getValue() != Type{}; in isTypeAttrValid()
432 if (TypeAttr type = typeOp.typeAttr()) { in generateRewriter()571 if (TypeAttr typeAttr = typeOp.typeAttr()) { in generateRewriter() local573 builder.create<pdl_interp::CreateTypeOp>(typeOp.getLoc(), typeAttr); in generateRewriter()
568 } else if (auto typeAttr = attr.dyn_cast<TypeAttr>()) { in visit() local569 visit(typeAttr.getValue()); in visit()1554 } else if (auto typeAttr = attr.dyn_cast<TypeAttr>()) { in printAttribute() local1555 printType(typeAttr.getValue()); in printAttribute()
2078 parseGlobalMemrefOpTypeAndInitialValue(OpAsmParser &parser, TypeAttr &typeAttr, in parseGlobalMemrefOpTypeAndInitialValue() argument2088 typeAttr = TypeAttr::get(type); in parseGlobalMemrefOpTypeAndInitialValue()