Lines Matching refs:parent_instr

967    src->parent_instr = instr;  in add_use_cb()
995 dest->reg.parent_instr = instr; in add_reg_def_cb()
1415 if (src.ssa->parent_instr->type != nir_instr_type_load_const) in nir_src_as_const_value()
1418 nir_load_const_instr *load = nir_instr_as_load_const(src.ssa->parent_instr); in nir_src_as_const_value()
1435 if (src.ssa->parent_instr->type == nir_instr_type_load_const) in nir_src_is_dynamically_uniform()
1439 if (src.ssa->parent_instr->type == nir_instr_type_intrinsic) { in nir_src_is_dynamically_uniform()
1440 nir_intrinsic_instr *intr = nir_instr_as_intrinsic(src.ssa->parent_instr); in nir_src_is_dynamically_uniform()
1464 src_add_all_uses(nir_src *src, nir_instr *parent_instr, nir_if *parent_if) in src_add_all_uses() argument
1470 if (parent_instr) { in src_add_all_uses()
1471 src->parent_instr = parent_instr; in src_add_all_uses()
1490 assert(!src_is_valid(src) || src->parent_instr == instr); in nir_instr_rewrite_src()
1500 assert(!src_is_valid(dest) || dest->parent_instr == dest_instr); in nir_instr_move_src()
1537 dest->reg.parent_instr = instr; in nir_instr_rewrite_dest()
1564 def->parent_instr = instr; in nir_ssa_def_init()
1596 nir_instr_rewrite_src(use_src->parent_instr, use_src, new_src); in nir_ssa_def_rewrite_uses()
1639 assert(use_src->parent_instr != def->parent_instr); in nir_ssa_def_rewrite_uses_after()
1644 if (!is_instr_between(def->parent_instr, after_me, use_src->parent_instr)) in nir_ssa_def_rewrite_uses_after()
1645 nir_instr_rewrite_src(use_src->parent_instr, use_src, new_src); in nir_ssa_def_rewrite_uses_after()
1657 if (use->parent_instr->type == nir_instr_type_alu) { in nir_ssa_def_components_read()
1658 nir_alu_instr *alu = nir_instr_as_alu(use->parent_instr); in nir_ssa_def_components_read()