Home
last modified time | relevance | path

Searched refs:if_node (Results 1 – 20 of 20) sorted by relevance

/third_party/mesa3d/src/compiler/nir/
Dnir_lower_memory_model.c209 foreach_list_typed(nir_cf_node, if_node, node, &nif->then_list) in lower_make_visible()
210 progress |= lower_make_visible(if_node, &cur_modes_then); in lower_make_visible()
211 foreach_list_typed(nir_cf_node, if_node, node, &nif->else_list) in lower_make_visible()
212 progress |= lower_make_visible(if_node, &cur_modes_else); in lower_make_visible()
248 foreach_list_typed_reverse(nir_cf_node, if_node, node, &nif->then_list) in lower_make_available()
249 progress |= lower_make_available(if_node, &cur_modes_then); in lower_make_available()
250 foreach_list_typed_reverse(nir_cf_node, if_node, node, &nif->else_list) in lower_make_available()
251 progress |= lower_make_available(if_node, &cur_modes_else); in lower_make_available()
Dnir_inline_uniforms.c246 nir_if *if_node = nir_cf_node_as_if(node); in process_node() local
247 const nir_src *cond = &if_node->condition; in process_node()
264 foreach_list_typed(nir_cf_node, nested_node, node, &if_node->then_list) in process_node()
266 foreach_list_typed(nir_cf_node, nested_node, node, &if_node->else_list) in process_node()
Dnir_opt_if.c155 nir_cf_node *if_node = nir_cf_node_next(&header_block->cf_node); in opt_peel_loop_initial_if() local
156 if (!if_node || if_node->type != nir_cf_node_if) in opt_peel_loop_initial_if()
159 nir_if *nif = nir_cf_node_as_if(if_node); in opt_peel_loop_initial_if()
783 nir_cf_node *if_node = nir_cf_node_prev(&last_block->cf_node); in opt_if_loop_last_continue() local
784 while (if_node) { in opt_if_loop_last_continue()
785 if (if_node->type == nir_cf_node_if) { in opt_if_loop_last_continue()
786 nif = nir_cf_node_as_if(if_node); in opt_if_loop_last_continue()
807 if_node = nir_cf_node_prev(if_node); in opt_if_loop_last_continue()
826 nir_cf_extract(&tmp, nir_after_cf_node(if_node), in opt_if_loop_last_continue()
Dnir_to_lcssa.c153 nir_if *if_node = nir_cf_node_as_if(prev); in phi_is_invariant() local
154 if (!def_is_invariant(if_node->condition.ssa, loop)) in phi_is_invariant()
/third_party/mesa3d/src/gallium/drivers/r600/sb/
Dsb_if_conversion.cpp117 if_node *nif = static_cast<if_node*>(nd1->first); in check_and_convert()
207 if_node *nif = static_cast<if_node*>(nd1->first); in run_on()
Dsb_def_use.cpp151 if_node *i = static_cast<if_node*>(n); in process_uses()
Dsb_gvn.cpp213 if_node &i = (if_node&)n; in process_op()
Dsb_liveness.cpp170 bool liveness::visit(if_node& n, bool enter) { in visit()
308 if_node &in = (if_node&)n; in process_ins()
Dsb_pass.h69 virtual bool visit(if_node &n, bool enter);
187 virtual bool visit(if_node &n, bool enter);
383 virtual bool visit(if_node &n, bool enter);
662 virtual bool visit(if_node &n, bool enter);
Dsb_shader.cpp328 if_node* shader::create_if() { in create_if()
329 if_node* n = new (pool.allocate(sizeof(if_node))) if_node(); in create_if()
Dsb_pass.cpp82 bool vpass::visit(if_node& n, bool enter) { return true; } in visit()
Dsb_gcm.cpp271 if_node *f = static_cast<if_node*>(n); in sched_late()
Dsb_shader.h369 if_node* create_if();
Dsb_bc_finalize.cpp189 if_node *n_if = static_cast<if_node*>(repdep1->first); in finalize_if()
Dsb_dump.cpp277 bool dump::visit(if_node& n, bool enter) { in visit()
Dsb_ssa_builder.cpp273 bool ssa_rename::visit(if_node& n, bool enter) { in visit()
Dsb_ir.h1104 class if_node : public container_node {
1106 if_node() : container_node(NT_IF, NST_LIST), cond() {}; in if_node() function
Dsb_ir.cpp48 bool if_node::accept(vpass& p, bool enter) { return p.visit(*this, enter); } in accept()
Dsb_bc_parser.cpp993 if_node *n_if = sh->create_if(); in prepare_if()
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_inline_uniforms.c237 nir_if *if_node = nir_cf_node_as_if(node); in process_node() local
238 const nir_src *cond = &if_node->condition; in process_node()
255 foreach_list_typed(nir_cf_node, nested_node, node, &if_node->then_list) in process_node()
257 foreach_list_typed(nir_cf_node, nested_node, node, &if_node->else_list) in process_node()