/third_party/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_type.c | 70 LLVMTypeRef elem_type = lp_build_elem_type(gallivm, type); in lp_build_vec_type() local 72 return elem_type; in lp_build_vec_type() 74 return LLVMVectorType(elem_type, type.length); in lp_build_vec_type() 85 lp_check_elem_type(struct lp_type type, LLVMTypeRef elem_type) in lp_check_elem_type() argument 87 assert(elem_type); in lp_check_elem_type() 88 if (!elem_type) in lp_check_elem_type() 91 const LLVMTypeKind elem_kind = LLVMGetTypeKind(elem_type); in lp_check_elem_type() 125 if (LLVMGetIntTypeWidth(elem_type) != type.width) { in lp_check_elem_type() 128 LLVMGetIntTypeWidth(elem_type), type.width); in lp_check_elem_type() 158 LLVMTypeRef elem_type = LLVMGetElementType(vec_type); in lp_check_vec_type() local [all …]
|
D | lp_bld_const.c | 247 LLVMTypeRef elem_type; in lp_build_one() local 252 elem_type = lp_build_elem_type(gallivm, type); in lp_build_one() 255 elems[0] = LLVMConstInt(elem_type, _mesa_float_to_half(1.0f), 0); in lp_build_one() 257 elems[0] = LLVMConstReal(elem_type, 1.0); in lp_build_one() 259 elems[0] = LLVMConstInt(elem_type, 1LL << (type.width/2), 0); in lp_build_one() 261 elems[0] = LLVMConstInt(elem_type, 1, 0); in lp_build_one() 263 elems[0] = LLVMConstInt(elem_type, (1LL << (type.width - 1)) - 1, 0); in lp_build_one() 298 LLVMTypeRef elem_type = lp_build_elem_type(gallivm, type); in lp_build_const_elem() local 302 elem = LLVMConstInt(elem_type, _mesa_float_to_half((float)val), 0); in lp_build_const_elem() 304 elem = LLVMConstReal(elem_type, val); in lp_build_const_elem() [all …]
|
D | lp_bld_nir_soa.c | 705 … reg_storage = LLVMBuildBitCast(builder, reg_storage, LLVMPointerType(reg_bld->elem_type, 0), ""); in emit_load_reg() 740 … reg_storage = LLVMBuildBitCast(builder, reg_storage, LLVMPointerType(reg_bld->elem_type, 0), ""); in emit_store_reg() 777 LLVMTypeRef ptr_type = LLVMPointerType(bld_broad->elem_type, 0); in emit_load_kernel_arg() 963 cas_src_ptr = LLVMBuildBitCast(gallivm->builder, cas_src_ptr, atom_bld->elem_type, ""); in emit_atomic_global() 1073 LLVMTypeRef ptr_type = LLVMPointerType(bld_broad->elem_type, 0); in emit_load_ubo() 1190 return LLVMBuildBitCast(gallivm->builder, ptr, LLVMPointerType(mem_bld->elem_type, 0), ""); in mem_access_base_pointer() 1339 value_ptr = LLVMBuildBitCast(gallivm->builder, value_ptr, store_bld->elem_type, ""); in emit_store_mem() 1384 value_ptr = LLVMBuildBitCast(gallivm->builder, value_ptr, store_bld->elem_type, ""); in emit_store_mem() 1440 value_ptr = LLVMBuildBitCast(gallivm->builder, value_ptr, atomic_bld->elem_type, ""); in emit_atomic_mem() 1442 …LLVMValueRef scalar_ptr = LLVMBuildGEP2(builder, atomic_bld->elem_type, mem_ptr, &loop_offset, 1, … in emit_atomic_mem() [all …]
|
D | lp_bld_intr.c | 346 LLVMTypeRef elem_type = lp_build_elem_type(gallivm, intrin_type); in lp_build_intrinsic_binary_anylength() local 347 a = LLVMBuildBitCast(builder, a, LLVMVectorType(elem_type, 1), ""); in lp_build_intrinsic_binary_anylength() 348 b = LLVMBuildBitCast(builder, b, LLVMVectorType(elem_type, 1), ""); in lp_build_intrinsic_binary_anylength()
|
D | lp_bld_type.h | 151 LLVMTypeRef elem_type; member 352 lp_check_elem_type(struct lp_type type, LLVMTypeRef elem_type);
|
D | lp_bld_logic.c | 471 LLVMTypeRef elem_type = LLVMInt32TypeInContext(bld->gallivm->context); in lp_build_select_aos() local 476 shuffles[j + i] = LLVMConstInt(elem_type, in lp_build_select_aos()
|
/third_party/skia/third_party/externals/tint/src/sem/ |
D | constant.h | 107 auto* elem_type = ElementType(); in WithScalarAt() local 108 if (elem_type->Is<I32>()) { in WithScalarAt() 111 if (elem_type->Is<U32>()) { in WithScalarAt() 114 if (elem_type->Is<F32>()) { in WithScalarAt() 117 if (elem_type->Is<Bool>()) { in WithScalarAt()
|
/third_party/skia/third_party/externals/tint/src/resolver/ |
D | resolver_constants.cc | 70 auto* elem_type = vec ? vec->type() : type; in EvaluateConstantValue() local 75 if (elem_type->Is<sem::I32>()) { in EvaluateConstantValue() 78 if (elem_type->Is<sem::U32>()) { in EvaluateConstantValue() 81 if (elem_type->Is<sem::F32>()) { in EvaluateConstantValue() 84 if (elem_type->Is<sem::Bool>()) { in EvaluateConstantValue() 97 auto cast = ConstantCast(arg->ConstantValue(), elem_type); in EvaluateConstantValue()
|
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_bld_interp.c | 196 load_casted(LLVMBuilderRef builder, LLVMTypeRef elem_type, LLVMValueRef ptr, const char *name) { in load_casted() argument 197 ptr = LLVMBuildBitCast(builder, ptr, LLVMPointerType(elem_type, 0), name); in load_casted() 198 return LLVMBuildLoad2(builder, elem_type, ptr, name); in load_casted() 203 LLVMTypeRef elem_type, LLVMValueRef ptr, LLVMValueRef index, const char *name) { in indexed_load() argument 205 return load_casted(builder, elem_type, ptr, name); in indexed_load() 663 bld->x = LLVMBuildSIToFP(builder, x0, coeff_bld->elem_type, ""); in pos_init() 664 bld->y = LLVMBuildSIToFP(builder, y0, coeff_bld->elem_type, ""); in pos_init()
|
/third_party/rust/crates/bindgen/bindgen-tests/tests/headers/ |
D | in_class_typedef.hpp | 4 typedef T elem_type; typedef in Foo
|
/third_party/mesa3d/src/compiler/nir/ |
D | nir_lower_readonly_images_to_tex.c | 31 const struct glsl_type *elem_type = in get_texture_type_for_image() local 33 return glsl_array_type(elem_type, glsl_get_length(type), 0 /*explicit size*/); in get_texture_type_for_image()
|
D | nir_opt_memcpy.c | 99 const struct glsl_type *elem_type = glsl_get_array_element(type); in type_is_tightly_packed() local 102 if (!type_is_tightly_packed(elem_type, &elem_size)) in type_is_tightly_packed()
|
/third_party/ffmpeg/libavcodec/ |
D | aacdec_template.c | 2527 ChannelElement *che, enum RawDataBlockType elem_type) argument 2568 res = AAC_RENAME(ff_decode_sbr_extension)(ac, &che->sbr, gb, crc_flag, cnt, elem_type); 3182 const int elem_type = aac_channel_layout_map[chan_config-1][i][0]; local 3184 if (!(che=get_che(ac, elem_type, elem_id))) { 3187 elem_type, elem_id); 3193 switch (elem_type) { 3229 enum RawDataBlockType elem_type, che_prev_type = TYPE_END; local 3260 while ((elem_type = get_bits(gb, 3)) != TYPE_END) { 3264 av_log(avctx, AV_LOG_DEBUG, "Elem type:%x id:%x\n", elem_type, elem_id); 3266 if (!avctx->channels && elem_type != TYPE_PCE) { [all …]
|
/third_party/skia/third_party/externals/tint/src/reader/spirv/ |
D | parser_impl_convert_type_test.cc | 374 auto* elem_type = arr_type->type; in TEST_F() local 375 ASSERT_NE(elem_type, nullptr); in TEST_F() 376 EXPECT_TRUE(elem_type->Is<U32>()); in TEST_F() 452 auto* elem_type = arr_type->type; in TEST_F() local 453 ASSERT_NE(elem_type, nullptr); in TEST_F() 454 EXPECT_TRUE(elem_type->Is<U32>()); in TEST_F()
|
/third_party/mesa3d/src/microsoft/compiler/ |
D | dxil_module.c | 393 types_equal(lhs->array_or_vector_def.elem_type, in types_equal() 394 rhs->array_or_vector_def.elem_type); in types_equal() 631 const struct dxil_type *elem_type, in dxil_module_get_array_type() argument 639 if (type->array_or_vector_def.elem_type == elem_type && in dxil_module_get_array_type() 646 type->array_or_vector_def.elem_type = elem_type; in dxil_module_get_array_type() 654 const struct dxil_type *elem_type, in dxil_module_get_vector_type() argument 660 type->array_or_vector_def.elem_type == elem_type && in dxil_module_get_vector_type() 669 type->array_or_vector_def.elem_type = elem_type; in dxil_module_get_vector_type() 1430 assert(type->array_or_vector_def.elem_type->id >= 0); in emit_array_type() 1434 type->array_or_vector_def.elem_type->id in emit_array_type() [all …]
|
D | dxil_module.h | 319 const struct dxil_type *elem_type, 324 const struct dxil_type *elem_type,
|
D | dxil_internal.h | 67 const struct dxil_type *elem_type; member
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/ |
D | validate_memory.cpp | 49 auto elem_type = _.FindDef(type->word(2)); in IsAllowedTypeOrArrayOfSame() local 50 return std::find(allowed.begin(), allowed.end(), elem_type->opcode()) != in IsAllowedTypeOrArrayOfSame() 174 Instruction* elem_type; in ContainsInvalidBool() local 184 elem_type = _.FindDef(elem_type_id); in ContainsInvalidBool() 185 return ContainsInvalidBool(_, elem_type, skip_builtin); in ContainsInvalidBool() 205 Instruction* elem_type; in ContainsCooperativeMatrix() local 213 elem_type = _.FindDef(elem_type_id); in ContainsCooperativeMatrix() 214 return ContainsCooperativeMatrix(_, elem_type); in ContainsCooperativeMatrix()
|
D | validate_type.cpp | 312 Instruction* elem_type; in ContainsOpaqueType() local 322 elem_type = _.FindDef(elem_type_id); in ContainsOpaqueType() 323 return ContainsOpaqueType(_, elem_type); in ContainsOpaqueType()
|
/third_party/skia/third_party/externals/spirv-tools/source/val/ |
D | validate_memory.cpp | 49 auto elem_type = _.FindDef(type->word(2)); in IsAllowedTypeOrArrayOfSame() local 50 return std::find(allowed.begin(), allowed.end(), elem_type->opcode()) != in IsAllowedTypeOrArrayOfSame() 174 Instruction* elem_type; in ContainsInvalidBool() local 184 elem_type = _.FindDef(elem_type_id); in ContainsInvalidBool() 185 return ContainsInvalidBool(_, elem_type, skip_builtin); in ContainsInvalidBool() 205 Instruction* elem_type; in ContainsCooperativeMatrix() local 213 elem_type = _.FindDef(elem_type_id); in ContainsCooperativeMatrix() 214 return ContainsCooperativeMatrix(_, elem_type); in ContainsCooperativeMatrix()
|
D | validate_type.cpp | 312 Instruction* elem_type; in ContainsOpaqueType() local 322 elem_type = _.FindDef(elem_type_id); in ContainsOpaqueType() 323 return ContainsOpaqueType(_, elem_type); in ContainsOpaqueType()
|
/third_party/spirv-tools/source/val/ |
D | validate_memory.cpp | 49 auto elem_type = _.FindDef(type->word(2)); in IsAllowedTypeOrArrayOfSame() local 50 return std::find(allowed.begin(), allowed.end(), elem_type->opcode()) != in IsAllowedTypeOrArrayOfSame() 172 Instruction* elem_type; in ContainsInvalidBool() local 182 elem_type = _.FindDef(elem_type_id); in ContainsInvalidBool() 183 return ContainsInvalidBool(_, elem_type, skip_builtin); in ContainsInvalidBool() 203 Instruction* elem_type; in ContainsCooperativeMatrix() local 211 elem_type = _.FindDef(elem_type_id); in ContainsCooperativeMatrix() 212 return ContainsCooperativeMatrix(_, elem_type); in ContainsCooperativeMatrix()
|
/third_party/rust/crates/bindgen/bindgen/ir/ |
D | ty.rs | 1078 ty.elem_type().as_ref().unwrap(), in from_clang_ty() 1088 ty.elem_type().as_ref().unwrap(), in from_clang_ty() 1164 ty.elem_type().as_ref().unwrap(), in from_clang_ty() 1173 ty.elem_type().as_ref().unwrap(), in from_clang_ty() 1219 ty.elem_type() in from_clang_ty()
|
/third_party/mesa3d/src/compiler/spirv/ |
D | vtn_cfg.c | 48 const struct glsl_type *elem_type = glsl_get_struct_field(type, i); in glsl_type_count_function_params() local 49 count += glsl_type_count_function_params(elem_type); in glsl_type_count_function_params() 67 const struct glsl_type *elem_type = glsl_get_array_element(type); in glsl_type_add_to_function_params() local 69 glsl_type_add_to_function_params(elem_type,func, param_idx); in glsl_type_add_to_function_params() 74 const struct glsl_type *elem_type = glsl_get_struct_field(type, i); in glsl_type_add_to_function_params() local 75 glsl_type_add_to_function_params(elem_type, func, param_idx); in glsl_type_add_to_function_params()
|
/third_party/libbpf/src/ |
D | btf_dump.c | 2030 const struct btf_type *elem_type; in btf_dump_array_data() local 2036 elem_type = skip_mods_and_typedefs(d->btf, elem_type_id, NULL); in btf_dump_array_data() 2044 if (btf_is_int(elem_type)) { in btf_dump_array_data() 2072 btf_dump_dump_type_data(d, NULL, elem_type, elem_type_id, data, 0, 0); in btf_dump_array_data() 2330 const struct btf_type *elem_type; in btf_dump_type_data_check_zero() local 2336 elem_type = skip_mods_and_typedefs(d->btf, elem_type_id, NULL); in btf_dump_type_data_check_zero() 2338 ischar = btf_is_int(elem_type) && elem_size == 1; in btf_dump_type_data_check_zero() 2349 err = btf_dump_type_data_check_zero(d, elem_type, in btf_dump_type_data_check_zero()
|