/external/mesa3d/src/compiler/nir/ |
D | nir_search_helpers.h | 39 is_pos_power_of_two(nir_alu_instr *instr, unsigned src, unsigned num_components, in is_pos_power_of_two() 69 is_neg_power_of_two(nir_alu_instr *instr, unsigned src, unsigned num_components, in is_neg_power_of_two() 95 is_zero_to_one(nir_alu_instr *instr, unsigned src, unsigned num_components, in is_zero_to_one() 118 is_not_const(nir_alu_instr *instr, unsigned src, UNUSED unsigned num_components, in is_not_const() 130 is_used_more_than_once(nir_alu_instr *instr) in is_used_more_than_once() 146 is_used_once(nir_alu_instr *instr) in is_used_once() 168 is_not_used_by_if(nir_alu_instr *instr) in is_not_used_by_if() 174 is_not_used_by_conditional(nir_alu_instr *instr) in is_not_used_by_conditional()
|
D | nir_opt_remove_phis.c | 31 static nir_alu_instr * 37 nir_alu_instr *alu = nir_instr_as_alu(ssa->parent_instr); in get_parent_mov() 42 matching_mov(nir_alu_instr *mov1, nir_ssa_def *ssa) in matching_mov() 47 nir_alu_instr *mov2 = get_parent_mov(ssa); in matching_mov() 78 nir_alu_instr *mov = NULL; in remove_phis_block()
|
D | nir_search.h | 79 bool (*cond)(nir_alu_instr *instr, unsigned src, 113 bool (*cond)(nir_alu_instr *instr); 126 nir_alu_instr * 127 nir_replace_instr(nir_alu_instr *instr, const nir_search_expression *search,
|
D | nir_opt_copy_propagate.c | 35 static bool is_move(nir_alu_instr *instr) in is_move() 56 static bool is_vec(nir_alu_instr *instr) in is_vec() 73 is_swizzleless_move(nir_alu_instr *instr) in is_swizzleless_move() 115 nir_alu_instr *alu_instr = nir_instr_as_alu(src_instr); in copy_prop_src() 135 copy_prop_alu_src(nir_alu_instr *parent_alu_instr, unsigned index) in copy_prop_alu_src() 149 nir_alu_instr *alu_instr = nir_instr_as_alu(src_instr); in copy_prop_alu_src() 225 nir_alu_instr *alu_instr = nir_instr_as_alu(instr); in copy_prop_instr()
|
D | nir_lower_vec_to_movs.c | 56 insert_mov(nir_alu_instr *vec, unsigned start_idx, nir_shader *shader) in insert_mov() 60 nir_alu_instr *mov = nir_alu_instr_create(shader, nir_op_imov); in insert_mov() 107 has_replicated_dest(nir_alu_instr *alu) in has_replicated_dest() 121 try_coalesce(nir_alu_instr *vec, unsigned start_idx) in try_coalesce() 149 nir_alu_instr *src_alu = in try_coalesce() 222 nir_alu_instr *vec = nir_instr_as_alu(instr); in lower_vec_to_movs_block()
|
D | nir_lower_to_source_mods.c | 45 nir_alu_instr *alu = nir_instr_as_alu(instr); in nir_lower_to_source_mods_block() 54 nir_alu_instr *parent = nir_instr_as_alu(alu->src[i].src.ssa->parent_instr); in nir_lower_to_source_mods_block() 151 nir_alu_instr *child_alu = nir_instr_as_alu(child); in nir_lower_to_source_mods_block() 172 nir_alu_instr *child_alu = nir_instr_as_alu(child_src->parent_instr); in nir_lower_to_source_mods_block()
|
D | nir_search.c | 39 match_expression(const nir_search_expression *expr, nir_alu_instr *instr, 63 nir_alu_instr *src_alu = nir_instr_as_alu(src.ssa->parent_instr); in src_is_type() 95 match_value(const nir_search_value *value, nir_alu_instr *instr, unsigned src, in match_value() 246 match_expression(const nir_search_expression *expr, nir_alu_instr *instr, in match_expression() 451 nir_alu_instr *alu = nir_alu_instr_create(mem_ctx, expr->opcode); in construct_value() 570 nir_alu_instr * 571 nir_replace_instr(nir_alu_instr *instr, const nir_search_expression *search, in nir_replace_instr() 599 nir_alu_instr *mov = nir_alu_instr_create(mem_ctx, nir_op_imov); in nir_replace_instr()
|
D | nir_opt_undef.c | 39 opt_undef_csel(nir_alu_instr *instr) in opt_undef_csel() 78 opt_undef_vecN(nir_builder *b, nir_alu_instr *alu) in opt_undef_vecN() 142 nir_alu_instr *alu = nir_instr_as_alu(instr); in nir_opt_undef()
|
D | nir_lower_alu_to_scalar.c | 34 nir_alu_ssa_dest_init(nir_alu_instr *instr, unsigned num_components, in nir_alu_ssa_dest_init() 43 lower_reduction(nir_alu_instr *instr, nir_op chan_op, nir_op merge_op, in lower_reduction() 50 nir_alu_instr *chan = nir_alu_instr_create(builder->shader, chan_op); in lower_reduction() 77 lower_alu_instr_scalar(nir_alu_instr *instr, nir_builder *b) in lower_alu_instr_scalar() 216 nir_alu_instr *lower = nir_alu_instr_create(b->shader, instr->op); in lower_alu_instr_scalar()
|
D | nir_lower_64bit_packing.c | 63 nir_alu_instr *alu_instr = (nir_alu_instr *) instr; in lower_64bit_pack_impl()
|
D | nir_lower_locals_to_regs.c | 162 nir_alu_instr *mul = nir_alu_instr_create(state->shader, nir_op_imul); in get_deref_reg_src() 180 nir_alu_instr *add = nir_alu_instr_create(state->shader, in get_deref_reg_src() 212 nir_alu_instr *mov = nir_alu_instr_create(state->shader, nir_op_imov); in lower_locals_to_regs_block() 239 nir_alu_instr *mov = nir_alu_instr_create(state->shader, nir_op_imov); in lower_locals_to_regs_block()
|
D | nir_lower_phis_to_scalar.c | 60 nir_alu_instr *src_alu = nir_instr_as_alu(src_instr); in is_phi_src_scalarizable() 206 nir_alu_instr *vec = nir_alu_instr_create(state->mem_ctx, vec_op); in lower_phis_to_scalar_block() 221 nir_alu_instr *mov = nir_alu_instr_create(state->mem_ctx, in lower_phis_to_scalar_block()
|
D | nir_instr_set.c | 51 hash_alu(uint32_t hash, const nir_alu_instr *instr) in hash_alu() 232 nir_alu_srcs_equal(const nir_alu_instr *alu1, const nir_alu_instr *alu2, in nir_alu_srcs_equal() 261 nir_alu_instr *alu1 = nir_instr_as_alu(instr1); in nir_instrs_equal() 262 nir_alu_instr *alu2 = nir_instr_as_alu(instr2); in nir_instrs_equal()
|
D | nir_move_vec_src_uses_to_dest.c | 73 nir_alu_instr *vec = nir_instr_as_alu(instr); in move_vec_src_uses_to_dest_block() 140 nir_alu_instr *use_alu = nir_instr_as_alu(use->parent_instr); in move_vec_src_uses_to_dest_block()
|
D | nir_opt_peephole_select.c | 96 nir_alu_instr *mov = nir_instr_as_alu(instr); in block_check_for_allowed_instrs() 207 nir_alu_instr *sel = nir_alu_instr_create(shader, nir_op_bcsel); in nir_opt_peephole_select_block()
|
D | nir_loop_analyze.c | 166 nir_alu_instr *alu = nir_instr_as_alu(def->parent_instr); in mark_invariant() 243 nir_alu_instr *alu = nir_instr_as_alu(src_var->def->parent_instr); in compute_induction_information() 451 nir_alu_instr *cond_alu, bool limit_rhs, bool invert_cond) in calculate_iterations() 455 nir_alu_instr *alu = nir_instr_as_alu(alu_def->def->parent_instr); in calculate_iterations() 551 nir_alu_instr *alu = nir_instr_as_alu(terminator->conditional_instr); in find_trip_count()
|
D | nir_lower_atomics.c | 130 nir_alu_instr *mul = nir_alu_instr_create(mem_ctx, nir_op_imul); in lower_instr() 138 nir_alu_instr *add = nir_alu_instr_create(mem_ctx, nir_op_iadd); in lower_instr()
|
D | nir.h | 820 typedef struct nir_alu_instr { struct 836 } nir_alu_instr; argument 839 nir_alu_instr *instr); 841 nir_alu_instr *instr); 845 nir_alu_instr_channel_used(const nir_alu_instr *instr, unsigned src, in nir_alu_instr_channel_used() 859 nir_ssa_alu_instr_src_components(const nir_alu_instr *instr, unsigned src) in nir_ssa_alu_instr_src_components() 869 bool nir_alu_srcs_equal(const nir_alu_instr *alu1, const nir_alu_instr *alu2, 1494 NIR_DEFINE_CAST(nir_instr_as_alu, nir_instr, nir_alu_instr, instr, 2008 nir_alu_instr *nir_alu_instr_create(nir_shader *shader, nir_op op);
|
D | nir_lower_regs_to_ssa.c | 107 rewrite_alu_instr(nir_alu_instr *alu, struct regs_to_ssa_state *state) in rewrite_alu_instr() 189 nir_alu_instr *vec = nir_alu_instr_create(state->shader, vecN_op); in rewrite_alu_instr()
|
D | nir_builder.h | 297 nir_alu_instr *instr = nir_alu_instr_create(build->shader, op); in nir_build_alu() 391 nir_alu_instr *mov = nir_alu_instr_create(build->shader, nir_op_fmov); in nir_fmov_alu() 405 nir_alu_instr *mov = nir_alu_instr_create(build->shader, nir_op_imov); in nir_imov_alu() 514 nir_ssa_for_alu_src(nir_builder *build, nir_alu_instr *instr, unsigned srcn) in nir_ssa_for_alu_src()
|
D | nir_lower_wpos_ytransform.c | 237 lower_fddy(lower_wpos_ytransform_state *state, nir_alu_instr *fddy) in lower_fddy() 325 nir_alu_instr *alu = nir_instr_as_alu(instr); in lower_wpos_ytransform_block()
|
D | nir_opt_move_comparisons.c | 152 nir_alu_instr *alu = nir_instr_as_alu(instr); in move_comparisons()
|
/external/mesa3d/src/intel/compiler/ |
D | brw_nir_opt_peephole_ffma.c | 48 nir_alu_instr *use_alu = nir_instr_as_alu(use_instr); in are_all_uses_fadd() 70 static nir_alu_instr * 81 nir_alu_instr *alu = nir_instr_as_alu(instr); in get_mul_for_src() 173 nir_alu_instr *add = nir_instr_as_alu(instr); in brw_nir_opt_peephole_ffma_block() 191 nir_alu_instr *mul; in brw_nir_opt_peephole_ffma_block() 237 nir_alu_instr *ffma = nir_alu_instr_create(b->shader, nir_op_ffma); in brw_nir_opt_peephole_ffma_block()
|
D | brw_fs.h | 209 void nir_emit_alu(const brw::fs_builder &bld, nir_alu_instr *instr); 242 bool optimize_extract_to_float(nir_alu_instr *instr, 244 bool optimize_frontfacing_ternary(nir_alu_instr *instr,
|
/external/mesa3d/src/gallium/drivers/freedreno/ir3/ |
D | ir3_nir_lower_if_else.c | 139 nir_alu_instr *alu = nir_instr_as_alu(instr); in block_check_for_allowed_instrs() 267 nir_alu_instr *sel = nir_alu_instr_create(mem_ctx, nir_op_bcsel); in lower_if_else_block()
|