/third_party/mesa3d/src/compiler/nir/ |
D | nir.h | 950 struct nir_src; 954 struct nir_src *indirect; /** < NULL for no indirect offset */ 965 struct nir_src *indirect; /** < NULL for no indirect offset */ 973 typedef struct nir_src { struct 988 } nir_src; typedef 990 static inline nir_src 993 nir_src src = { { NULL } }; in nir_src_init() 1000 list_for_each_entry(nir_src, src, &(reg_or_ssa_def)->uses, use_link) 1003 list_for_each_entry_safe(nir_src, src, &(reg_or_ssa_def)->uses, use_link) 1006 list_for_each_entry(nir_src, src, &(reg_or_ssa_def)->if_uses, use_link) [all …]
|
D | nir.c | 431 static bool src_has_indirect(nir_src *src) in src_has_indirect() 436 static void src_free_indirects(nir_src *src) in src_free_indirects() 457 void nir_src_copy(nir_src *dest, const nir_src *src) in nir_src_copy() 468 dest->reg.indirect = calloc(1, sizeof(nir_src)); in nir_src_copy() 488 dest->reg.indirect = calloc(1, sizeof(nir_src)); in nir_dest_copy() 608 src_init(nir_src *src) in src_init() 769 calloc(1, sizeof(nir_intrinsic_instr) + num_srcs * sizeof(nir_src)); in nir_intrinsic_instr_create() 836 nir_src src) in nir_tex_instr_add_src() 903 nir_phi_instr_add_src(nir_phi_instr *instr, nir_block *pred, nir_src src) in nir_phi_instr_add_src() 1078 add_use_cb(nir_src *src, void *state) in add_use_cb() [all …]
|
D | nir_lower_ssbo.c | 89 nir_src *idx, unsigned bitsize) in nir_load_ssbo_prop() 114 nir_src index = intr->src[is_store ? 1 : 0]; in lower_ssbo_instr() 115 nir_src *offset_src = nir_get_io_offset_src(intr); in lower_ssbo_instr()
|
D | nir_lower_locals_to_regs.c | 130 static nir_src 135 nir_src src; in get_deref_reg_src() 162 src.reg.indirect = malloc(sizeof(nir_src)); in get_deref_reg_src() 237 nir_src reg_src = get_deref_reg_src(deref, state); in lower_locals_to_regs_block()
|
D | nir_inline_uniforms.c | 50 src_only_uses_uniforms(const nir_src *src, int component, in src_only_uses_uniforms() 139 is_induction_variable(const nir_src *src, int component, nir_loop_info *info, in is_induction_variable() 185 add_inlinable_uniforms(const nir_src *cond, nir_loop_info *info, in add_inlinable_uniforms() 247 const nir_src *cond = &if_node->condition; in process_node()
|
D | nir_lower_amul.c | 74 lower_large_src(nir_src *src, void *s) in lower_large_src() 104 large_ubo(lower_state *state, nir_src src) in large_ubo() 114 large_ssbo(lower_state *state, nir_src src) in large_ssbo()
|
D | nir_instr_set.c | 29 src_is_ssa(nir_src *src, void *data) in src_is_ssa() 89 hash_src(uint32_t hash, const nir_src *src) in hash_src() 329 nir_srcs_equal(nir_src src1, nir_src src2) in nir_srcs_equal() 361 get_neg_instr(nir_src s) in get_neg_instr() 486 nir_src alu1_actual_src; in nir_alu_srcs_negative_equal() 503 nir_src alu2_actual_src; in nir_alu_srcs_negative_equal()
|
D | nir_propagate_invariant.c | 27 add_src(nir_src *src, struct set *invariants) in add_src() 37 add_src_cb(nir_src *src, void *state) in add_src_cb()
|
/third_party/mesa3d/src/gallium/frontends/lavapipe/ |
D | lvp_inline_uniforms.c | 34 src_only_uses_uniforms(const nir_src *src, int component, in src_only_uses_uniforms() 120 is_induction_variable(const nir_src *src, int component, nir_loop_info *info, in is_induction_variable() 166 add_inlinable_uniforms(const nir_src *cond, nir_loop_info *info, in add_inlinable_uniforms() 223 is_src_uniform_load(nir_src src) in is_src_uniform_load() 238 const nir_src *cond = &if_node->condition; in process_node() 333 const nir_src *src = entry->key; in lvp_find_inlinable_uniforms() 335 list_for_each_entry(nir_src, rsrc, &src->ssa->uses, use_link) { in lvp_find_inlinable_uniforms()
|
/third_party/mesa3d/src/gallium/drivers/r600/sfn/tests/ |
D | sfn_valuefactory_test.cpp | 66 nir_src src = nir_src_for_ssa(sum); in TEST_F() 76 nir_src src1 = NIR_SRC_INIT; in TEST_F() 80 nir_src src2 = NIR_SRC_INIT; in TEST_F() 151 mov->dest.dest.reg.indirect = (nir_src *)calloc(1, sizeof(nir_src)); in TEST_F() 152 nir_src addr = nir_src_for_ssa(c2); in TEST_F()
|
/third_party/mesa3d/src/compiler/nir/tests/ |
D | builder_tests.cpp | 111 nir_src val = nir_src_for_ssa(test_val(0)); in TEST_F() 127 nir_src val = nir_src_for_ssa(test_val(0)); in TEST_F() 146 nir_src val = nir_src_for_ssa(test_val(0)); in TEST_F()
|
/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
D | sfn_valuefactory.h | 213 std::vector<PRegister, Allocator<PRegister>> dest_vector(const nir_src& src, 226 … RegisterVec4 src_vec4(const nir_src& src, Pin pin, const RegisterVec4::Swizzle &swz = {0,1,2,3}); 230 PVirtualValue src(const nir_src& src, int chan); 246 … std::vector<PVirtualValue, Allocator<PVirtualValue>> src_vec(const nir_src& src, int components); 268 PRegister resolve_array(nir_register *reg, nir_src *indirect,
|
/third_party/mesa3d/src/freedreno/ir3/ |
D | ir3_image.h | 34 struct ir3_instruction *ir3_ssbo_to_ibo(struct ir3_context *ctx, nir_src src); 36 struct ir3_instruction *ir3_image_to_ibo(struct ir3_context *ctx, nir_src src);
|
D | ir3_context.h | 210 nir_src *src); 217 void ir3_handle_bindless_cat6(struct ir3_instruction *instr, nir_src rsrc); 272 utype_src(nir_src src) in utype_src()
|
D | ir3_nir_move_varying_inputs.c | 62 check_precondition_src(nir_src *src, void *state) in check_precondition_src() 125 move_src(nir_src *src, void *state) in move_src()
|
D | ir3_image.c | 42 ir3_ssbo_to_ibo(struct ir3_context *ctx, nir_src src) in ir3_ssbo_to_ibo() 61 ir3_image_to_ibo(struct ir3_context *ctx, nir_src src) in ir3_image_to_ibo()
|
/third_party/mesa3d/src/panfrost/util/ |
D | pan_sysval.c | 34 nir_src index = instr->src[0]; in panfrost_sysval_for_ssbo() 45 nir_src index = instr->src[0]; in panfrost_sysval_for_sampler() 55 nir_src index = instr->src[0]; in panfrost_sysval_for_image_size()
|
D | nir_mod_helpers.c | 99 nir_src *use = list_first_entry(&dest->ssa.uses, nir_src, use_link); in pan_has_dest_mod()
|
/third_party/mesa3d/src/imagination/rogue/nir/ |
D | rogue_nir_pfo.c | 31 nir_src *output_src) in insert_pfo() 38 nir_src new_output_src = nir_src_for_ssa(new_output_src_ssa); in insert_pfo()
|
/third_party/mesa3d/src/intel/compiler/ |
D | brw_vec4.h | 321 src_reg get_nir_src(const nir_src &src, enum brw_reg_type type, 323 src_reg get_nir_src(const nir_src &src, nir_alu_type type, 325 src_reg get_nir_src(const nir_src &src, 327 src_reg get_nir_src_imm(const nir_src &src);
|
D | brw_fs.h | 294 fs_reg get_nir_src(const nir_src &src); 295 fs_reg get_nir_src_imm(const nir_src &src); 323 void emit_gs_end_primitive(const nir_src &vertex_count_nir_src); 324 void emit_gs_vertex(const nir_src &vertex_count_nir_src, 327 void emit_gs_input_load(const fs_reg &dst, const nir_src &vertex_src, 328 unsigned base_offset, const nir_src &offset_src,
|
D | brw_nir_lower_mem_access_bit_sizes.c | 40 nir_src *intrin_offset_src = nir_get_io_offset_src(intrin); in dup_mem_intrinsic() 99 nir_src *offset_src = nir_get_io_offset_src(intrin); in lower_mem_load_bit_size() 182 nir_src *offset_src = nir_get_io_offset_src(intrin); in lower_mem_store_bit_size()
|
D | brw_mesh.cpp | 149 nir_src *offset_src = nir_get_io_offset_src(intrin); in brw_nir_adjust_task_payload_offsets_instr() 639 nir_src *index_src = &intrin->src[is_load ? 0 : 1]; in brw_nir_adjust_offset_for_arrayed_indices_instr() 640 nir_src *offset_src = &intrin->src[is_load ? 1 : 2]; in brw_nir_adjust_offset_for_arrayed_indices_instr() 655 nir_src *index_src = &intrin->src[is_load ? 0 : 1]; in brw_nir_adjust_offset_for_arrayed_indices_instr() 656 nir_src *offset_src = &intrin->src[is_load ? 1 : 2]; in brw_nir_adjust_offset_for_arrayed_indices_instr() 864 nir_src *offset_nir_src = nir_get_io_offset_src(instr); in emit_urb_direct_writes() 1026 nir_src *offset_nir_src = nir_get_io_offset_src(instr); in emit_urb_direct_reads() 1128 nir_src *offset_nir_src = nir_get_io_offset_src(instr); in emit_task_mesh_store() 1145 nir_src *offset_nir_src = nir_get_io_offset_src(instr); in emit_task_mesh_load()
|
D | brw_nir_analyze_boolean_resolves.c | 44 get_resolve_status_for_src(nir_src *src) in get_resolve_status_for_src() 67 src_mark_needs_resolve(nir_src *src, void *void_state) in src_mark_needs_resolve()
|
/third_party/mesa3d/src/amd/common/ |
D | ac_nir_lower_esgs_io_to_mem.c | 212 nir_src *vertex_src) in gs_per_vertex_input_vertex_offset_gfx6() 230 nir_src *vertex_src) in gs_per_vertex_input_vertex_offset_gfx9() 257 nir_src *vertex_src = nir_get_io_arrayed_index_src(instr); in gs_per_vertex_input_offset()
|