Home
last modified time | relevance | path

Searched refs:nir_phi_instr (Results 1 – 25 of 34) sorted by relevance

12

/external/mesa3d/src/compiler/nir/tests/
Dlower_returns_tests.cpp54 nir_phi_instr *create_one_source_phi(nir_shader *shader, nir_block *pred, in create_one_source_phi()
57 nir_phi_instr *phi = nir_phi_instr_create(shader); in create_one_source_phi()
120 nir_phi_instr *const phi_1 = in TEST_F()
124 nir_phi_instr *const phi_2 = in TEST_F()
200 nir_phi_instr *const phi_1 = in TEST_F()
204 nir_phi_instr *const phi_2 = in TEST_F()
Dopt_if_tests.cpp124 nir_phi_instr *const phi = nir_phi_instr_create(bld.shader); in TEST_F()
/external/mesa3d/src/compiler/nir/
Dnir_lower_phis_to_scalar.c47 should_lower_phi(nir_phi_instr *phi, struct lower_phis_to_scalar_state *state);
143 should_lower_phi(nir_phi_instr *phi, struct lower_phis_to_scalar_state *state) in should_lower_phi()
189 nir_phi_instr *last_phi = NULL; in lower_phis_to_scalar_block()
204 nir_phi_instr *phi = nir_instr_as_phi(instr); in lower_phis_to_scalar_block()
224 nir_phi_instr *new_phi = nir_phi_instr_create(state->mem_ctx); in lower_phis_to_scalar_block()
Dnir_phi_builder.c234 nir_phi_instr *phi = nir_phi_instr_create(val->builder->shader); in nir_phi_builder_value_get_block_def()
293 nir_phi_instr *phi = exec_node_data(nir_phi_instr, head, instr.node); in nir_phi_builder_finish()
Dnir_opt_if.c59 phi_has_constant_from_outside_and_one_from_inside_loop(nir_phi_instr *phi, in phi_has_constant_from_outside_and_one_from_inside_loop()
166 nir_phi_instr *cond_phi = nir_instr_as_phi(cond->parent_instr); in opt_peel_loop_initial_if()
443 nir_phi_instr *const phi = nir_instr_as_phi(src_instr); in opt_split_alu_of_phi()
521 nir_phi_instr *const phi = nir_phi_instr_create(b->shader); in opt_split_alu_of_phi()
562 ssa_for_phi_from_block(nir_phi_instr *phi, nir_block *block) in ssa_for_phi_from_block()
677 nir_phi_instr *const cond_phi = in opt_simplify_bcsel_of_phi()
702 nir_phi_instr *const phi = nir_phi_instr_create(b->shader); in opt_simplify_bcsel_of_phi()
884 nir_phi_instr *phi = nir_instr_as_phi(instr); in rewrite_phi_predecessor_blocks()
Dnir_lower_bit_size.c245 split_phi(nir_builder *b, nir_phi_instr *phi) in split_phi()
247 nir_phi_instr *lowered[2] = { in split_phi()
300 nir_phi_instr *phi = nir_instr_as_phi(instr); in lower_64bit_phi_impl()
Dnir_divergence_analysis.c669 visit_if_merge_phi(nir_phi_instr *phi, bool if_cond_divergent) in visit_if_merge_phi()
702 visit_loop_header_phi(nir_phi_instr *phi, nir_block *preheader, bool divergent_continue) in visit_loop_header_phi()
743 visit_loop_exit_phi(nir_phi_instr *phi, bool divergent_break) in visit_loop_exit_phi()
815 nir_phi_instr *phi = nir_instr_as_phi(instr); in visit_loop()
Dnir_liveness.c119 nir_phi_instr *phi = nir_instr_as_phi(instr); in propagate_across_edge()
128 nir_phi_instr *phi = nir_instr_as_phi(instr); in propagate_across_edge()
Dnir_opt_conditional_discard.c69 nir_phi_instr *phi = nir_instr_as_phi(instr); in nir_opt_conditional_discard_block()
Dnir_to_lcssa.c129 phi_is_invariant(nir_phi_instr *instr, nir_loop *loop) in phi_is_invariant()
229 nir_phi_instr *phi = nir_phi_instr_create(state->shader); in convert_loop_exit_for_ssa()
Dnir_opt_remove_phis.c75 nir_phi_instr *phi = nir_instr_as_phi(instr); in remove_phis_block()
Dnir_propagate_invariant.c139 nir_phi_instr *phi = nir_instr_as_phi(instr); in propagate_invariant_instr()
Dnir_control_flow.c219 nir_phi_instr *phi = nir_instr_as_phi(instr); in rewrite_phi_preds()
237 nir_phi_instr *phi = nir_instr_as_phi(instr); in nir_insert_phi_undef()
445 nir_phi_instr *phi = nir_instr_as_phi(instr); in remove_phi_src()
Dnir_opt_sink.c150 nir_phi_instr *phi = nir_instr_as_phi(instr); in get_preferred_block()
Dnir_from_ssa.c349 nir_phi_instr *phi = nir_instr_as_phi(instr); in isolate_phi_nodes_block()
395 nir_phi_instr *phi = nir_instr_as_phi(instr); in coalesce_phi_nodes_block()
912 nir_phi_instr *phi = nir_instr_as_phi(instr); in nir_lower_phis_to_regs_block()
Dnir_instr_set.c218 hash_phi(uint32_t hash, const nir_phi_instr *instr) in hash_phi()
700 nir_phi_instr *phi1 = nir_instr_as_phi(instr1); in nir_instrs_equal()
701 nir_phi_instr *phi2 = nir_instr_as_phi(instr2); in nir_instrs_equal()
Dnir_opt_peephole_select.c262 nir_phi_instr *phi = nir_instr_as_phi(instr); in nir_opt_peephole_select_block()
Dnir_clone.c428 static nir_phi_instr *
429 clone_phi(clone_state *state, const nir_phi_instr *phi, nir_block *nblk) in clone_phi()
431 nir_phi_instr *nphi = nir_phi_instr_create(state->ns); in clone_phi()
Dnir_gather_ssa_types.c219 nir_phi_instr *phi = nir_instr_as_phi(instr); in nir_gather_ssa_types()
Dnir_opt_dead_cf.c97 nir_phi_instr *phi = nir_instr_as_phi(instr); in opt_constant_if()
Dnir_opt_copy_propagate.c244 nir_phi_instr *phi = nir_instr_as_phi(instr); in copy_prop_instr()
Dnir.c690 nir_phi_instr *
693 nir_phi_instr *instr = ralloc(shader, nir_phi_instr); in nir_phi_instr_create()
1047 visit_phi_dest(nir_phi_instr *instr, nir_foreach_dest_cb cb, void *state) in visit_phi_dest()
1259 visit_phi_src(nir_phi_instr *instr, nir_foreach_src_cb cb, void *state) in visit_phi_src()
1371 nir_phi_instr *phi = nir_instr_as_phi(instr); in nir_foreach_phi_src_leaving_block()
Dnir_loop_analyze.c272 phi_instr_as_alu(nir_phi_instr *phi) in phi_instr_as_alu()
326 nir_phi_instr *phi = nir_instr_as_phi(var->def->parent_instr); in compute_induction_information()
343 nir_phi_instr *src_phi = in compute_induction_information()
Dnir_lower_bool_to_bitsize.c359 lower_phi_instr(nir_builder *b, nir_phi_instr *phi) in lower_phi_instr()
Dnir_opt_gcm.c408 nir_phi_instr *phi = nir_instr_as_phi(use_instr); in gcm_schedule_late_def()

12