Home | History | Annotate | Download | only in gallivm

Lines Matching refs:src_type

63    struct lp_type src_type;
67 lp_type_from_format_desc(&src_type, format_desc);
69 assert(src_type.length <= dst_type.length);
71 src_vec_type = lp_build_vec_type(gallivm, src_type);
84 LLVMSetAlignment(res, src_type.width / 8);
87 if (src_type.floating && src_type.width == 64) {
88 src_type.width = 32;
89 src_vec_type = lp_build_vec_type(gallivm, src_type);
95 if (src_type.length < dst_type.length) {
97 src_type.length = dst_type.length;
104 tmp_type.sign = src_type.sign;
108 lp_build_conv(gallivm, src_type, tmp_type, &res, 1, &res, 1);