Lines Matching defs:scalarTy
936 static VectorType getVectorType(Type scalarTy,
938 assert(!isa<VectorType>(scalarTy) && "Expected scalar type");
939 return VectorType::get(strategy->vectorSizes, scalarTy);
947 Type scalarTy = constOp.getType();
948 if (!VectorType::isValidElementType(scalarTy))
951 auto vecTy = getVectorType(scalarTy, state.strategy);
1004 Type scalarTy = oldOperand.getType();
1005 if (!VectorType::isValidElementType(scalarTy))
1009 reductionKind, scalarTy, state.builder, oldOperand.getLoc());
1010 auto vecTy = getVectorType(scalarTy, state.strategy);
1283 Type scalarTy = value.getType();
1284 if (!VectorType::isValidElementType(scalarTy))
1286 Attribute valueAttr = getIdentityValueAttr(reductionKind, scalarTy,