Home
last modified time | relevance | path

Searched refs:nir_register (Results 1 – 25 of 37) sorted by relevance

12

/third_party/mesa3d/src/compiler/nir/
Dnir_from_ssa.c128 nir_register *reg;
540 static nir_register *
543 nir_register *reg = nir_local_reg_create(impl); in create_reg_for_ssa_def()
556 nir_register *reg; in rewrite_ssa_def()
815 nir_register *reg = nir_local_reg_create(state->builder.impl); in resolve_parallel_copy()
943 place_phi_read(nir_builder *b, nir_register *reg, in place_phi_read()
1022 nir_register *reg = create_reg_for_ssa_def(&phi->dest.ssa, b.impl); in nir_lower_phis_to_regs_block()
1065 nir_register *reg = create_reg_for_ssa_def(&dest->ssa, state->impl); in dest_replace_ssa_with_reg()
1118 nir_register *reg = create_reg_for_ssa_def(&undef->def, state.impl); in nir_lower_ssa_defs_to_regs_block()
1123 nir_register *reg = create_reg_for_ssa_def(&load->def, state.impl); in nir_lower_ssa_defs_to_regs_block()
Dnir_lower_regs_to_ssa.c48 nir_register *reg = src->reg.reg; in rewrite_src()
74 nir_register *reg = nif->condition.reg.reg; in rewrite_if_condition()
92 nir_register *reg = dest->reg.reg; in rewrite_dest()
114 nir_register *reg = alu->dest.dest.reg.reg; in rewrite_alu_instr()
Dnir_clone.c121 static nir_register *
122 remap_reg(clone_state *state, const nir_register *reg) in remap_reg()
206 static nir_register *
207 clone_register(clone_state *state, const nir_register *reg) in clone_register()
209 nir_register *nreg = rzalloc(state->ns, nir_register); in clone_register()
231 foreach_list_typed(nir_register, reg, node, list) { in clone_reg_list()
232 nir_register *nreg = clone_register(state, reg); in clone_reg_list()
Dnir_lower_locals_to_regs.c99 static nir_register *
120 nir_register *reg = nir_local_reg_create(state->builder.impl); in get_reg_for_deref()
Dnir_sweep.c111 steal_list(nir, nir_register, &impl->registers); in sweep_impl()
Dnir.h832 typedef struct nir_register { struct
858 } nir_register; argument
861 foreach_list_typed(nir_register, reg, node, reg_list)
863 foreach_list_typed_safe(nir_register, reg, node, reg_list)
953 nir_register *reg;
964 nir_register *reg;
1047 nir_src_for_reg(nir_register *reg) in nir_src_for_reg()
1060 nir_dest_for_reg(nir_register *reg) in nir_dest_for_reg()
3773 nir_register *nir_local_reg_create(nir_function_impl *impl);
3775 void nir_reg_remove(nir_register *reg);
Dnir.c233 static nir_register *
236 nir_register *reg = ralloc(mem_ctx, nir_register); in reg_create()
252 nir_register *
255 nir_register *reg = reg_create(ralloc_parent(impl), &impl->registers); in nir_local_reg_create()
262 nir_reg_remove(nir_register *reg) in nir_reg_remove()
1384 foreach_list_typed(nir_register, reg, node, &impl->registers) { in nir_index_local_regs()
Dnir_lower_vec_to_movs.c256 nir_register *reg = nir_local_reg_create(b->impl); in nir_lower_vec_to_movs_instr()
Dnir_serialize.c444 write_register(write_ctx *ctx, const nir_register *reg) in write_register()
454 static nir_register *
457 nir_register *reg = ralloc(ctx->nir, nir_register); in read_register()
476 foreach_list_typed(nir_register, reg, node, src) in write_reg_list()
486 nir_register *reg = read_register(ctx); in read_reg_list()
Dnir_validate.c1419 prevalidate_reg_decl(nir_register *reg, validate_state *state) in prevalidate_reg_decl()
1441 postvalidate_reg_decl(nir_register *reg, validate_state *state) in postvalidate_reg_decl()
1646 foreach_list_typed(nir_register, reg, node, &impl->registers) { in validate_function_impl()
1665 foreach_list_typed(nir_register, reg, node, &impl->registers) { in validate_function_impl()
Dnir_print.c83 print_register(nir_register *reg, print_state *state) in print_register()
95 print_register_decl(nir_register *reg, print_state *state) in print_register_decl()
1619 foreach_list_typed(nir_register, reg, node, &impl->registers) { in print_function_impl()
Dnir_builder.h1351 nir_load_reg(nir_builder *build, nir_register *reg) in nir_load_reg()
1357 nir_store_reg(nir_builder *build, nir_register *reg, in nir_store_reg()
Dnir_schedule.c584 nir_register *reg = dest->reg.reg; in nir_schedule_regs_freed_dest_cb()
/third_party/mesa3d/src/freedreno/ir3/
Dir3_context.h246 void ir3_declare_array(struct ir3_context *ctx, nir_register *reg);
247 struct ir3_array *ir3_get_array(struct ir3_context *ctx, nir_register *reg);
Dir3_context.c220 nir_register *reg = src->reg.reg; in ir3_get_src()
272 nir_register *reg = dst->reg.reg; in ir3_put_dst()
535 ir3_declare_array(struct ir3_context *ctx, nir_register *reg) in ir3_declare_array()
554 ir3_get_array(struct ir3_context *ctx, nir_register *reg) in ir3_get_array()
/third_party/mesa3d/src/mesa/program/
Dprog_to_nir.c59 nir_register **output_regs;
60 nir_register **temp_regs;
62 nir_register *addr_reg;
932 c->output_regs = rzalloc_array(c, nir_register *, max_outputs); in setup_registers_and_variables()
942 nir_register *reg = nir_local_reg_create(b->impl); in setup_registers_and_variables()
964 c->temp_regs = rzalloc_array(c, nir_register *, in setup_registers_and_variables()
967 nir_register *reg; in setup_registers_and_variables()
/third_party/mesa3d/docs/relnotes/
D21.3.2.rst51 - nir: Initialize nir_register::divergent
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_valuefactory.cpp75 foreach_list_typed(nir_register, reg, node, registers) { in allocate_registers()
118 foreach_list_typed(nir_register, reg, node, registers) { in allocate_registers()
190 PRegister ValueFactory::resolve_array(nir_register *reg, nir_src *indirect, in resolve_array()
Dsfn_valuefactory.h268 PRegister resolve_array(nir_register *reg, nir_src *indirect,
/third_party/mesa3d/src/gallium/drivers/lima/ir/pp/
Dnir.c55 nir_register *reg, unsigned mask) in ppir_node_create_reg()
106 nir_register *reg = ns->reg.reg; in ppir_node_add_src()
956 foreach_list_typed(nir_register, reg, node, &func->registers) { in ppir_compile_nir()
/third_party/mesa3d/src/compiler/nir/tests/
Dnegative_equal_tests.cpp309 nir_register *reg = nir_local_reg_create(bld.impl); in TEST_F()
/third_party/mesa3d/src/gallium/auxiliary/nir/
Dtgsi_to_nir.c54 nir_register *reg;
72 nir_register *addr_reg;
245 nir_register *reg = nir_local_reg_create(b->impl); in ttn_emit_declaration()
377 nir_register *reg = nir_local_reg_create(b->impl); in ttn_emit_declaration()
797 nir_register *reg; in ttn_get_dest()
/third_party/mesa3d/src/gallium/drivers/lima/ir/gp/
Dnir.c41 static gpir_reg *reg_for_nir_reg(gpir_compiler *comp, nir_register *nir_reg) in reg_for_nir_reg()
/third_party/mesa3d/src/nouveau/codegen/
Dnv50_ir_from_nir.cpp87 LValues& convert(nir_register *);
91 Value* getSrc(nir_register *, uint8_t);
746 Converter::convert(nir_register *reg) in convert()
784 Converter::getSrc(nir_register *reg, uint8_t idx) in getSrc()
/third_party/mesa3d/src/gallium/drivers/vc4/
Dvc4_program.c210 nir_register *reg = dest->reg.reg; in ntq_store_dest()
257 nir_register *reg = src.reg.reg; in ntq_get_src()
1640 foreach_list_typed(nir_register, nir_reg, node, list) { in ntq_setup_registers()

12