/external/mesa3d/src/compiler/nir/ |
D | nir_opt_copy_prop_vars.c | 56 bool is_ssa; member 169 assert(a_arr->indirect.is_ssa && b_arr->indirect.is_ssa); in compare_derefs() 288 if (!iter->src.is_ssa) { in get_entry_and_kill_aliases() 323 (!iter->src.is_ssa && (iter->src.deref->var->data.mode & modes))) in apply_barrier_for_modes() 334 if (value->is_ssa) { in store_to_entry() 335 entry->src.is_ssa = true; in store_to_entry() 345 entry->src.is_ssa = false; in store_to_entry() 382 assert(value->is_ssa); in load_from_ssa_entry_value() 490 assert(deref_arr->indirect.is_ssa); in specialize_wildcards() 610 if (entry->src.is_ssa) { in try_load_from_entry() [all …]
|
D | nir_opt_dce.c | 59 if (src->is_ssa && !src->ssa->parent_instr->pass_flags) { in mark_live_cb() 87 if (!alu_instr->dest.dest.is_ssa) in init_instr() 96 !intrin_instr->dest.is_ssa) { in init_instr() 106 if (!tex_instr->dest.is_ssa) in init_instr() 123 if (following_if->condition.is_ssa && in init_block()
|
D | nir_opt_undef.c | 44 assert(instr->dest.dest.is_ssa); in opt_undef_csel() 47 if (!instr->src[i].src.is_ssa) in opt_undef_csel() 87 assert(alu->dest.dest.is_ssa); in opt_undef_vecN() 90 if (!alu->src[i].src.is_ssa || in opt_undef_vecN() 121 if (!intrin->src[0].is_ssa || in opt_undef_store()
|
D | nir_lower_to_source_mods.c | 48 if (!alu->src[i].src.is_ssa) in nir_lower_to_source_mods_block() 76 if (!parent->src[0].src.is_ssa) in nir_lower_to_source_mods_block() 131 if (!alu->dest.dest.is_ssa) in nir_lower_to_source_mods_block() 144 assert(child_src->is_ssa); in nir_lower_to_source_mods_block() 171 assert(child_src->is_ssa); in nir_lower_to_source_mods_block()
|
D | nir_lower_atomics.c | 134 mul->src[1].src.is_ssa = true; in lower_instr() 141 add->src[0].src.is_ssa = true; in lower_instr() 143 add->src[1].src.is_ssa = true; in lower_instr() 151 new_instr->src[0].is_ssa = true; in lower_instr() 160 if (instr->dest.is_ssa) { in lower_instr()
|
D | nir_instr_set.c | 32 assert(src->is_ssa); in hash_src() 207 if (src1.is_ssa) { in nir_srcs_equal() 208 if (src2.is_ssa) { in nir_srcs_equal() 214 if (src2.is_ssa) { in nir_srcs_equal() 406 return src->is_ssa; in src_is_ssa() 413 return dest->is_ssa; in dest_is_ssa() 469 assert(nir_instr_as_alu(instr)->dest.dest.is_ssa); in nir_instr_get_dest_ssa_def() 474 assert(nir_instr_as_phi(instr)->dest.is_ssa); in nir_instr_get_dest_ssa_def() 477 assert(nir_instr_as_intrinsic(instr)->dest.is_ssa); in nir_instr_get_dest_ssa_def() 480 assert(nir_instr_as_tex(instr)->dest.is_ssa); in nir_instr_get_dest_ssa_def()
|
D | nir_from_ssa.c | 334 assert(phi->dest.is_ssa); in isolate_phi_nodes_block() 347 assert(src->src.is_ssa); in isolate_phi_nodes_block() 381 assert(phi->dest.is_ssa); in coalesce_phi_nodes_block() 385 assert(src->src.is_ssa); in coalesce_phi_nodes_block() 400 if (!entry->src.is_ssa) in aggressive_coalesce_parallel_copy() 545 assert(!dest_src.is_ssa && in emit_copy() 549 if (src.is_ssa) in emit_copy() 591 if (!entry->src.is_ssa && entry->src.reg.reg == entry->dest.reg.reg) in resolve_parallel_copy() 626 if (!entry->src.is_ssa && entry->src.reg.reg == entry->dest.reg.reg) in resolve_parallel_copy() 710 if (values[b].is_ssa) in resolve_parallel_copy() [all …]
|
D | nir_lower_vec_to_movs.c | 38 if (dest->is_ssa || src->is_ssa) in src_matches_dest_reg() 126 if (!vec->src[start_idx].src.is_ssa) in try_coalesce() 185 if (!vec->src[i].src.is_ssa || in try_coalesce() 233 bool vec_had_ssa_dest = vec->dest.dest.is_ssa; in lower_vec_to_movs_block() 234 if (vec->dest.dest.is_ssa) { in lower_vec_to_movs_block()
|
D | nir_opt_copy_propagate.c | 49 if (!instr->src[0].src.is_ssa) in is_move() 59 if (!instr->src[i].src.is_ssa) in is_vec() 105 if (!src->is_ssa) { in copy_prop_src() 138 if (!src->src.is_ssa) { in copy_prop_alu_src() 191 if (!dest->is_ssa && dest->reg.indirect) in copy_prop_dest() 285 assert(phi->dest.is_ssa); in copy_prop_instr()
|
D | nir_lower_locals_to_regs.c | 130 src.is_ssa = false; in get_deref_reg_src() 164 mul->src[1].src.is_ssa = true; in get_deref_reg_src() 170 src.reg.indirect->is_ssa = true; in get_deref_reg_src() 188 src.reg.indirect->is_ssa = true; in get_deref_reg_src() 216 if (intrin->dest.is_ssa) { in lower_locals_to_regs_block() 242 mov->dest.dest.is_ssa = false; in lower_locals_to_regs_block()
|
D | nir.c | 214 dest->is_ssa = src->is_ssa; in nir_src_copy() 215 if (src->is_ssa) { in nir_src_copy() 232 assert(!src->is_ssa); in nir_dest_copy() 234 dest->is_ssa = false; in nir_dest_copy() 371 src->is_ssa = false; in src_init() 427 dest->is_ssa = false; in dest_init() 969 src->is_ssa ? &src->ssa->uses : &src->reg.reg->uses); in add_use_cb() 994 if (!dest->is_ssa) { in add_reg_def_cb() 1061 return src->is_ssa ? (src->ssa != NULL) : (src->reg.reg != NULL); in src_is_valid() 1080 if (!dest->is_ssa) in remove_def_cb() [all …]
|
D | nir_move_vec_src_uses_to_dest.c | 85 if (!vec->dest.dest.is_ssa) in move_vec_src_uses_to_dest_block() 98 if (!vec->src[i].src.is_ssa) in move_vec_src_uses_to_dest_block() 138 assert(use->is_ssa); in move_vec_src_uses_to_dest_block()
|
D | nir_lower_regs_to_ssa.c | 44 if (src->is_ssa) in rewrite_src() 70 if (nif->condition.is_ssa) in rewrite_if_condition() 88 if (dest->is_ssa) in rewrite_dest() 111 if (alu->dest.dest.is_ssa) in rewrite_alu_instr()
|
D | nir_opt_constant_folding.c | 46 if (!instr->dest.dest.is_ssa) in constant_fold_alu_instr() 63 if (!instr->src[i].src.is_ssa) in constant_fold_alu_instr() 129 arr->indirect.is_ssa && in constant_fold_deref()
|
D | nir_liveness.c | 90 if (!src->is_ssa) in set_src_live() 132 assert(phi->dest.is_ssa); in propagate_across_edge() 235 return !src->is_ssa || src->ssa != (nir_ssa_def *)def; in src_does_not_use_def()
|
D | nir_opt_remove_phis.c | 82 assert(src->src.is_ssa); in remove_phis_block() 132 assert(phi->dest.is_ssa); in remove_phis_block()
|
D | nir_propagate_invariant.c | 29 if (src->is_ssa) { in add_src() 46 if (dest->is_ssa) { in dest_is_invariant()
|
D | nir_clone.c | 229 nsrc->is_ssa = src->is_ssa; in __clone_src() 230 if (src->is_ssa) { in __clone_src() 246 ndst->is_ssa = dst->is_ssa; in __clone_dst() 247 if (dst->is_ssa) { in __clone_dst() 626 if (src->src.is_ssa) { in fixup_phi_srcs()
|
D | nir_search.c | 55 if (!src.is_ssa) in src_is_type() 108 if (!instr->src[src].src.is_ssa) in match_value() 183 if (!instr->src[src].src.is_ssa) in match_value() 256 assert(instr->dest.dest.is_ssa); in match_expression() 579 assert(instr->dest.dest.is_ssa); in nir_replace_instr()
|
D | nir_opt_if.c | 110 assert(nif->condition.is_ssa); in opt_peel_loop_initial_if() 125 assert(src->src.is_ssa); in opt_peel_loop_initial_if()
|
D | nir_sweep.c | 46 if (!src->is_ssa && src->reg.indirect) in sweep_src_indirect() 55 if (!dest->is_ssa && dest->reg.indirect) in sweep_dest_indirect()
|
D | nir_lower_tex.c | 144 assert(tex->src[offset_index].src.is_ssa); in lower_offset() 145 assert(tex->src[coord_index].src.is_ssa); in lower_offset() 214 assert(tex->dest.is_ssa); in sample_plane() 383 assert(tex->dest.is_ssa); in lower_gradient_cube_map() 531 assert(tex->dest.is_ssa); in lower_gradient() 651 assert(tex->dest.is_ssa); in swizzle_result() 691 assert(tex->dest.is_ssa); in linearize_srgb_result()
|
/external/mesa3d/src/intel/compiler/ |
D | brw_nir_opt_peephole_ffma.c | 57 assert(use_alu->dest.dest.is_ssa); in are_all_uses_fadd() 75 assert(src->src.is_ssa && !src->abs && !src->negate); in get_mul_for_src() 177 assert(add->dest.dest.is_ssa); in brw_nir_opt_peephole_ffma_block() 181 assert(add->src[0].src.is_ssa && add->src[1].src.is_ssa); in brw_nir_opt_peephole_ffma_block() 248 assert(add->dest.dest.is_ssa); in brw_nir_opt_peephole_ffma_block()
|
D | brw_nir_analyze_boolean_resolves.c | 46 if (src->is_ssa) { in get_resolve_status_for_src() 69 if (src->is_ssa) { in src_mark_needs_resolve() 189 if (!alu->dest.dest.is_ssa && in analyze_boolean_resolves_block()
|
/external/mesa3d/src/gallium/drivers/freedreno/ir3/ |
D | ir3_nir_lower_if_else.c | 65 if (!dest->is_ssa) in valid_dest() 103 if (!intr->src[0].is_ssa) in block_check_for_allowed_instrs() 180 assert(intr->src[0].is_ssa); in flatten_block() 241 if (!if_stmt->condition.is_ssa) in lower_if_else_block() 275 assert(src->src.is_ssa); in lower_if_else_block()
|