/third_party/mesa3d/src/intel/compiler/ |
D | brw_nir_rt_builder.h | 39 nir_iadd_imm(b, nir_load_scratch_base_ptr(b, 1, 64, 1), offset); in brw_nir_rt_load_scratch() 49 nir_iadd_imm(b, nir_load_scratch_base_ptr(b, 1, 64, 1), offset); in brw_nir_rt_store_scratch() 142 return nir_iadd_imm(b, brw_nir_rt_ray_addr(b), in brw_nir_rt_mem_hit_addr() 149 return nir_iadd_imm(b, brw_nir_rt_ray_addr(b), in brw_nir_rt_hit_attrib_data_addr() 167 return nir_iadd_imm(b, brw_nir_rt_ray_addr(b), offset); in brw_nir_rt_mem_ray_addr() 237 data = nir_load_global_const_block_intel(b, 8, nir_iadd_imm(b, addr, 64), in brw_nir_rt_load_globals() 296 data = nir_load_global(b, nir_iadd_imm(b, hit_addr, 16), 16, 4, 32); in brw_nir_rt_load_mem_hit() 316 nir_load_global(b, nir_iadd_imm(b, src_addr, offset), src_align, in brw_nir_memcpy_global() 318 nir_store_global(b, nir_iadd_imm(b, dst_addr, offset), dst_align, in brw_nir_memcpy_global() 355 nir_store_global(b, nir_iadd_imm(b, ray_addr, 0), 16, in brw_nir_rt_store_mem_ray() [all …]
|
D | brw_nir_lower_rt_intrinsics.c | 114 nir_iadd_imm(b, stack_base_offset, stack_size); in lower_rt_intrinsics_impl() 130 nir_iadd_imm(b, stack_base_offset, -stack_size); in lower_rt_intrinsics_impl() 165 nir_iadd_imm(b, nir_load_btd_global_arg_addr_intel(b), in lower_rt_intrinsics_impl() 175 nir_iadd_imm(b, intrin->src[0].ssa, in lower_rt_intrinsics_impl() 230 nir_iadd_imm(b, hit_in.prim_leaf_index, 12), in lower_rt_intrinsics_impl() 275 nir_load_global(b, nir_iadd_imm(b, hit_in.prim_leaf_ptr, 4), 4, in lower_rt_intrinsics_impl() 357 nir_load_global(b, nir_iadd_imm(b, hit_in.prim_leaf_ptr, 4), 4, in lower_rt_intrinsics_impl()
|
D | brw_nir_rt.c | 103 nir_ssa_def *bary_addr = nir_iadd_imm(&b, hit_addr, 4); in lower_rt_io_derefs() 251 nir_iadd_imm(b, nir_load_shader_record_ptr(b), in build_terminate_ray()
|
D | brw_nir_lower_shader_calls.c | 112 nir_iadd_imm(b, nir_load_btd_resume_sbt_addr_intel(b), in store_resume_addr()
|
D | brw_nir_lower_intersection_shader.c | 167 nir_ssa_def *flags_dw_addr = nir_iadd_imm(b, ray_addr, 12); in brw_nir_lower_intersection_shader()
|
D | brw_nir_lower_mem_access_bit_sizes.c | 48 dup->src[i] = nir_src_for_ssa(nir_iadd_imm(b, intrin->src[i].ssa, in dup_mem_intrinsic()
|
/third_party/mesa3d/src/compiler/nir/tests/ |
D | load_store_vectorizer_tests.cpp | 563 create_indirect_load(nir_var_mem_ssbo, 0, nir_iadd_imm(b, index_base, 4), 0x2); in TEST_F() 583 nir_ssa_def *index_base_prev = nir_iadd_imm(b, index_base, 0xfffffffc); in TEST_F() 605 nir_ssa_def *inv_plus_one = nir_iadd_imm(b, inv, 1); in TEST_F() 1245 create_shared_load(nir_build_deref_array(b, deref, nir_iadd_imm(b, index_base, 1)), 0x2); in TEST_F() 1278 nir_ssa_def *index_base_prev = nir_iadd_imm(b, index_base, 0xffffffff); in TEST_F() 1589 nir_iadd_imm(b, nir_imul_imm(b, nir_iadd_imm(b, index_base, 2), 16), 32), 0x1); in TEST_F() 1591 nir_iadd_imm(b, nir_imul_imm(b, nir_iadd_imm(b, index_base, 3), 16), 32), 0x2); in TEST_F() 1605 nir_ssa_def *low = nir_iadd_imm(b, nir_imul_imm(b, index_base, 16), 12); in TEST_F() 1606 nir_ssa_def *high = nir_imul_imm(b, nir_iadd_imm(b, index_base, 1), 16); in TEST_F() 1660 nir_ssa_def *offset = nir_iadd_imm(b, nir_imul_imm(b, index_base, 16), 4); in TEST_F() [all …]
|
/third_party/mesa3d/src/intel/vulkan/ |
D | anv_nir_lower_ubo_loads.c | 72 nir_ssa_def *addr = nir_iadd_imm(b, base_addr, in lower_ubo_load_instr() 89 nir_ilt(b, nir_iadd_imm(b, offset, load_size - 1), bound); in lower_ubo_load_instr()
|
/third_party/mesa3d/src/broadcom/compiler/ |
D | v3d_nir_lower_scratch.c | 63 nir_iadd_imm(b, offset, V3D_CHANNELS * i * 4); in v3d_nir_lower_load_scratch() 99 nir_iadd_imm(b, offset, V3D_CHANNELS * i * 4); in v3d_nir_lower_store_scratch()
|
/third_party/mesa3d/src/compiler/nir/ |
D | nir_lower_ubo_vec4.c | 154 nir_ssa_def *next_vec4_offset = nir_iadd_imm(b, vec4_offset, 1); in nir_lower_ubo_vec4_lower() 161 nir_ssa_def *chan_byte_offset = nir_iadd_imm(b, byte_offset, i * chan_size_bytes); in nir_lower_ubo_vec4_lower()
|
D | nir_lower_uniforms_to_ubo.c | 69 … nir_iadd_imm(b, uniform_offset, nir_intrinsic_base(instr))); in lower_instr() 77 nir_iadd_imm(b, nir_imul_imm(b, uniform_offset, multiplier), in lower_instr()
|
D | nir_lower_gs_intrinsics.c | 109 nir_iadd_imm(b, count, 1), in rewrite_emit_vertex() 117 nir_iadd_imm(b, vtx_per_prim_cnt, 1), in rewrite_emit_vertex() 220 nir_iadd_imm(b, prim_cnt, 1), in rewrite_end_primitive()
|
D | nir_lower_idiv.c | 143 nir_iadd_imm(bld, quotient, 1), quotient); in emit_udiv() 154 return nir_bcsel(bld, remainder_ge_den, nir_iadd_imm(bld, quotient, 1), in emit_udiv() 216 nir_ssa_def *rcp = nir_iadd_imm(b, nir_frcp(b, q), 1); in convert_instr_small()
|
D | nir_opt_idiv_const.c | 115 nir_iadd_imm(b, n, d - 1), n); in build_irem() 146 return nir_bcsel(b, nir_ior(b, rem_zero, sign_same), rem, nir_iadd_imm(b, rem, d)); in build_imod()
|
D | nir_lower_texcoord_replace.c | 124 nir_iadd_imm(&b, index, base)); in nir_lower_texcoord_replace_impl()
|
D | nir_lower_printf.c | 114 nir_i2i(b, nir_iadd_imm(b, offset, in lower_printf_instr()
|
D | nir_lower_memcpy.c | 165 nir_store_var(&b, i, nir_iadd_imm(&b, index, 1), ~0); in lower_memcpy_impl()
|
D | nir_lower_scratch.c | 48 nir_iadd_imm(b, nir_build_deref_offset(b, deref, size_align), in lower_load_store()
|
D | nir_lower_variable_initializers.c | 189 nir_ssa_def *new_offset = nir_iadd_imm(&b, offset, chunk_size * local_count); in nir_zero_initialize_shared_memory()
|
D | nir_lower_multiview.c | 295 nir_store_deref(&b, loop_index_deref, nir_iadd_imm(&b, loop_index, 1), 1); in nir_lower_multiview()
|
/third_party/mesa3d/src/panfrost/lib/ |
D | pan_indirect_draw.c | 412 nir_iadd_imm(b, builder->draw.vertex_count, -1), 1); in update_job() 464 nir_iadd_imm(b, r, 32)), in split_div() 616 nir_iadd_imm(b, attrib_idx, 1), 1); in update_vertex_attribs() 637 nir_iadd_imm(b, attrib_idx, 1), 1); in update_vertex_attribs() 678 nir_store_var(b, attrib_idx_var, nir_iadd_imm(b, attrib_idx, 1), 1); in update_vertex_attribs() 693 nir_iand_imm(b, nir_iadd_imm(b, size, 63), ~63); in update_varying_buf() 756 nir_iadd_imm(b, nir_ufind_msb(b, max_vertex), 1)); in get_invocation() 917 builder->instance_size.raw = nir_iadd_imm(b, nir_usub_sat(b, max, min), 1); in get_instance_size() 1020 start = nir_iand_imm(b, nir_iadd_imm(b, start, 3), ~3); in get_index_min_max() 1059 nir_iadd_imm(b, offset, MIN_MAX_JOBS * sizeof(uint32_t)), 1); in get_index_min_max()
|
/third_party/mesa3d/src/freedreno/ir3/ |
D | ir3_nir_analyze_ubo_ranges.c | 330 uniform_offset = nir_iadd_imm(b, uniform_offset, const_offset); in lower_ubo_load_to_uniform() 505 offset = nir_iadd_imm(b, offset, base_offset - new_base_offset); in fixup_load_uniform_instr() 554 nir_iadd_imm(b, nir_ssa_for_src(b, instr->src[0], 1), base); in ir3_nir_lower_load_const_instr()
|
/third_party/mesa3d/src/compiler/glsl/ |
D | gl_nir_lower_images.c | 100 src = nir_iadd_imm(b, in lower_impl()
|
/third_party/mesa3d/src/gallium/drivers/d3d12/ |
D | d3d12_gs_variant.cpp | 290 nir_store_deref(b, emit_ctx->loop_index_deref, nir_iadd_imm(b, emit_ctx->loop_index, 1), 1); in d3d12_finish_emit_primitives_gs() 355 … nir_ssa_def *next_index = nir_imod(b, nir_iadd_imm(b, emit_ctx.loop_index, 1), nir_imm_int(b, 3)); in d3d12_emit_lines()
|
/third_party/mesa3d/src/gallium/frontends/lavapipe/ |
D | lvp_lower_vulkan_resource.c | 81 return nir_vec2(b, nir_iadd_imm(b, intrin->src[0].ssa, value), in lower_vri_intrin_vri()
|