Searched refs:vec_type (Results 1 - 25 of 75) sorted by relevance

123

/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/gallivm/
H A Dlp_bld_type.c121 lp_check_vec_type(struct lp_type type, LLVMTypeRef vec_type) argument
125 assert(vec_type);
126 if(!vec_type)
130 return lp_check_elem_type(type, vec_type);
132 if(LLVMGetTypeKind(vec_type) != LLVMVectorTypeKind)
135 if(LLVMGetVectorSize(vec_type) != type.length)
138 elem_type = LLVMGetElementType(vec_type);
147 LLVMTypeRef vec_type; local in function:lp_check_value
153 vec_type = LLVMTypeOf(val);
155 return lp_check_vec_type(type, vec_type);
[all...]
H A Dlp_bld_format_float.c99 i32_src = LLVMBuildBitCast(builder, src, i32_bld.vec_type, "");
108 rescale_src = LLVMBuildBitCast(builder, rescale_src, i32_bld.vec_type, "");
121 rescale_src = LLVMBuildBitCast(builder, rescale_src, i32_bld.vec_type, "");
123 rescale_src = LLVMBuildBitCast(builder, rescale_src, f32_bld.vec_type, "");
132 magic = LLVMBuildBitCast(builder, magic, f32_bld.vec_type, "");
139 small_max = LLVMBuildBitCast(builder, small_max, f32_bld.vec_type, "");
141 normal = LLVMBuildBitCast(builder, normal, i32_bld.vec_type, "");
155 src_abs = LLVMBuildBitCast(builder, src_abs, i32_bld.vec_type, "");
188 rescale_src = LLVMBuildBitCast(builder, rescale_src, i32_bld.vec_type, "");
328 srcabs = LLVMBuildBitCast(builder, srcabs, f32_bld.vec_type, "");
[all...]
H A Dlp_bld_format_s3tc.c479 bld8->vec_type, intrargs, 2, 0);
499 res = LLVMBuildTrunc(builder, res, bld8->vec_type, "");
627 colors0 = LLVMBuildBitCast(builder, color0, bld8.vec_type, "");
628 colors1 = LLVMBuildBitCast(builder, color1, bld8.vec_type, "");
631 color2 = LLVMBuildBitCast(builder, color2, bld32.vec_type, "");
632 color3 = LLVMBuildBitCast(builder, color3, bld32.vec_type, "");
650 color2_2 = LLVMBuildBitCast(builder, color2_2, bld32.vec_type, "");
677 color2_2 = LLVMBuildBitCast(builder, color2_2, bld32.vec_type, "");
733 return LLVMBuildBitCast(builder, rgba, bld8.vec_type, "");
792 rgba = LLVMBuildBitCast(builder, rgba, bld.vec_type, "");
[all...]
H A Dlp_bld_bitarit.c59 res = LLVMBuildBitCast(builder, res, bld->vec_type, "");
85 res = LLVMBuildBitCast(builder, res, bld->vec_type, "");
113 res = LLVMBuildBitCast(builder, res, bld->vec_type, "");
143 res = LLVMBuildBitCast(builder, res, bld->vec_type, "");
164 res = LLVMBuildBitCast(builder, res, bld->vec_type, "");
H A Dlp_bld_const.c227 LLVMTypeRef vec_type = lp_build_vec_type(gallivm, type); local in function:lp_build_undef
228 return LLVMGetUndef(vec_type);
242 LLVMTypeRef vec_type = lp_build_vec_type(gallivm, type); local in function:lp_build_zero
243 return LLVMConstNull(vec_type);
272 LLVMTypeRef vec_type = lp_build_vec_type(gallivm, type); local in function:lp_build_one
273 LLVMValueRef vec = LLVMConstAllOnes(vec_type);
H A Dlp_bld_arit.c561 lp_format_intrinsic(intrin, sizeof intrin, intrinsic, bld->vec_type);
562 return lp_build_intrinsic_binary(builder, intrin, bld->vec_type, a, b);
889 lp_format_intrinsic(intrin, sizeof intrin, intrinsic, bld->vec_type);
890 return lp_build_intrinsic_binary(builder, intrin, bld->vec_type, a, b);
1250 muleven = LLVMBuildBitCast(builder, muleven, bld->vec_type, "");
1251 mulodd = LLVMBuildBitCast(builder, mulodd, bld->vec_type, "");
1512 res = LLVMBuildBitCast(builder, res, narrow_bld.vec_type, "");
1513 v0 = LLVMBuildBitCast(builder, v0, narrow_bld.vec_type, "");
1515 res = LLVMBuildBitCast(builder, res, bld->vec_type, "");
1825 LLVMTypeRef vec_type local in function:lp_build_abs
1910 LLVMTypeRef vec_type; local in function:lp_build_sgn
1958 LLVMTypeRef vec_type = lp_build_vec_type(bld->gallivm, type); local in function:lp_build_set_sign
1991 LLVMTypeRef vec_type = lp_build_vec_type(bld->gallivm, type); local in function:lp_build_int_to_float
2043 LLVMTypeRef vec_type; local in function:lp_build_iround_nearest_sse2
2175 LLVMTypeRef vec_type = bld->vec_type; local in function:lp_build_trunc
2230 LLVMTypeRef vec_type = bld->vec_type; local in function:lp_build_round
2283 LLVMTypeRef vec_type = bld->vec_type; local in function:lp_build_floor
2358 LLVMTypeRef vec_type = bld->vec_type; local in function:lp_build_ceil
2499 LLVMTypeRef vec_type = bld->vec_type; local in function:lp_build_iround
2695 LLVMTypeRef vec_type = lp_build_vec_type(bld->gallivm, type); local in function:lp_build_sqrt
3333 LLVMTypeRef vec_type = lp_build_vec_type(bld->gallivm, type); local in function:lp_build_exp2
3505 LLVMTypeRef vec_type = lp_build_vec_type(bld->gallivm, type); local in function:lp_build_log2_approx
[all...]
H A Dlp_bld_swizzle.h52 LLVMTypeRef vec_type,
H A Dlp_bld_logic.c285 LLVMTypeRef vec_type = lp_build_vec_type(bld->gallivm, type); local in function:lp_build_select_bitwise
286 res = LLVMBuildBitCast(builder, res, vec_type, "");
398 if (arg_type != bld->vec_type) {
410 if (arg_type != bld->vec_type) {
411 res = LLVMBuildBitCast(builder, res, bld->vec_type, "");
H A Dlp_bld_swizzle.c48 LLVMTypeRef vec_type,
53 if (LLVMGetTypeKind(vec_type) != LLVMVectorTypeKind) {
55 assert(vec_type == LLVMTypeOf(scalar));
59 const unsigned length = LLVMGetVectorSize(vec_type);
60 LLVMValueRef undef = LLVMGetUndef(vec_type);
65 assert(LLVMGetElementType(vec_type) == LLVMTypeOf(scalar));
84 return lp_build_broadcast(bld->gallivm, bld->vec_type, scalar);
47 lp_build_broadcast(struct gallivm_state * gallivm,LLVMTypeRef vec_type,LLVMValueRef scalar) argument
H A Dlp_bld_tgsi_soa.c998 res = LLVMBuildBitCast(builder, res, bld_base->dbl_bld.vec_type, "");
1092 rel = LLVMBuildBitCast(builder, rel, uint_bld->vec_type, "");
1303 res = LLVMBuildBitCast(builder, res, bld_fetch->vec_type, "");
1339 return LLVMBuildBitCast(builder, res, bld_fetch->vec_type, "");
1417 res = LLVMBuildBitCast(builder, res, bld_fetch->vec_type, "");
1496 res = LLVMBuildBitCast(builder, res, bld_fetch->vec_type, "");
1526 res = LLVMBuildBitCast(builder, res, bld_base->base.vec_type, "");
1583 res = LLVMBuildBitCast(builder, res, bld_base->uint_bld.vec_type, "");
1585 res = LLVMBuildBitCast(builder, res, bld_base->int_bld.vec_type, "");
1654 res = LLVMBuildBitCast(builder, res, bld_fetch->vec_type, "");
2892 LLVMTypeRef vec_type = bld->bld_base.base.vec_type; local in function:lp_emit_declaration_soa
3734 LLVMTypeRef vec_type = bld_base->base.vec_type; local in function:emit_prologue
[all...]
H A Dlp_bld_type.h154 LLVMTypeRef vec_type; member in struct:lp_build_context
356 lp_check_vec_type(struct lp_type type, LLVMTypeRef vec_type);
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/gallivm/
H A Dlp_bld_type.c121 lp_check_vec_type(struct lp_type type, LLVMTypeRef vec_type) argument
125 assert(vec_type);
126 if(!vec_type)
130 return lp_check_elem_type(type, vec_type);
132 if(LLVMGetTypeKind(vec_type) != LLVMVectorTypeKind)
135 if(LLVMGetVectorSize(vec_type) != type.length)
138 elem_type = LLVMGetElementType(vec_type);
147 LLVMTypeRef vec_type; local in function:lp_check_value
153 vec_type = LLVMTypeOf(val);
155 return lp_check_vec_type(type, vec_type);
[all...]
H A Dlp_bld_format_float.c99 i32_src = LLVMBuildBitCast(builder, src, i32_bld.vec_type, "");
108 rescale_src = LLVMBuildBitCast(builder, rescale_src, i32_bld.vec_type, "");
121 rescale_src = LLVMBuildBitCast(builder, rescale_src, i32_bld.vec_type, "");
123 rescale_src = LLVMBuildBitCast(builder, rescale_src, f32_bld.vec_type, "");
132 magic = LLVMBuildBitCast(builder, magic, f32_bld.vec_type, "");
139 small_max = LLVMBuildBitCast(builder, small_max, f32_bld.vec_type, "");
141 normal = LLVMBuildBitCast(builder, normal, i32_bld.vec_type, "");
155 src_abs = LLVMBuildBitCast(builder, src_abs, i32_bld.vec_type, "");
188 rescale_src = LLVMBuildBitCast(builder, rescale_src, i32_bld.vec_type, "");
328 srcabs = LLVMBuildBitCast(builder, srcabs, f32_bld.vec_type, "");
[all...]
H A Dlp_bld_bitarit.c59 res = LLVMBuildBitCast(builder, res, bld->vec_type, "");
85 res = LLVMBuildBitCast(builder, res, bld->vec_type, "");
113 res = LLVMBuildBitCast(builder, res, bld->vec_type, "");
143 res = LLVMBuildBitCast(builder, res, bld->vec_type, "");
164 res = LLVMBuildBitCast(builder, res, bld->vec_type, "");
251 lp_format_intrinsic(intr_str, sizeof(intr_str), "llvm.ctpop", bld->vec_type);
252 result = lp_build_intrinsic_unary(builder, intr_str, bld->vec_type, a);
263 lp_format_intrinsic(intr_str, sizeof(intr_str), "llvm.bitreverse", bld->vec_type);
264 result = lp_build_intrinsic_unary(builder, intr_str, bld->vec_type, a);
275 lp_format_intrinsic(intr_str, sizeof(intr_str), "llvm.cttz", bld->vec_type);
[all...]
H A Dlp_bld_arit.c439 lp_format_intrinsic(intrin, sizeof intrin, intrinsic, bld->vec_type);
440 return lp_build_intrinsic_binary(builder, intrin, bld->vec_type, a, b);
763 lp_format_intrinsic(intrin, sizeof intrin, intrinsic, bld->vec_type);
764 return lp_build_intrinsic_binary(builder, intrin, bld->vec_type, a, b);
1125 muleven = LLVMBuildBitCast(builder, muleven, bld->vec_type, "");
1126 mulodd = LLVMBuildBitCast(builder, mulodd, bld->vec_type, "");
1366 res = lp_build_intrinsic_binary(builder, "llvm.x86.ssse3.pmul.hr.sw.128", bld->vec_type, x, lp_build_shl_imm(bld, delta, 7));
1369 res = lp_build_intrinsic_binary(builder, "llvm.x86.avx2.pmul.hr.sw", bld->vec_type, x, lp_build_shl_imm(bld, delta, 7));
1403 res = LLVMBuildBitCast(builder, res, narrow_bld.vec_type, "");
1404 v0 = LLVMBuildBitCast(builder, v0, narrow_bld.vec_type, "");
1715 LLVMTypeRef vec_type = lp_build_vec_type(bld->gallivm, type); local in function:lp_build_abs
1789 LLVMTypeRef vec_type; local in function:lp_build_sgn
1837 LLVMTypeRef vec_type = lp_build_vec_type(bld->gallivm, type); local in function:lp_build_set_sign
1870 LLVMTypeRef vec_type = lp_build_vec_type(bld->gallivm, type); local in function:lp_build_int_to_float
1922 LLVMTypeRef vec_type; local in function:lp_build_iround_nearest_sse2
2062 LLVMTypeRef vec_type = bld->vec_type; local in function:lp_build_trunc
2121 LLVMTypeRef vec_type = bld->vec_type; local in function:lp_build_round
2172 LLVMTypeRef vec_type = bld->vec_type; local in function:lp_build_floor
2247 LLVMTypeRef vec_type = bld->vec_type; local in function:lp_build_ceil
2388 LLVMTypeRef vec_type = bld->vec_type; local in function:lp_build_iround
2584 LLVMTypeRef vec_type = lp_build_vec_type(bld->gallivm, type); local in function:lp_build_sqrt
3044 LLVMTypeRef vec_type = lp_build_vec_type(bld->gallivm, type); local in function:lp_build_sin
3066 LLVMTypeRef vec_type = lp_build_vec_type(bld->gallivm, type); local in function:lp_build_cos
3248 LLVMTypeRef vec_type = lp_build_vec_type(bld->gallivm, type); local in function:lp_build_exp2
3427 LLVMTypeRef vec_type = lp_build_vec_type(bld->gallivm, type); local in function:lp_build_log2_approx
[all...]
H A Dlp_bld_nir.c53 return LLVMBuildBitCast(builder, val, bld_base->half_bld.vec_type, "");
55 return LLVMBuildBitCast(builder, val, bld_base->base.vec_type, "");
57 return LLVMBuildBitCast(builder, val, bld_base->dbl_bld.vec_type, "");
66 return LLVMBuildBitCast(builder, val, bld_base->int8_bld.vec_type, "");
68 return LLVMBuildBitCast(builder, val, bld_base->int16_bld.vec_type, "");
70 return LLVMBuildBitCast(builder, val, bld_base->int_bld.vec_type, "");
72 return LLVMBuildBitCast(builder, val, bld_base->int64_bld.vec_type, "");
81 return LLVMBuildBitCast(builder, val, bld_base->uint8_bld.vec_type, "");
83 return LLVMBuildBitCast(builder, val, bld_base->uint16_bld.vec_type, "");
86 return LLVMBuildBitCast(builder, val, bld_base->uint_bld.vec_type, "");
2182 LLVMTypeRef vec_type = NULL; local in function:visit_tex
[all...]
H A Dlp_bld_const.c227 LLVMTypeRef vec_type = lp_build_vec_type(gallivm, type); local in function:lp_build_undef
228 return LLVMGetUndef(vec_type);
242 LLVMTypeRef vec_type = lp_build_vec_type(gallivm, type); local in function:lp_build_zero
243 return LLVMConstNull(vec_type);
272 LLVMTypeRef vec_type = lp_build_vec_type(gallivm, type); local in function:lp_build_one
273 LLVMValueRef vec = LLVMConstAllOnes(vec_type);
H A Dlp_bld_swizzle.h52 LLVMTypeRef vec_type,
H A Dlp_bld_format_s3tc.c477 bld8->vec_type, intrargs, 2, 0);
497 res = LLVMBuildTrunc(builder, res, bld8->vec_type, "");
625 colors0 = LLVMBuildBitCast(builder, color0, bld8.vec_type, "");
626 colors1 = LLVMBuildBitCast(builder, color1, bld8.vec_type, "");
629 color2 = LLVMBuildBitCast(builder, color2, bld32.vec_type, "");
630 color3 = LLVMBuildBitCast(builder, color3, bld32.vec_type, "");
648 color2_2 = LLVMBuildBitCast(builder, color2_2, bld32.vec_type, "");
675 color2_2 = LLVMBuildBitCast(builder, color2_2, bld32.vec_type, "");
731 return LLVMBuildBitCast(builder, rgba, bld8.vec_type, "");
790 rgba = LLVMBuildBitCast(builder, rgba, bld.vec_type, "");
[all...]
H A Dlp_bld_logic.c288 LLVMTypeRef vec_type = lp_build_vec_type(bld->gallivm, type); local in function:lp_build_select_bitwise
289 res = LLVMBuildBitCast(builder, res, vec_type, "");
404 if (arg_type != bld->vec_type) {
416 if (arg_type != bld->vec_type) {
417 res = LLVMBuildBitCast(builder, res, bld->vec_type, "");
H A Dlp_bld_swizzle.c49 LLVMTypeRef vec_type,
54 if (LLVMGetTypeKind(vec_type) != LLVMVectorTypeKind) {
56 assert(vec_type == LLVMTypeOf(scalar));
60 const unsigned length = LLVMGetVectorSize(vec_type);
61 LLVMValueRef undef = LLVMGetUndef(vec_type);
66 assert(LLVMGetElementType(vec_type) == LLVMTypeOf(scalar));
85 return lp_build_broadcast(bld->gallivm, bld->vec_type, scalar);
48 lp_build_broadcast(struct gallivm_state * gallivm,LLVMTypeRef vec_type,LLVMValueRef scalar) argument
H A Dlp_bld_tgsi_soa.c609 res = LLVMBuildBitCast(builder, res, bld_base->dbl_bld.vec_type, "");
703 rel = LLVMBuildBitCast(builder, rel, uint_bld->vec_type, "");
914 res = LLVMBuildBitCast(builder, res, bld_fetch->vec_type, "");
950 return LLVMBuildBitCast(builder, res, bld_fetch->vec_type, "");
1028 res = LLVMBuildBitCast(builder, res, bld_fetch->vec_type, "");
1107 res = LLVMBuildBitCast(builder, res, bld_fetch->vec_type, "");
1137 res = LLVMBuildBitCast(builder, res, bld_base->base.vec_type, "");
1194 res = LLVMBuildBitCast(builder, res, bld_base->uint_bld.vec_type, "");
1196 res = LLVMBuildBitCast(builder, res, bld_base->int_bld.vec_type, "");
1225 res = LLVMBuildBitCast(builder, res, bld_base->base.vec_type, "");
2889 LLVMTypeRef vec_type = bld->bld_base.base.vec_type; local in function:lp_emit_declaration_soa
4298 LLVMTypeRef vec_type = bld_base->base.vec_type; local in function:emit_prologue
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/
H A Dlp_state_fs_linear_llvm.c115 assert(LLVMTypeOf(texel) == bld->vec_type);
171 assert(LLVMTypeOf(input) == bld->vec_type);
218 LLVMTypeRef vec_type = lp_build_vec_type(gallivm, fs_type); local in function:llvm_fragment_body
219 LLVMValueRef broadcast_alpha = lp_build_broadcast(gallivm, vec_type, alpha_ref);
364 color0_ptr = LLVMBuildBitCast(builder, color0_ptr, LLVMPointerType(bld.vec_type, 0), "");
498 buf = LLVMBuildBitCast(builder, buf, bld.vec_type, "");
/xsrc/external/mit/MesaLib/dist/src/compiler/
H A Dglsl_types.cpp1949 const struct glsl_type *vec_type, *array_type; local in function:glsl_type::std140_base_alignment
1954 vec_type = get_instance(base_type, c, 1);
1955 array_type = glsl_type::get_array_instance(vec_type, r);
1957 vec_type = get_instance(base_type, r, 1);
1958 array_type = glsl_type::get_array_instance(vec_type, c);
2039 const struct glsl_type *vec_type; local in function:glsl_type::std140_size
2051 vec_type = get_instance(element_type->base_type,
2056 vec_type = get_instance(element_type->base_type,
2060 const glsl_type *array_type = glsl_type::get_array_instance(vec_type,
2147 const glsl_type *vec_type; local in function:glsl_type::get_explicit_std140_type
2274 const struct glsl_type *vec_type, *array_type; local in function:glsl_type::std430_base_alignment
2432 const struct glsl_type *vec_type; local in function:glsl_type::std430_size
2507 const glsl_type *vec_type; local in function:glsl_type::get_explicit_std430_type
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/compiler/
H A Dglsl_types.cpp1694 const struct glsl_type *vec_type, *array_type; local in function:glsl_type::std140_base_alignment
1699 vec_type = get_instance(base_type, c, 1);
1700 array_type = glsl_type::get_array_instance(vec_type, r);
1702 vec_type = get_instance(base_type, r, 1);
1703 array_type = glsl_type::get_array_instance(vec_type, c);
1784 const struct glsl_type *vec_type; local in function:glsl_type::std140_size
1796 vec_type = get_instance(element_type->base_type,
1801 vec_type = get_instance(element_type->base_type,
1805 const glsl_type *array_type = glsl_type::get_array_instance(vec_type,
1892 const glsl_type *vec_type; local in function:glsl_type::get_explicit_std140_type
2019 const struct glsl_type *vec_type, *array_type; local in function:glsl_type::std430_base_alignment
2109 const struct glsl_type *vec_type; local in function:glsl_type::std430_size
2184 const glsl_type *vec_type; local in function:glsl_type::get_explicit_std430_type
[all...]

Completed in 46 milliseconds

123