Home
last modified time | relevance | path

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

123

/external/mesa3d/src/compiler/nir/
Dnir_opt_phi_precision.c202 try_move_narrowing_dst(nir_builder *b, nir_phi_instr *phi) in try_move_narrowing_dst()
232 nir_phi_instr *new_phi = nir_phi_instr_create(b->shader); in try_move_narrowing_dst()
304 find_widening_op(nir_phi_instr *phi, unsigned *bit_size) in find_widening_op()
363 try_move_widening_src(nir_builder *b, nir_phi_instr *phi) in try_move_widening_src()
376 nir_phi_instr *new_phi = nir_phi_instr_create(b->shader); in try_move_widening_src()
430 lower_phi(nir_builder *b, nir_phi_instr *phi) in lower_phi()
Dnir_lower_phis_to_scalar.c46 should_lower_phi(nir_phi_instr *phi, struct lower_phis_to_scalar_state *state);
140 should_lower_phi(nir_phi_instr *phi, struct lower_phis_to_scalar_state *state) in should_lower_phi()
187 nir_phi_instr *last_phi = nir_block_last_phi_instr(block); in lower_phis_to_scalar_block()
209 nir_phi_instr *new_phi = nir_phi_instr_create(state->shader); in lower_phis_to_scalar_block()
Dnir_lower_bit_size.c226 lower_phi_instr(nir_builder *b, nir_phi_instr *phi, unsigned bit_size, in lower_phi_instr()
227 nir_phi_instr *last_phi) in lower_phi_instr()
258 nir_phi_instr *last_phi = nir_block_last_phi_instr(block); in lower_impl()
311 split_phi(nir_builder *b, nir_phi_instr *phi) in split_phi()
313 nir_phi_instr *lowered[2] = { in split_phi()
350 nir_phi_instr *phi = nir_instr_as_phi(instr); in lower_64bit_phi_instr()
Dnir_opt_vectorize.c66 hash_phi_src(uint32_t hash, const nir_phi_instr *phi, const nir_phi_src *src, in hash_phi_src()
98 nir_phi_instr *phi = nir_instr_as_phi(instr); in hash_instr()
204 nir_phi_instr *phi1 = nir_instr_as_phi(instr1); in instrs_equal()
205 nir_phi_instr *phi2 = nir_instr_as_phi(instr2); in instrs_equal()
278 nir_phi_instr *phi = nir_instr_as_phi(instr); in instr_can_rewrite()
351 instr_try_combine_phi(struct set *instr_set, nir_phi_instr *phi1, nir_phi_instr *phi2) in instr_try_combine_phi()
366 nir_phi_instr *new_phi = nir_phi_instr_create(b.shader); in instr_try_combine_phi()
Dnir_phi_builder.c237 nir_phi_instr *phi = nir_phi_instr_create(val->builder->shader); in nir_phi_builder_value_get_block_def()
284 nir_phi_instr *phi = exec_node_data(nir_phi_instr, head, instr.node); in nir_phi_builder_finish()
Dnir_split_64bit_vec3_and_vec4.c71 nir_phi_instr *phi = nir_instr_as_phi(instr); in nir_split_64bit_vec3_and_vec4_filter()
223 split_phi(nir_builder *b, nir_phi_instr *phi) in split_phi()
233 nir_phi_instr *new_phi[2]; in split_phi()
302 nir_phi_instr *phi = nir_instr_as_phi(instr); in nir_split_64bit_vec3_and_vec4_impl()
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()
165 nir_phi_instr *cond_phi = nir_instr_as_phi(cond->parent_instr); in opt_peel_loop_initial_if()
431 nir_phi_instr *const phi = nir_instr_as_phi(src_instr); in opt_split_alu_of_phi()
506 nir_phi_instr *const phi = nir_phi_instr_create(b->shader); in opt_split_alu_of_phi()
638 nir_phi_instr *const cond_phi = in opt_simplify_bcsel_of_phi()
663 nir_phi_instr *const phi = nir_phi_instr_create(b->shader); in opt_simplify_bcsel_of_phi()
1129 opt_phi_src_unused(nir_builder *b, nir_phi_instr *phi, in opt_phi_src_unused()
1192 rewrite_phi_uses(nir_phi_instr *phi, nir_if *prev_if, nir_if *next_if) in rewrite_phi_uses()
Dnir_lower_helper_writes.c93 nir_phi_instr *phi_as_phi = nir_instr_as_phi(phi_instr); in lower()
Dnir_to_lcssa.c130 phi_is_invariant(nir_phi_instr *instr, nir_loop *loop) in phi_is_invariant()
232 nir_phi_instr *phi = nir_phi_instr_create(state->shader); in convert_loop_exit_for_ssa()
Dnir_opt_peephole_select.c349 nir_phi_instr *phi = nir_instr_as_phi(instr); in nir_opt_collapse_if()
381 nir_phi_instr *phi = nir_instr_as_phi(instr); in nir_opt_collapse_if()
Dnir_lower_atomics.c58 nir_phi_instr *phi = nir_phi_instr_create(b->shader); in build_atomic()
Dnir_propagate_invariant.c133 nir_phi_instr *phi = nir_instr_as_phi(instr); in propagate_invariant_instr()
Dnir_inline_helpers.h117 nir_phi_instr *phi = nir_instr_as_phi(instr); in nir_foreach_src()
Dnir.h2683 } nir_phi_instr; typedef
2686 nir_phi_get_src_from_block(nir_phi_instr *phi, struct nir_block *block) in nir_phi_get_src_from_block()
2773 NIR_DEFINE_CAST(nir_instr_as_phi, nir_instr, nir_phi_instr, instr,
3103 static inline nir_phi_instr *
3116 static inline nir_phi_instr *
3117 nir_next_phi(nir_phi_instr *phi) in nir_next_phi()
3128 for (nir_phi_instr *instr = nir_first_phi_in_block(block); instr != NULL; \
3132 for (nir_phi_instr *instr = nir_first_phi_in_block(block), \
3137 static inline nir_phi_instr *
3140 nir_phi_instr *last_phi = NULL; in nir_block_last_phi_instr()
[all …]
Dnir_gather_types.c181 nir_phi_instr *phi = nir_instr_as_phi(instr); in nir_gather_types()
Dnir_instr_set.c221 hash_phi(uint32_t hash, const nir_phi_instr *instr) in hash_phi()
685 nir_phi_instr *phi1 = nir_instr_as_phi(instr1); in nir_instrs_equal()
686 nir_phi_instr *phi2 = nir_instr_as_phi(instr2); in nir_instrs_equal()
Dnir_opt_loop.c322 nir_phi_instr *phi = nir_instr_as_phi(scalar.def->parent_instr); in can_constant_fold()
461 nir_phi_instr *phi_instr = NULL; in insert_phis_after_terminator_merge()
Dnir_opt_dce.c80 nir_phi_instr *phi = nir_instr_as_phi(instr); in is_live()
/external/mesa3d/src/compiler/nir/tests/
Ddce_tests.cpp42 nir_phi_instr *create_one_source_phi(nir_shader *shader, nir_block *pred, in create_one_source_phi()
45 nir_phi_instr *phi = nir_phi_instr_create(shader); in create_one_source_phi()
88 nir_phi_instr *phi = create_one_source_phi(b->shader, one->parent_instr->block, one); in TEST_F()
Dopt_if_tests.cpp112 nir_phi_instr *const phi = nir_phi_instr_create(b->shader); in TEST_F()
134 nir_phi_instr *phi = nir_phi_instr_create(b->shader); in TEST_F()
293 nir_phi_instr *phi = nir_phi_instr_create(b->shader); in TEST_P()
Dopt_shrink_vectors_tests.cpp278 nir_phi_instr *const phi = nir_phi_instr_create(b->shader); in TEST_F()
382 nir_phi_instr *const phi = nir_phi_instr_create(b->shader); in TEST_F()
487 nir_phi_instr *const phi = nir_phi_instr_create(b->shader); in TEST_F()
Dloop_unroll_tests.cpp136 nir_phi_instr *phi = nir_phi_instr_create(bld->shader); in loop_unroll_test_helper()
/external/mesa3d/src/amd/compiler/tests/
Dtest_isel.cpp255 nir_phi_instr *phi[2];
326 nir_phi_instr *phi[2];
476 nir_phi_instr *phi[2];
575 nir_phi_instr *phi[2];
814 nir_phi_instr* phi;
890 nir_phi_instr* phi = nir_phi_instr_create(nb->shader);
972 nir_phi_instr* phi;
1122 nir_phi_instr* phi = nir_phi_instr_create(nb->shader);
/external/mesa3d/src/compiler/rust/
Dnir.rs357 impl nir_phi_instr { implementation
428 pub fn as_phi<'a>(&'a self) -> Option<&'a nir_phi_instr> { in as_phi() argument
431 Some(unsafe { &*(p as *const nir_phi_instr) }) in as_phi() constant
/external/mesa3d/src/amd/compiler/
Daco_instruction_selection_setup.cpp50 nir_phi_instr* phi = nir_instr_as_phi(nir_src_parent_instr(src)); in only_used_by_cross_lane_instrs()
329 nir_phi_instr* phi = nir_instr_as_phi(nir_src_parent_instr(src)); in skip_uniformize_merge_phi()
636 nir_phi_instr* phi = nir_instr_as_phi(instr); in init_context()

123