Searched refs:ptr_type (Results 1 - 15 of 15) sorted by relevance

/xsrc/external/mit/MesaLib/dist/src/compiler/spirv/
H A Dvtn_variables.c415 base->ptr_type->stride);
429 if (base->ptr_type && base->ptr_type->type) {
431 glsl_get_vector_elements(base->ptr_type->type);
432 tail->dest.ssa.bit_size = glsl_get_bit_size(base->ptr_type->type);
441 tail->type, base->ptr_type->stride);
1687 struct vtn_type *ptr_type)
1689 vtn_assert(ptr_type->base_type == vtn_base_type_pointer);
1693 vtn_type_without_array(ptr_type->deref);
1696 ptr->mode = vtn_storage_class_to_mode(b, ptr_type
1686 vtn_pointer_from_ssa(struct vtn_builder * b,nir_ssa_def * ssa,struct vtn_type * ptr_type) argument
1795 vtn_create_variable(struct vtn_builder * b,struct vtn_value * val,struct vtn_type * ptr_type,SpvStorageClass storage_class,struct vtn_value * initializer) argument
2342 struct vtn_type *ptr_type = vtn_get_type(b, w[1]); local in function:vtn_handle_variables
2374 struct vtn_type *ptr_type = rzalloc(b, struct vtn_type); local in function:vtn_handle_variables
2419 struct vtn_type *ptr_type = vtn_get_type(b, w[1]); local in function:vtn_handle_variables
2618 struct vtn_type *ptr_type = vtn_get_value_type(b, w[3]); local in function:vtn_handle_variables
2637 struct vtn_type *ptr_type = vtn_get_type(b, w[1]); local in function:vtn_handle_variables
[all...]
H A Dvtn_private.h528 struct vtn_type *ptr_type; member in struct:vtn_pointer
738 struct vtn_type *ptr_type);
H A Dspirv_to_nir.c288 vtn_assert(val->pointer->ptr_type && val->pointer->ptr_type->type);
290 vtn_create_ssa_value(b, val->pointer->ptr_type->type);
/xsrc/external/mit/MesaLib.old/dist/src/compiler/spirv/
H A Dvtn_variables.c220 const struct glsl_type *ptr_type = vtn_ptr_type_for_mode(b, mode); local in function:vtn_descriptor_load
222 desc_load->num_components = glsl_get_vector_elements(ptr_type);
225 glsl_get_bit_size(ptr_type), NULL);
337 base->ptr_type->stride);
341 if (base->ptr_type && base->ptr_type->type) {
343 glsl_get_vector_elements(base->ptr_type->type);
344 tail->dest.ssa.bit_size = glsl_get_bit_size(base->ptr_type->type);
353 tail->type, base->ptr_type->stride);
471 /* We need ptr_type fo
578 vtn_pointer_for_variable(struct vtn_builder * b,struct vtn_variable * var,struct vtn_type * ptr_type) argument
1904 vtn_pointer_from_ssa(struct vtn_builder * b,nir_ssa_def * ssa,struct vtn_type * ptr_type) argument
2047 vtn_create_variable(struct vtn_builder * b,struct vtn_value * val,struct vtn_type * ptr_type,SpvStorageClass storage_class,nir_constant * initializer) argument
2380 struct vtn_type *ptr_type = vtn_value(b, w[1], vtn_value_type_type)->type; local in function:vtn_handle_variables
2431 struct vtn_type *ptr_type = vtn_value(b, w[1], vtn_value_type_type)->type; local in function:vtn_handle_variables
[all...]
H A Dvtn_cfg.c32 struct vtn_type *ptr_type = param_type; local in function:vtn_load_param_pointer
36 ptr_type = rzalloc(b, struct vtn_type);
37 ptr_type->base_type = vtn_base_type_pointer;
38 ptr_type->deref = param_type;
39 ptr_type->storage_class = SpvStorageClassUniformConstant;
42 return vtn_pointer_from_ssa(b, nir_load_param(&b->nb, param_idx), ptr_type);
H A Dvtn_private.h460 struct vtn_type *ptr_type; member in struct:vtn_pointer
644 struct vtn_type *ptr_type);
761 struct vtn_type *ptr_type);
H A Dspirv_to_nir.c312 vtn_assert(val->pointer->ptr_type && val->pointer->ptr_type->type);
314 vtn_create_ssa_value(b, val->pointer->ptr_type->type);
/xsrc/external/mit/libepoxy/dist/src/
H A Dgen_dispatch.py58 self.ptr_type = 'PFN' + name.upper() + 'PROC'
465 func.ptr_type,
550 self.outln('static {0}'.format(func.ptr_type))
633 self.outln('{0} epoxy_{1} = epoxy_{1}_global_rewrite_ptr;'.format(func.ptr_type, func.wrapped_name))
783 self.outln(' {0} epoxy_{1};'.format(func.ptr_type, func.wrapped_name))
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/zink/nir_to_spirv/
H A Dnir_to_spirv.c433 SpvId ptr_type = spirv_builder_type_pointer(&ctx->builder, local in function:create_shared_block
436 ctx->shared_block_var = spirv_builder_emit_var(&ctx->builder, ptr_type, SpvStorageClassWorkgroup);
2203 SpvId ptr_type = spirv_builder_type_pointer(&ctx->builder, local in function:emit_store_deref
2211 SpvId member = spirv_builder_emit_access_chain(&ctx->builder, ptr_type,
2236 SpvId ptr_type = spirv_builder_type_pointer(&ctx->builder, local in function:emit_load_shared
2245 SpvId member = spirv_builder_emit_access_chain(&ctx->builder, ptr_type,
2273 SpvId ptr_type = spirv_builder_type_pointer(&ctx->builder, local in function:emit_store_shared
2286 SpvId member = spirv_builder_emit_access_chain(&ctx->builder, ptr_type,
3489 SpvId ptr_type = spirv_builder_type_pointer(&ctx->builder, local in function:emit_deref_array
3494 ptr_type,
3518 SpvId ptr_type = spirv_builder_type_pointer(&ctx->builder, local in function:emit_deref_struct
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/llvmpipe/
H A Dlp_bld_interp.c593 LLVMTypeRef ptr_type = LLVMPointerType(LLVMFloatTypeInContext( local in function:attribs_update
596 a = LLVMBuildBitCast(builder, a, ptr_type, "");
/xsrc/external/mit/MesaLib.old/dist/src/amd/common/
H A Dac_nir_to_llvm.c2102 LLVMTypeRef ptr_type = LLVMPointerType(LLVMGetElementType(result_type), local in function:visit_load_var
2104 address = LLVMBuildBitCast(ctx->ac.builder, address, ptr_type , "");
2113 LLVMTypeRef ptr_type = LLVMPointerType(result_type, local in function:visit_load_var
2115 address = LLVMBuildBitCast(ctx->ac.builder, address, ptr_type , "");
2251 LLVMTypeRef ptr_type = LLVMPointerType(LLVMTypeOf(val), local in function:visit_store_var
2253 address = LLVMBuildBitCast(ctx->ac.builder, address, ptr_type , "");
2257 LLVMTypeRef ptr_type = LLVMPointerType(LLVMTypeOf(val), local in function:visit_store_var
2259 address = LLVMBuildBitCast(ctx->ac.builder, address, ptr_type , "");
2265 LLVMTypeRef ptr_type = LLVMPointerType(LLVMGetElementType(LLVMTypeOf(val)), local in function:visit_store_var
2267 address = LLVMBuildBitCast(ctx->ac.builder, address, ptr_type , "");
[all...]
/xsrc/external/mit/MesaLib/dist/src/amd/llvm/
H A Dac_nir_to_llvm.c2112 LLVMTypeRef ptr_type = LLVMPointerType(result_type, AC_ADDR_SPACE_GLOBAL); local in function:visit_load_global
2114 addr = LLVMBuildIntToPtr(ctx->ac.builder, addr, ptr_type, "");
2139 LLVMTypeRef ptr_type = LLVMPointerType(type, AC_ADDR_SPACE_GLOBAL); local in function:visit_store_global
2141 addr = LLVMBuildIntToPtr(ctx->ac.builder, addr, ptr_type, "");
2176 LLVMTypeRef ptr_type = LLVMPointerType(data_type, AC_ADDR_SPACE_GLOBAL); local in function:visit_global_atomic
2178 addr = LLVMBuildIntToPtr(ctx->ac.builder, addr, ptr_type, "");
3135 LLVMTypeRef ptr_type = local in function:visit_var_atomic
3137 ptr = LLVMBuildBitCast(ctx->ac.builder, ptr, ptr_type, "");
3192 LLVMTypeRef ptr_type = local in function:visit_var_atomic
3194 ptr = LLVMBuildBitCast(ctx->ac.builder, ptr, ptr_type, "");
[all...]
H A Dac_llvm_build.c4673 LLVMTypeRef ptr_type; local in function:arg_llvm_type
4676 ptr_type = ctx->i8;
4679 ptr_type = ctx->f32;
4682 ptr_type = ac_array_in_const32_addr_space(ctx->i8);
4685 ptr_type = ctx->v4i32;
4688 ptr_type = ctx->v8i32;
4694 return ac_array_in_const32_addr_space(ptr_type);
4697 return ac_array_in_const_addr_space(ptr_type);
/xsrc/external/mit/MesaLib/dist/src/microsoft/compiler/
H A Ddxil_module.c698 const struct dxil_type *ptr_type = dxil_module_get_pointer_type(m, int8_type); local in function:dxil_module_get_handle_type
699 if (!ptr_type)
702 return dxil_module_get_struct_type(m, "dx.types.Handle", &ptr_type, 1);
2310 const struct dxil_type *ptr_type = local in function:dxil_get_metadata_func
2312 return dxil_get_metadata_value(m, ptr_type, &func->value);
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/gallivm/
H A Dlp_bld_nir_soa.c740 LLVMTypeRef ptr_type = LLVMPointerType(bld_broad->elem_type, 0); local in function:emit_load_kernel_arg
741 kernel_args_ptr = LLVMBuildBitCast(builder, kernel_args_ptr, ptr_type, "");
998 LLVMTypeRef ptr_type = LLVMPointerType(bld_broad->elem_type, 0); local in function:emit_load_ubo
999 consts_ptr = LLVMBuildBitCast(builder, consts_ptr, ptr_type, "");

Completed in 200 milliseconds