Home
last modified time | relevance | path

Searched refs:nir_iadd_imm (Results 1 – 25 of 45) sorted by relevance

12

/third_party/mesa3d/src/intel/compiler/
Dbrw_nir_rt_builder.h39 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 …]
Dbrw_nir_lower_rt_intrinsics.c114 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()
Dbrw_nir_rt.c103 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()
Dbrw_nir_lower_shader_calls.c112 nir_iadd_imm(b, nir_load_btd_resume_sbt_addr_intel(b), in store_resume_addr()
Dbrw_nir_lower_intersection_shader.c167 nir_ssa_def *flags_dw_addr = nir_iadd_imm(b, ray_addr, 12); in brw_nir_lower_intersection_shader()
Dbrw_nir_lower_mem_access_bit_sizes.c48 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/
Dload_store_vectorizer_tests.cpp563 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/
Danv_nir_lower_ubo_loads.c72 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/
Dv3d_nir_lower_scratch.c63 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/
Dnir_lower_ubo_vec4.c154 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()
Dnir_lower_uniforms_to_ubo.c69nir_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()
Dnir_lower_gs_intrinsics.c109 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()
Dnir_lower_idiv.c143 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()
Dnir_opt_idiv_const.c115 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()
Dnir_lower_texcoord_replace.c124 nir_iadd_imm(&b, index, base)); in nir_lower_texcoord_replace_impl()
Dnir_lower_printf.c114 nir_i2i(b, nir_iadd_imm(b, offset, in lower_printf_instr()
Dnir_lower_memcpy.c165 nir_store_var(&b, i, nir_iadd_imm(&b, index, 1), ~0); in lower_memcpy_impl()
Dnir_lower_scratch.c48 nir_iadd_imm(b, nir_build_deref_offset(b, deref, size_align), in lower_load_store()
Dnir_lower_variable_initializers.c189 nir_ssa_def *new_offset = nir_iadd_imm(&b, offset, chunk_size * local_count); in nir_zero_initialize_shared_memory()
Dnir_lower_multiview.c295 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/
Dpan_indirect_draw.c412 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/
Dir3_nir_analyze_ubo_ranges.c330 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/
Dgl_nir_lower_images.c100 src = nir_iadd_imm(b, in lower_impl()
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_gs_variant.cpp290 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/
Dlvp_lower_vulkan_resource.c81 return nir_vec2(b, nir_iadd_imm(b, intrin->src[0].ssa, value), in lower_vri_intrin_vri()

12