Searched refs:elem_type (Results 1 - 25 of 51) sorted by relevance

123

/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/gallivm/
H A Dlp_bld_type.c64 LLVMTypeRef elem_type = lp_build_elem_type(gallivm, type); local in function:lp_build_vec_type
66 return elem_type;
68 return LLVMVectorType(elem_type, type.length);
79 lp_check_elem_type(struct lp_type type, LLVMTypeRef elem_type) argument
83 assert(elem_type);
84 if(!elem_type)
87 elem_kind = LLVMGetTypeKind(elem_type);
112 if(LLVMGetIntTypeWidth(elem_type) != type.width)
123 LLVMTypeRef elem_type; local in function:lp_check_vec_type
138 elem_type
169 LLVMTypeRef elem_type = lp_build_int_elem_type(gallivm, type); local in function:lp_build_int_vec_type
[all...]
H A Dlp_bld_const.c251 LLVMTypeRef elem_type; local in function:lp_build_one
257 elem_type = lp_build_elem_type(gallivm, type);
260 elems[0] = LLVMConstInt(elem_type, util_float_to_half(1.0f), 0);
262 elems[0] = LLVMConstReal(elem_type, 1.0);
264 elems[0] = LLVMConstInt(elem_type, 1LL << (type.width/2), 0);
266 elems[0] = LLVMConstInt(elem_type, 1, 0);
268 elems[0] = LLVMConstInt(elem_type, (1LL << (type.width - 1)) - 1, 0);
303 LLVMTypeRef elem_type = lp_build_elem_type(gallivm, type); local in function:lp_build_const_elem
307 elem = LLVMConstInt(elem_type, util_float_to_half((float)val), 0);
309 elem = LLVMConstReal(elem_type, va
345 LLVMTypeRef elem_type = lp_build_int_elem_type(gallivm, type); local in function:lp_build_const_int_vec
400 LLVMTypeRef elem_type = LLVMIntTypeInContext(gallivm->context, type.width); local in function:lp_build_const_mask_aos
[all...]
H A Dlp_bld_intr.c331 LLVMTypeRef elem_type = lp_build_elem_type(gallivm, intrin_type); local in function:lp_build_intrinsic_binary_anylength
332 a = LLVMBuildBitCast(builder, a, LLVMVectorType(elem_type, 1), "");
333 b = LLVMBuildBitCast(builder, b, LLVMVectorType(elem_type, 1), "");
H A Dlp_bld_type.h151 LLVMTypeRef elem_type; member in struct:lp_build_context
352 lp_check_elem_type(struct lp_type type, LLVMTypeRef elem_type);
H A Dlp_bld_logic.c463 LLVMTypeRef elem_type = LLVMInt32TypeInContext(bld->gallivm->context); local in function:lp_build_select_aos
468 shuffles[j + i] = LLVMConstInt(elem_type,
H A Dlp_bld_swizzle.c178 LLVMTypeRef elem_type = LLVMInt32TypeInContext(bld->gallivm->context); local in function:lp_build_swizzle_scalar_aos
183 shuffles[j + i] = LLVMConstInt(elem_type, j + channel, 0);
H A Dlp_bld_sample_aos.c573 LLVMTypeRef elem_type = LLVMInt32TypeInContext(bld->gallivm->context); local in function:lp_build_sample_fetch_image_linear
612 index = LLVMConstInt(elem_type, j + subindex, 0);
1076 lod_fpart = LLVMBuildTrunc(builder, lod_fpart, u8n_bld.elem_type, "");
1081 LLVMTypeRef tmp_vec_type = LLVMVectorType(u8n_bld.elem_type, bld->lodi_bld.type.length);
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/gallivm/
H A Dlp_bld_type.c64 LLVMTypeRef elem_type = lp_build_elem_type(gallivm, type); local in function:lp_build_vec_type
66 return elem_type;
68 return LLVMVectorType(elem_type, type.length);
79 lp_check_elem_type(struct lp_type type, LLVMTypeRef elem_type) argument
83 assert(elem_type);
84 if(!elem_type)
87 elem_kind = LLVMGetTypeKind(elem_type);
112 if(LLVMGetIntTypeWidth(elem_type) != type.width)
123 LLVMTypeRef elem_type; local in function:lp_check_vec_type
138 elem_type
169 LLVMTypeRef elem_type = lp_build_int_elem_type(gallivm, type); local in function:lp_build_int_vec_type
[all...]
H A Dlp_bld_const.c251 LLVMTypeRef elem_type; local in function:lp_build_one
257 elem_type = lp_build_elem_type(gallivm, type);
260 elems[0] = LLVMConstInt(elem_type, _mesa_float_to_half(1.0f), 0);
262 elems[0] = LLVMConstReal(elem_type, 1.0);
264 elems[0] = LLVMConstInt(elem_type, 1LL << (type.width/2), 0);
266 elems[0] = LLVMConstInt(elem_type, 1, 0);
268 elems[0] = LLVMConstInt(elem_type, (1LL << (type.width - 1)) - 1, 0);
303 LLVMTypeRef elem_type = lp_build_elem_type(gallivm, type); local in function:lp_build_const_elem
307 elem = LLVMConstInt(elem_type, _mesa_float_to_half((float)val), 0);
309 elem = LLVMConstReal(elem_type, va
345 LLVMTypeRef elem_type = lp_build_int_elem_type(gallivm, type); local in function:lp_build_const_int_vec
400 LLVMTypeRef elem_type = LLVMIntTypeInContext(gallivm->context, type.width); local in function:lp_build_const_mask_aos
[all...]
H A Dlp_bld_intr.c337 LLVMTypeRef elem_type = lp_build_elem_type(gallivm, intrin_type); local in function:lp_build_intrinsic_binary_anylength
338 a = LLVMBuildBitCast(builder, a, LLVMVectorType(elem_type, 1), "");
339 b = LLVMBuildBitCast(builder, b, LLVMVectorType(elem_type, 1), "");
H A Dlp_bld_nir_soa.c668 reg_storage = LLVMBuildBitCast(builder, reg_storage, LLVMPointerType(reg_bld->elem_type, 0), "");
703 reg_storage = LLVMBuildBitCast(builder, reg_storage, LLVMPointerType(reg_bld->elem_type, 0), "");
740 LLVMTypeRef ptr_type = LLVMPointerType(bld_broad->elem_type, 0);
906 cas_src_ptr = LLVMBuildBitCast(gallivm->builder, cas_src_ptr, atom_bld->elem_type, "");
998 LLVMTypeRef ptr_type = LLVMPointerType(bld_broad->elem_type, 0);
1094 LLVMValueRef mem_ptr2 = LLVMBuildBitCast(builder, mem_ptr, LLVMPointerType(load_bld->elem_type, 0), "");
1179 value_ptr = LLVMBuildBitCast(gallivm->builder, value_ptr, store_bld->elem_type, "");
1186 LLVMValueRef mem_ptr2 = LLVMBuildBitCast(builder, mem_ptr, LLVMPointerType(store_bld->elem_type, 0), "");
1246 value_ptr = LLVMBuildBitCast(gallivm->builder, value_ptr, atomic_bld->elem_type, "");
1250 LLVMValueRef mem_ptr2 = LLVMBuildBitCast(builder, mem_ptr, LLVMPointerType(atomic_bld->elem_type,
2274 LLVMTypeRef elem_type = lp_build_int_elem_type(gallivm, type); local in function:get_scratch_thread_offsets
[all...]
H A Dlp_bld_type.h151 LLVMTypeRef elem_type; member in struct:lp_build_context
352 lp_check_elem_type(struct lp_type type, LLVMTypeRef elem_type);
H A Dlp_bld_logic.c469 LLVMTypeRef elem_type = LLVMInt32TypeInContext(bld->gallivm->context); local in function:lp_build_select_aos
474 shuffles[j + i] = LLVMConstInt(elem_type,
H A Dlp_bld_sample_aos.c573 LLVMTypeRef elem_type = LLVMInt32TypeInContext(bld->gallivm->context); local in function:lp_build_sample_fetch_image_linear
612 index = LLVMConstInt(elem_type, j + subindex, 0);
1067 lod_fpart = LLVMBuildTrunc(builder, lod_fpart, u8n_bld.elem_type, "");
1072 LLVMTypeRef tmp_vec_type = LLVMVectorType(u8n_bld.elem_type, bld->lodi_bld.type.length);
H A Dlp_bld_swizzle.c179 LLVMTypeRef elem_type = LLVMInt32TypeInContext(bld->gallivm->context); local in function:lp_build_swizzle_scalar_aos
184 shuffles[j + i] = LLVMConstInt(elem_type, j + channel, 0);
/xsrc/external/mit/MesaLib/dist/src/compiler/nir/
H A Dnir_opt_memcpy.c99 const struct glsl_type *elem_type = glsl_get_array_element(type); local in function:type_is_tightly_packed
102 if (!type_is_tightly_packed(elem_type, &elem_size))
H A Dnir_lower_readonly_images_to_tex.c31 const struct glsl_type *elem_type = local in function:get_sampler_type_for_image
33 return glsl_array_type(elem_type, glsl_get_length(type), 0 /*explicit size*/);
/xsrc/external/mit/MesaLib/dist/src/microsoft/compiler/
H A Ddxil_internal.h67 const struct dxil_type *elem_type; member in struct:dxil_type::__anonbc4bc12e010a::__anonbc4bc12e0408
H A Ddxil_module.h288 const struct dxil_type *elem_type,
293 const struct dxil_type *elem_type,
H A Ddxil_module.c395 types_equal(lhs->array_or_vector_def.elem_type,
396 rhs->array_or_vector_def.elem_type);
633 const struct dxil_type *elem_type,
641 if (type->array_or_vector_def.elem_type == elem_type &&
648 type->array_or_vector_def.elem_type = elem_type;
656 const struct dxil_type *elem_type,
662 type->array_or_vector_def.elem_type == elem_type
632 dxil_module_get_array_type(struct dxil_module * m,const struct dxil_type * elem_type,size_t num_elems) argument
655 dxil_module_get_vector_type(struct dxil_module * m,const struct dxil_type * elem_type,size_t num_elems) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/compiler/spirv/
H A Dvtn_cfg.c48 const struct glsl_type *elem_type = glsl_get_struct_field(type, i); local in function:glsl_type_count_function_params
49 count += glsl_type_count_function_params(elem_type);
67 const struct glsl_type *elem_type = glsl_get_array_element(type); local in function:glsl_type_add_to_function_params
69 glsl_type_add_to_function_params(elem_type,func, param_idx);
74 const struct glsl_type *elem_type = glsl_get_struct_field(type, i); local in function:glsl_type_add_to_function_params
75 glsl_type_add_to_function_params(elem_type, func, param_idx);
H A Dspirv_to_nir.c213 const struct glsl_type *elem_type = glsl_get_array_element(type); local in function:vtn_undef_ssa_value
215 val->elems[i] = vtn_undef_ssa_value(b, elem_type);
219 const struct glsl_type *elem_type = glsl_get_struct_field(type, i); local in function:vtn_undef_ssa_value
220 val->elems[i] = vtn_undef_ssa_value(b, elem_type);
255 const struct glsl_type *elem_type = glsl_get_array_element(type); local in function:vtn_const_ssa_value
258 elem_type);
263 const struct glsl_type *elem_type = glsl_get_struct_field(type, i); local in function:vtn_const_ssa_value
265 elem_type);
855 const struct glsl_type *elem_type = local in function:wrap_type_in_array
857 return glsl_array_type(elem_type, glsl_get_lengt
908 const struct glsl_type *elem_type = local in function:vtn_type_get_nir_type
2519 const struct glsl_type *elem_type = glsl_get_array_element(type); local in function:vtn_create_ssa_value
2525 const struct glsl_type *elem_type = glsl_get_struct_field(type, i); local in function:vtn_create_ssa_value
[all...]
/xsrc/external/mit/MesaLib/dist/src/compiler/
H A Dglsl_types.cpp2158 const glsl_type *elem_type = local in function:glsl_type::get_explicit_std140_type
2161 return get_array_instance(elem_type, this->length, stride);
2388 const struct glsl_type *elem_type; local in function:glsl_type::explicit_size
2392 elem_type = get_instance(this->base_type,
2396 elem_type = get_instance(this->base_type,
2401 unsigned elem_size = align_to_stride ? this->explicit_stride : elem_type->explicit_size();
2516 const glsl_type *elem_type = local in function:glsl_type::get_explicit_std430_type
2519 return get_array_instance(elem_type, this->length, stride);
/xsrc/external/mit/MesaLib.old/dist/src/compiler/nir/
H A Dnir_deref.c140 type_get_array_stride(const struct glsl_type *elem_type, argument
144 size_align(elem_type, &elem_size, &elem_align);
/xsrc/external/mit/MesaLib.old/dist/src/amd/common/
H A Dac_llvm_build.h587 LLVMTypeRef ac_array_in_const_addr_space(LLVMTypeRef elem_type);
588 LLVMTypeRef ac_array_in_const32_addr_space(LLVMTypeRef elem_type);

Completed in 75 milliseconds

123