Home
last modified time | relevance | path

Searched refs:exec_list_is_empty (Results 1 – 25 of 26) sorted by relevance

12

/third_party/mesa3d/src/compiler/glsl/
Dlist.h360 exec_list_is_empty(const struct exec_list *list) in exec_list_is_empty() function
378 return !exec_list_is_empty(list) && in exec_list_is_singular()
385 return !exec_list_is_empty(list) ? list->head_sentinel.next : NULL; in exec_list_get_head_const()
391 return !exec_list_is_empty(list) ? list->head_sentinel.next : NULL; in exec_list_get_head()
409 return !exec_list_is_empty(list) ? list->tail_sentinel.prev : NULL; in exec_list_get_tail_const()
415 return !exec_list_is_empty(list) ? list->tail_sentinel.prev : NULL; in exec_list_get_tail()
487 if (exec_list_is_empty(list)) { in exec_list_move_nodes_to()
505 if (exec_list_is_empty(source)) in exec_list_append()
526 if (exec_list_is_empty(after)) in exec_node_insert_list_after()
548 if (exec_list_is_empty(before)) in exec_node_insert_list_before()
[all …]
/third_party/mesa3d/src/compiler/nir/tests/
Dopt_if_tests.cpp86 ASSERT_TRUE(!exec_list_is_empty((&nir_if_first_then_block(nif)->instr_list))); in TEST_F()
87 ASSERT_TRUE(exec_list_is_empty((&nir_if_first_else_block(nif)->instr_list))); in TEST_F()
138 ASSERT_TRUE(exec_list_is_empty((&nir_if_first_else_block(nif)->instr_list))); in TEST_F()
/third_party/mesa3d/src/compiler/nir/
Dnir_opt_dead_cf.c119 if (!exec_list_is_empty(&last_block->instr_list)) { in opt_constant_if()
202 if (!exec_list_is_empty(&after->instr_list) && in node_is_dead()
359 if (!exec_list_is_empty(&next->instr_list) || in dead_cf_list()
376 (!exec_list_is_empty(&next->instr_list) || in dead_cf_list()
Dnir_opt_conditional_discard.c52 if (!exec_list_is_empty(&else_block->instr_list)) in nir_opt_conditional_discard_block()
58 if (exec_list_is_empty(&then_block->instr_list)) in nir_opt_conditional_discard_block()
Dnir_lower_returns.c75 assert(!exec_list_is_empty(&list.list)); in predicate_following()
172 if (exec_list_is_empty(&list.list)) { in lower_returns_in_block()
Dnir_opt_if.c720 exec_list_is_empty(&block->instr_list); in is_block_empty()
726 if (exec_list_is_empty(&block->instr_list)) in nir_block_ends_in_continue()
817 exec_list_is_empty(&last_block->instr_list)) in opt_if_loop_last_continue()
1357 exec_list_is_empty(&next_blk->instr_list)) { in opt_if_merge()
Dnir_validate.c1312 validate_assert(state, exec_list_is_empty(&block->instr_list)); in validate_end_block()
1336 validate_assert(state, !exec_list_is_empty(&if_stmt->then_list)); in validate_if()
1337 validate_assert(state, !exec_list_is_empty(&if_stmt->else_list)); in validate_if()
1367 validate_assert(state, !exec_list_is_empty(&loop->body)); in validate_loop()
1602 validate_assert(state, exec_list_is_empty(&impl->end_block->instr_list)); in validate_function_impl()
1632 validate_assert(state, !exec_list_is_empty(&impl->body)); in validate_function_impl()
Dnir_phi_builder.c279 while (!exec_list_is_empty(&val->phis)) { in nir_phi_builder_finish()
Dnir_control_flow.c562 assert(exec_list_is_empty(&after->instr_list)); in stitch_blocks()
784 if (exec_list_is_empty(&cf_list->list)) in nir_cf_reinsert()
Dnir_lower_regs_to_ssa.c213 if (exec_list_is_empty(&impl->registers)) in nir_lower_regs_to_ssa_impl()
Dnir_clone.c535 assert(exec_list_is_empty(&nblk->instr_list)); in clone_block()
645 if (exec_list_is_empty(&src->list)) in nir_cf_list_clone()
Dnir_split_vars.c204 return !exec_list_is_empty(&split_vars); in split_var_list_structs()
618 return !exec_list_is_empty(&split_vars); in split_var_list_arrays()
1639 if ((modes & nir_var_function_temp) && !exec_list_is_empty(&impl->locals)) in function_impl_has_vars_with_modes()
Dnir_opt_gcm.c778 while (!exec_list_is_empty(&state.instrs)) { in opt_gcm_impl()
Dnir.h2946 return !exec_list_is_empty(&block->instr_list) && in nir_block_ends_in_jump()
2953 if (exec_list_is_empty(&block->instr_list)) in nir_block_ends_in_return_or_halt()
2968 if (exec_list_is_empty(&block->instr_list)) in nir_block_ends_in_break()
3334 return exec_list_is_empty(&block->instr_list); in nir_cf_list_is_empty_block()
Dnir_opt_loop_unroll.c284 exec_list_is_empty(&nir_cf_node_as_block(unroll_loc)->instr_list)); in complex_unroll_loop_body()
Dnir.c942 if (exec_list_is_empty(&cursor.block->instr_list)) { in reduce_cursor()
1045 assert(exec_list_is_empty(&cursor.block->instr_list)); in nir_instr_insert()
/third_party/mesa3d/src/gallium/drivers/lima/ir/pp/
Dnir.c646 exec_list_is_empty(&nir_else_block->instr_list)); in ppir_emit_if()
/third_party/mesa3d/src/intel/perf/
Dintel_perf_query.c878 assert(!exec_list_is_empty(&perf_ctx->sample_buffers)); in intel_perf_begin_query()
/third_party/mesa3d/src/intel/compiler/
Dbrw_nir.c1036 if (func->impl && !exec_list_is_empty(&func->impl->locals)) in nir_shader_has_local_variables()
/third_party/mesa3d/src/asahi/compiler/
Dagx_compile.c948 exec_list_is_empty(&nir_else_block->instr_list)); in emit_if()
/third_party/mesa3d/src/broadcom/compiler/
Dnir_to_vir.c3338 exec_list_is_empty(&nir_else_block->instr_list)); in ntq_emit_uniform_if()
3438 exec_list_is_empty(&nir_else_block->instr_list)); in ntq_emit_nonuniform_if()
/third_party/mesa3d/src/gallium/drivers/vc4/
Dvc4_program.c1909 exec_list_is_empty(&nir_else_block->instr_list)); in ntq_emit_if()
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_nir.c2304 if (!exec_list_is_empty(&if_stmt->else_list)) { in visit_if()
/third_party/mesa3d/src/gallium/drivers/zink/nir_to_spirv/
Dnir_to_spirv.c3591 bool has_else = !exec_list_is_empty(&if_stmt->else_list); in emit_if()
/third_party/mesa3d/src/microsoft/compiler/
Dnir_to_dxil.c4306 if (!exec_list_is_empty(&if_stmt->else_list)) { in emit_if()

12