Home
last modified time | relevance | path

Searched refs:src_instr (Results 1 – 11 of 11) sorted by relevance

/external/mesa3d/src/compiler/nir/
Dnir_opt_move.c60 nir_instr *src_instr = src->ssa->parent_instr; in move_source() local
62 if (src_instr->block == block && nir_can_move_instr(src_instr, options)) { in move_source()
63 exec_node_remove(&src_instr->node); in move_source()
66 exec_node_insert_node_before(&before->node, &src_instr->node); in move_source()
68 exec_list_push_tail(&block->instr_list, &src_instr->node); in move_source()
Dnir_opt_copy_propagate.c102 nir_instr *src_instr = src->ssa->parent_instr; in copy_prop_src() local
104 if (src_instr->type == nir_instr_type_alu) { in copy_prop_src()
105 nir_alu_instr *alu_instr = nir_instr_as_alu(src_instr); in copy_prop_src()
133 nir_instr *src_instr = src->src.ssa->parent_instr; in copy_prop_alu_src() local
134 if (src_instr->type != nir_instr_type_alu) in copy_prop_alu_src()
137 nir_alu_instr *alu_instr = nir_instr_as_alu(src_instr); in copy_prop_alu_src()
Dnir_lower_phis_to_scalar.c57 nir_instr *src_instr = src->src.ssa->parent_instr; in is_phi_src_scalarizable() local
58 switch (src_instr->type) { in is_phi_src_scalarizable()
60 nir_alu_instr *src_alu = nir_instr_as_alu(src_instr); in is_phi_src_scalarizable()
73 return should_lower_phi(nir_instr_as_phi(src_instr), state); in is_phi_src_scalarizable()
86 nir_intrinsic_instr *src_intrin = nir_instr_as_intrinsic(src_instr); in is_phi_src_scalarizable()
Dnir_opt_gcm.c117 nir_instr *src_instr = src->ssa->parent_instr; in is_src_scalarizable() local
118 switch (src_instr->type) { in is_src_scalarizable()
120 nir_alu_instr *src_alu = nir_instr_as_alu(src_instr); in is_src_scalarizable()
141 nir_intrinsic_instr *src_intrin = nir_instr_as_intrinsic(src_instr); in is_src_scalarizable()
Dnir_opt_if.c435 nir_instr *const src_instr = alu->src[i].src.ssa->parent_instr; in opt_split_alu_of_phi() local
441 if (src_instr->type == nir_instr_type_phi && in opt_split_alu_of_phi()
442 src_instr->block == header_block) { in opt_split_alu_of_phi()
443 nir_phi_instr *const phi = nir_instr_as_phi(src_instr); in opt_split_alu_of_phi()
477 if (!nir_block_dominates(src_instr->block, prev_block)) { in opt_split_alu_of_phi()
920 nir_instr *src_instr = nif->condition.ssa->parent_instr; in opt_if_simplification() local
921 if (src_instr->type != nir_instr_type_alu) in opt_if_simplification()
924 nir_alu_instr *alu_instr = nir_instr_as_alu(src_instr); in opt_if_simplification()
Dnir_opt_constant_folding.c72 nir_instr *src_instr = alu->src[i].src.ssa->parent_instr; in try_fold_alu() local
74 if (src_instr->type != nir_instr_type_load_const) in try_fold_alu()
76 nir_load_const_instr* load_const = nir_instr_as_load_const(src_instr); in try_fold_alu()
Dnir_search.c756 nir_alu_instr *const src_instr = nir_src_as_alu_instr(instr->src[0].src); in nir_replace_instr() local
757 if (src_instr != NULL && in nir_replace_instr()
770 build->cursor = nir_after_instr(&src_instr->instr); in nir_replace_instr()
Dnir_split_vars.c1188 nir_instr *src_instr = store->src[1].ssa->parent_instr; in get_non_self_referential_store_comps() local
1189 if (src_instr->type != nir_instr_type_alu) in get_non_self_referential_store_comps()
1192 nir_alu_instr *src_alu = nir_instr_as_alu(src_instr); in get_non_self_referential_store_comps()
/external/mesa3d/src/intel/compiler/
Dbrw_nir_analyze_boolean_resolves.c47 nir_instr *src_instr = src->ssa->parent_instr; in get_resolve_status_for_src() local
48 uint8_t resolve_status = src_instr->pass_flags & BRW_NIR_BOOLEAN_MASK; in get_resolve_status_for_src()
70 nir_instr *src_instr = src->ssa->parent_instr; in src_mark_needs_resolve() local
71 uint8_t resolve_status = src_instr->pass_flags & BRW_NIR_BOOLEAN_MASK; in src_mark_needs_resolve()
77 src_instr->pass_flags &= ~BRW_NIR_BOOLEAN_MASK; in src_mark_needs_resolve()
78 src_instr->pass_flags |= BRW_NIR_BOOLEAN_NEEDS_RESOLVE; in src_mark_needs_resolve()
/external/mesa3d/src/freedreno/ir3/
Dir3_cp.c62 struct ir3_instruction *src_instr = ssa(src); in is_eligible_mov() local
65 if (!src_instr) in is_eligible_mov()
89 if (src_instr->opc == OPC_META_SPLIT) { in is_eligible_mov()
475 struct ir3_instruction *src_instr = ssa(reg); in eliminate_output_mov() local
476 debug_assert(src_instr); in eliminate_output_mov()
478 return src_instr; in eliminate_output_mov()
/external/kernel-headers/original/uapi/sound/
Dsfnt_info.h187 int src_bank, src_instr, src_key; member