Searched refs:src_instr (Results 1 – 11 of 11) sorted by relevance
60 nir_instr *src_instr = src->ssa->parent_instr; in move_source() local62 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()
102 nir_instr *src_instr = src->ssa->parent_instr; in copy_prop_src() local104 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() local134 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()
57 nir_instr *src_instr = src->src.ssa->parent_instr; in is_phi_src_scalarizable() local58 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()
117 nir_instr *src_instr = src->ssa->parent_instr; in is_src_scalarizable() local118 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()
435 nir_instr *const src_instr = alu->src[i].src.ssa->parent_instr; in opt_split_alu_of_phi() local441 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() local921 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()
72 nir_instr *src_instr = alu->src[i].src.ssa->parent_instr; in try_fold_alu() local74 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()
756 nir_alu_instr *const src_instr = nir_src_as_alu_instr(instr->src[0].src); in nir_replace_instr() local757 if (src_instr != NULL && in nir_replace_instr()770 build->cursor = nir_after_instr(&src_instr->instr); in nir_replace_instr()
1188 nir_instr *src_instr = store->src[1].ssa->parent_instr; in get_non_self_referential_store_comps() local1189 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()
47 nir_instr *src_instr = src->ssa->parent_instr; in get_resolve_status_for_src() local48 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() local71 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()
62 struct ir3_instruction *src_instr = ssa(src); in is_eligible_mov() local65 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() local476 debug_assert(src_instr); in eliminate_output_mov()478 return src_instr; in eliminate_output_mov()
187 int src_bank, src_instr, src_key; member