Searched refs:attr_ty (Results 1 – 2 of 2) sorted by relevance
92 auto attr_ty = VectorType::get(3, builder.getI32Type()); in runOnFunction() local93 auto operand_size_attr = DenseIntElementsAttr::get(attr_ty, operand_sizes); in runOnFunction()
2379 ShapedType attr_ty = slice.start_indices().getType(); in inferReturnTypes() local2380 if (attr_ty.getRank() != 1) { in inferReturnTypes()2382 attr_ty.getRank(), " instead of required rank 1"); in inferReturnTypes()2386 if (attr_ty.getNumElements() != rank) { in inferReturnTypes()2389 attr_ty.getNumElements(), ") does not match the rank of the operand (", in inferReturnTypes()2393 if (!attr_ty.getElementType().isSignlessInteger(64) || in inferReturnTypes()2394 slice.limit_indices().getType() != attr_ty || in inferReturnTypes()2395 slice.strides().getType() != attr_ty) { in inferReturnTypes()