/third_party/mesa3d/src/compiler/nir/ |
D | nir_opt_uniform_atomics.c | 43 parse_atomic_op(nir_intrinsic_op op, unsigned *offset_src, unsigned *data_src) in parse_atomic_op() argument 48 *offset_src = 1; \ in parse_atomic_op() 54 *offset_src = 0; \ in parse_atomic_op() 62 *offset_src = 1; \ in parse_atomic_op() 197 unsigned offset_src, data_src; in optimize_atomic() local 198 nir_op op = parse_atomic_op(intrin->intrinsic, &offset_src, &data_src); in optimize_atomic() 282 unsigned offset_src, data_src; in opt_uniform_atomics() local 283 if (parse_atomic_op(intrin->intrinsic, &offset_src, &data_src) == nir_num_opcodes) in opt_uniform_atomics() 286 if (nir_src_is_divergent(intrin->src[offset_src])) in opt_uniform_atomics()
|
D | nir_gather_ssa_types.c | 209 nir_src *offset_src = nir_get_io_offset_src(intrin); in nir_gather_ssa_types() local 210 if (offset_src) { in nir_gather_ssa_types() 211 assert(offset_src->is_ssa); in nir_gather_ssa_types() 212 set_type(offset_src->ssa->index, nir_type_int, in nir_gather_ssa_types()
|
D | nir_lower_wrmasks.c | 78 offset_src(nir_intrinsic_op intrinsic) in offset_src() function 105 unsigned offset_idx = offset_src(intr->intrinsic); in split_wrmask() 209 assert(offset_src(intr->intrinsic) >= 0); in nir_lower_wrmasks_instr()
|
D | nir_lower_ssbo.c | 115 nir_src *offset_src = nir_get_io_offset_src(intr); in lower_ssbo_instr() local 116 nir_ssa_def *offset = nir_ssa_for_src(b, *offset_src, 1); in lower_ssbo_instr()
|
/third_party/mesa3d/src/intel/compiler/ |
D | brw_nir_lower_mem_access_bit_sizes.c | 99 nir_src *offset_src = nir_get_io_offset_src(intrin); in lower_mem_load_bit_size() local 100 if (bit_size < 32 && !needs_scalar && nir_src_is_const(*offset_src)) { in lower_mem_load_bit_size() 104 const int load_offset = nir_src_as_uint(*offset_src) % 4; in lower_mem_load_bit_size() 182 nir_src *offset_src = nir_get_io_offset_src(intrin); in lower_mem_store_bit_size() local 183 const bool offset_is_const = nir_src_is_const(*offset_src); in lower_mem_store_bit_size() 185 offset_is_const ? nir_src_as_uint(*offset_src) : 0; in lower_mem_store_bit_size()
|
D | brw_vec4_nir.cpp | 268 nir_src *offset_src = nir_get_io_offset_src(instr); in get_indirect_offset() local 270 if (nir_src_is_const(*offset_src)) { in get_indirect_offset() 275 assert(nir_src_as_uint(*offset_src) == 0); in get_indirect_offset() 279 return get_nir_src(*offset_src, BRW_REGISTER_TYPE_UD, 1); in get_indirect_offset()
|
D | brw_fs_nir.cpp | 2502 const nir_src &offset_src, in emit_gs_input_load() argument 2512 nir_src_is_const(offset_src) && nir_src_is_const(vertex_src) && in emit_gs_input_load() 2513 4 * (base_offset + nir_src_as_uint(offset_src)) < push_reg_count) { in emit_gs_input_load() 2514 int imm_offset = (base_offset + nir_src_as_uint(offset_src)) * 4 + in emit_gs_input_load() 2605 fs_reg indirect_offset = get_nir_src(offset_src); in emit_gs_input_load() 2607 if (nir_src_is_const(offset_src)) { in emit_gs_input_load() 2624 inst->offset = base_offset + nir_src_as_uint(offset_src); in emit_gs_input_load() 2655 nir_src *offset_src = nir_get_io_offset_src(instr); in get_indirect_offset() local 2657 if (nir_src_is_const(*offset_src)) { in get_indirect_offset() 2662 assert(nir_src_as_uint(*offset_src) == 0); in get_indirect_offset() [all …]
|
D | brw_fs.h | 319 unsigned base_offset, const nir_src &offset_src,
|
/third_party/mesa3d/src/broadcom/compiler/ |
D | v3d_nir_lower_robust_buffer_access.c | 31 uint32_t offset_src, in rewrite_offset() argument 49 nir_umin(b, instr->src[offset_src].ssa, aligned_buffer_size); in rewrite_offset() 50 nir_instr_rewrite_src(&instr->instr, &instr->src[offset_src], in rewrite_offset()
|
D | nir_to_vir.c | 433 int offset_src, in emit_tmu_general_address_write() argument 441 ntq_get_src(c, instr->src[offset_src], 0); in emit_tmu_general_address_write() 463 struct qreg data = ntq_get_src(c, instr->src[offset_src], 0); in emit_tmu_general_address_write() 518 int offset_src; in ntq_emit_tmu_general() local 520 offset_src = 0; in ntq_emit_tmu_general() 526 offset_src = 0 + has_index; in ntq_emit_tmu_general() 528 offset_src = 1 + has_index; in ntq_emit_tmu_general() 530 offset_src = 0 + has_index; in ntq_emit_tmu_general() 533 bool dynamic_src = !nir_src_is_const(instr->src[offset_src]); in ntq_emit_tmu_general() 536 const_offset = nir_src_as_uint(instr->src[offset_src]); in ntq_emit_tmu_general() [all …]
|
/third_party/mesa3d/src/gallium/auxiliary/nir/ |
D | nir_to_tgsi.c | 2695 int offset_src = -1; in nir_to_tgsi_lower_64bit_intrinsic() local 2701 offset_src = 1; in nir_to_tgsi_lower_64bit_intrinsic() 2704 offset_src = 1; in nir_to_tgsi_lower_64bit_intrinsic() 2708 offset_src = 2; in nir_to_tgsi_lower_64bit_intrinsic() 2713 if (offset_src != -1) { in nir_to_tgsi_lower_64bit_intrinsic() 2716 nir_iadd_imm(b, second->src[offset_src].ssa, offset_amount); in nir_to_tgsi_lower_64bit_intrinsic() 2717 nir_instr_rewrite_src(&second->instr, &second->src[offset_src], in nir_to_tgsi_lower_64bit_intrinsic()
|
/third_party/mesa3d/src/asahi/compiler/ |
D | agx_compile.c | 139 nir_src *offset_src = nir_get_io_offset_src(instr); in agx_emit_load_attr() local 140 assert(nir_src_is_const(*offset_src) && "no attribute indirects"); in agx_emit_load_attr() 142 nir_src_as_uint(*offset_src); in agx_emit_load_attr()
|
/third_party/python/Modules/clinic/ |
D | posixmodule.c.h | 5659 PyObject *offset_src, PyObject *offset_dst); 5672 PyObject *offset_src = Py_None; in os_copy_file_range() local 5703 offset_src = args[3]; in os_copy_file_range() 5710 return_value = os_copy_file_range_impl(module, src, dst, count, offset_src, offset_dst); in os_copy_file_range() 5749 PyObject *offset_src, PyObject *offset_dst, 5763 PyObject *offset_src = Py_None; in os_splice() local 5795 offset_src = args[3]; in os_splice() 5810 return_value = os_splice_impl(module, src, dst, count, offset_src, offset_dst, flags); in os_splice()
|
/third_party/mesa3d/src/compiler/nir/tests/ |
D | load_store_vectorizer_tests.cpp | 240 int offset_src = res ? 1 : 0; in create_indirect_load() local 242 if (nir_src_is_const(load->src[offset_src])) { in create_indirect_load() 243 nir_intrinsic_set_range_base(load, nir_src_as_uint(load->src[offset_src])); in create_indirect_load()
|
/third_party/python/Modules/ |
D | posixmodule.c | 10409 PyObject *offset_src, PyObject *offset_dst) in os_copy_file_range_impl() argument 10427 if (offset_src != Py_None) { in os_copy_file_range_impl() 10428 if (!Py_off_t_converter(offset_src, &offset_src_val)) { in os_copy_file_range_impl() 10481 PyObject *offset_src, PyObject *offset_dst, in os_splice_impl() argument 10496 if (offset_src != Py_None) { in os_splice_impl() 10497 if (!Py_off_t_converter(offset_src, &offset_src_val)) { in os_splice_impl()
|
/third_party/mesa3d/src/amd/llvm/ |
D | ac_nir_to_llvm.c | 4130 LLVMValueRef offset_src = ac_extract_components(&ctx->ac, src, start, count); in visit_intrinsic() local 4131 LLVMBuildStore(ctx->ac.builder, offset_src, offset_ptr); in visit_intrinsic() 4551 unsigned offset_src = 0; in visit_tex() local 4576 offset_src = i; in visit_tex() 4799 int num_offsets = instr->src[offset_src].src.ssa->num_components; in visit_tex()
|
/third_party/mesa3d/src/microsoft/compiler/ |
D | nir_to_dxil.c | 2654 const struct dxil_value *offset_src = get_src(ctx, &intr->src[1], 0, nir_type_uint); in emit_load_ubo() local 2656 if (!offset_src || !c4) in emit_load_ubo() 2659 offset = dxil_emit_binop(&ctx->mod, DXIL_BINOP_ASHR, offset_src, c4, 0); in emit_load_ubo()
|
/third_party/mesa3d/src/gallium/drivers/svga/ |
D | svga_tgsi_vgpu10.c | 8093 struct tgsi_full_src_register offset_src, sampler, ref; in emit_tg4() local 8172 offset_src = make_src_reg(inst->TexOffsets[0].File, in emit_tg4() 8174 offset_src = swizzle_src(&offset_src, inst->TexOffsets[0].SwizzleX, in emit_tg4() 8178 emit_src_register(emit, &offset_src); in emit_tg4()
|
/third_party/python/Doc/library/ |
D | os.rst | 787 .. function:: copy_file_range(src, dst, count, offset_src=None, offset_dst=None) 790 *offset_src*, to file descriptor *dst*, starting from offset *offset_dst*. 791 If *offset_src* is None, then *src* is read from the current position; 1433 .. function:: splice(src, dst, count, offset_src=None, offset_dst=None) 1436 *offset_src*, to file descriptor *dst*, starting from offset *offset_dst*. 1437 At least one of the file descriptors must refer to a pipe. If *offset_src*
|
/third_party/python/Lib/test/ |
D | test_os.py | 373 offset_src=in_skip, 454 i = os.splice(in_fd, write_fd, bytes_to_copy, offset_src=in_skip)
|