Home
last modified time | relevance | path

Searched refs:nir_dest (Results 1 – 25 of 51) sorted by relevance

123

/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_compiler_nir.h92 dest_index(nir_function_impl *impl, nir_dest *dest) in dest_index()
98 update_swiz_mask(nir_alu_instr *alu, nir_dest *dest, unsigned *swiz, unsigned *mask) in update_swiz_mask()
123 static nir_dest *
124 real_dest(nir_dest *dest, unsigned *swiz, unsigned *mask) in real_dest()
201 static inline nir_dest *
204 nir_dest *dest = NULL; in dest_for_instr()
232 nir_dest *dest; /* cached dest_for_instr */
Detnaviv_compiler_nir_ra.c146 nir_dest *dest = defs[i].dest; in etna_ra_assign()
184 nir_dest *dest = dest_for_instr(instr); in etna_ra_assign()
Detnaviv_compiler_nir_liveness.c134 nir_dest *dest = dest_for_instr(instr); in etna_live_defs()
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_valuepool.h90 GPRVector vec_from_nir(const nir_dest& dst, int num_components);
92 std::vector<PValue> varvec_from_nir(const nir_dest& src, int num_components);
118 PValue from_nir(const nir_dest& v, unsigned component);
178 int lookup_register_index(const nir_dest& dst);
Dsfn_emitinstruction.h60 PValue from_nir(const nir_dest& v, unsigned component);
84 GPRVector vec_from_nir(const nir_dest& dst, int num_components);
Dsfn_emitinstruction.cpp68 PValue EmitInstruction::from_nir(const nir_dest& v, unsigned component) in from_nir()
137 GPRVector EmitInstruction::vec_from_nir(const nir_dest& dst, int num_components) in vec_from_nir()
Dsfn_valuepool.cpp50 GPRVector ValuePool::vec_from_nir(const nir_dest& dst, int num_components) in vec_from_nir()
58 std::vector<PValue> ValuePool::varvec_from_nir(const nir_dest& dst, int num_components) in varvec_from_nir()
189 int ValuePool::lookup_register_index(const nir_dest& dst) in lookup_register_index()
219 PValue ValuePool::from_nir(const nir_dest& v, unsigned component) in from_nir()
Dsfn_shader_base.h122 bool load_preloaded_value(const nir_dest& dest, int chan, PValue value,
/third_party/mesa3d/src/panfrost/util/
Dnir_mod_helpers.c82 pan_has_dest_mod(nir_dest **odest, nir_op op) in pan_has_dest_mod()
88 nir_dest *dest = *odest; in pan_has_dest_mod()
Dpan_sysval.c102 panfrost_sysval_for_instr(nir_instr *instr, nir_dest *dest) in panfrost_sysval_for_instr()
105 nir_dest *dst = NULL; in panfrost_sysval_for_instr()
Dpan_ir.h149 panfrost_sysval_for_instr(nir_instr *instr, nir_dest *dest);
358 pan_dest_index(nir_dest *dst) in pan_dest_index()
373 bool pan_has_dest_mod(nir_dest **dest, nir_op op);
/third_party/mesa3d/src/freedreno/ir3/
Dir3_context.h202 struct ir3_instruction **ir3_get_dst(struct ir3_context *ctx, nir_dest *dst,
206 void ir3_put_dst(struct ir3_context *ctx, nir_dest *dst);
273 utype_dst(nir_dest dst) in utype_dst()
/third_party/mesa3d/src/compiler/nir/
Dnir.h909 } nir_dest; typedef
911 static inline nir_dest
914 nir_dest dest = { { { NULL } } }; in nir_dest_init()
921 list_for_each_entry(nir_dest, dest, &(reg)->defs, reg.def_link)
924 list_for_each_entry_safe(nir_dest, dest, &(reg)->defs, reg.def_link)
950 static inline nir_dest
953 nir_dest dest = NIR_DEST_INIT; in nir_dest_for_reg()
993 nir_dest_bit_size(nir_dest dest) in nir_dest_bit_size()
999 nir_dest_num_components(nir_dest dest) in nir_dest_num_components()
1005 nir_dest_is_divergent(nir_dest dest) in nir_dest_is_divergent()
[all …]
Dnir.c357 static void dest_free_indirects(nir_dest *dest) in dest_free_indirects()
388 void nir_dest_copy(nir_dest *dest, const nir_dest *src) in nir_dest_copy()
579 dest_init(nir_dest *dest) in dest_init()
1018 add_reg_def_cb(nir_dest *dest, void *state) in add_reg_def_cb()
1123 remove_def_cb(nir_dest *dest, void *state) in remove_def_cb()
1157 static bool free_dest_indirects_cb(nir_dest *dest, void *state) in free_dest_indirects_cb()
1307 nir_ssa_def_visitor(nir_dest *dest, void *void_state) in nir_ssa_def_visitor()
1583 nir_instr_rewrite_dest(nir_instr *instr, nir_dest *dest, nir_dest new_dest) in nir_instr_rewrite_dest()
1633 nir_ssa_dest_init(nir_instr *instr, nir_dest *dest, in nir_ssa_dest_init()
2124 dest_is_ssa(nir_dest *dest, void *_state) in dest_is_ssa()
Dnir_schedule.c189 nir_schedule_dest_pressure(nir_dest *dest) in nir_schedule_dest_pressure()
262 nir_schedule_reg_dest_deps(nir_dest *dest, void *in_state) in nir_schedule_reg_dest_deps()
557 nir_schedule_regs_freed_dest_cb(nir_dest *dest, void *in_state) in nir_schedule_regs_freed_dest_cb()
904 nir_schedule_mark_dest_scheduled(nir_dest *dest, void *state) in nir_schedule_mark_dest_scheduled()
Dnir_propagate_invariant.c44 dest_is_invariant(nir_dest *dest, struct set *invariants) in dest_is_invariant()
Dnir_inline_helpers.h60 _nir_visit_dest_indirect(nir_dest *dest, void *_state) in _nir_visit_dest_indirect()
Dnir_opt_dce.c31 is_dest_live(const nir_dest *dest, BITSET_WORD *defs_live) in is_dest_live()
Dnir_from_ssa.c600 nir_dest *dest = exec_node_data(nir_dest, def, ssa); in rewrite_ssa_def()
1031 dest_replace_ssa_with_reg(nir_dest *dest, void *void_state) in dest_replace_ssa_with_reg()
Dnir_gather_ssa_types.c72 copy_types(nir_src src, nir_dest *dest, BITSET_WORD *float_types, in copy_types()
/third_party/mesa3d/src/intel/compiler/
Dbrw_vec4.h347 dst_reg get_nir_dest(const nir_dest &dest, enum brw_reg_type type);
348 dst_reg get_nir_dest(const nir_dest &dest, nir_alu_type type);
349 dst_reg get_nir_dest(const nir_dest &dest);
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dir2_nir.c258 set_index(struct ir2_context *ctx, nir_dest *dst, struct ir2_instr *instr) in set_index()
365 instr_create_alu_dest(struct ir2_context *ctx, nir_op opcode, nir_dest *dst) in instr_create_alu_dest()
374 ir2_instr_create_fetch(struct ir2_context *ctx, nir_dest *dst, in ir2_instr_create_fetch()
404 nir_dest *dst = &alu->dest.dest; in emit_alu()
490 load_input(struct ir2_context *ctx, nir_dest *dst, unsigned idx) in load_input()
797 ctx, nir_op_mov, &(nir_dest){.ssa = undef->def, .is_ssa = true}); in emit_undef()
/third_party/mesa3d/src/gallium/drivers/lima/ir/gp/
Dnir.c107 static void register_node(gpir_block *block, gpir_node *node, nir_dest *dest) in register_node()
220 static gpir_node *gpir_create_load(gpir_block *block, nir_dest *dest, in gpir_create_load()
234 static bool gpir_create_vector_load(gpir_block *block, nir_dest *dest, int index) in gpir_create_vector_load()
/third_party/mesa3d/src/panfrost/midgard/
Dmidgard_compile.c556 mir_accept_dest_mod(compiler_context *ctx, nir_dest **dest, nir_op op) in mir_accept_dest_mod()
581 mir_determine_float_outmod(compiler_context *ctx, nir_dest **dest, unsigned prior_outmod) in mir_determine_float_outmod()
680 nir_dest *dest = &instr->dest.dest; in mir_is_bcsel_float()
691 nir_dest *dest = &instr->dest.dest; in emit_alu()
1495 nir_dest nir_dest; in emit_sysval_read() local
1500 int sysval = panfrost_sysval_for_instr(instr, &nir_dest); in emit_sysval_read()
1501 unsigned dest = nir_dest_index(&nir_dest); in emit_sysval_read()
2332 nir_dest *dest = &instr->dest; in emit_texop_native()
/third_party/mesa3d/src/broadcom/compiler/
Dv3d_compiler.h618 nir_dest *dest;
1074 void ntq_store_dest(struct v3d_compile *c, nir_dest *dest, int chan,
1077 void ntq_add_pending_tmu_flush(struct v3d_compile *c, nir_dest *dest,

123