Home
last modified time | relevance | path

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

/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/
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()
364 if (!exec_list_is_empty(&next->instr_list) || in dead_cf_list()
381 (!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.c719 exec_list_is_empty(&block->instr_list); in is_block_empty()
725 if (exec_list_is_empty(&block->instr_list)) in nir_block_ends_in_continue()
816 exec_list_is_empty(&last_block->instr_list)) in opt_if_loop_last_continue()
1549 exec_list_is_empty(&next_blk->instr_list)) { in opt_if_merge()
Dnir_validate.c1325 validate_assert(state, exec_list_is_empty(&block->instr_list)); in validate_end_block()
1349 validate_assert(state, !exec_list_is_empty(&if_stmt->then_list)); in validate_if()
1350 validate_assert(state, !exec_list_is_empty(&if_stmt->else_list)); in validate_if()
1380 validate_assert(state, !exec_list_is_empty(&loop->body)); in validate_loop()
1629 validate_assert(state, exec_list_is_empty(&impl->end_block->instr_list)); in validate_function_impl()
1659 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.c566 assert(exec_list_is_empty(&after->instr_list)); in stitch_blocks()
803 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_opt_loop_unroll.c284 exec_list_is_empty(&nir_cf_node_as_block(unroll_loc)->instr_list)); in complex_unroll_loop_body()
1007 exec_list_is_empty(&first_continue_from_blk->instr_list))) in process_loops()
Dnir_clone.c549 assert(exec_list_is_empty(&nblk->instr_list)); in clone_block()
659 if (exec_list_is_empty(&src->list)) in nir_cf_list_clone()
Dnir_split_vars.c192 return !exec_list_is_empty(&split_vars); in split_var_list_structs()
607 return !exec_list_is_empty(&split_vars); in split_var_list_arrays()
1628 if ((modes & nir_var_function_temp) && !exec_list_is_empty(&impl->locals)) in function_impl_has_vars_with_modes()
Dnir_opt_gcm.c841 while (!exec_list_is_empty(&state.instrs)) { in opt_gcm_impl()
Dnir.h2757 return !exec_list_is_empty(&block->instr_list) && in nir_block_ends_in_jump()
2764 if (exec_list_is_empty(&block->instr_list)) in nir_block_ends_in_return_or_halt()
2779 if (exec_list_is_empty(&block->instr_list)) in nir_block_ends_in_break()
3152 return exec_list_is_empty(&block->instr_list); in nir_cf_list_is_empty_block()
Dnir.c1031 if (exec_list_is_empty(&cursor.block->instr_list)) { in reduce_cursor()
1134 assert(exec_list_is_empty(&cursor.block->instr_list)); in nir_instr_insert()
/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/intel/perf/
Dintel_perf_query.c874 assert(!exec_list_is_empty(&perf_ctx->sample_buffers)); in intel_perf_begin_query()
/third_party/mesa3d/src/gallium/drivers/lima/ir/pp/
Dnir.c675 exec_list_is_empty(&nir_else_block->instr_list)); in ppir_emit_if()
/third_party/mesa3d/src/intel/compiler/
Dbrw_nir.c1126 if (func->impl && !exec_list_is_empty(&func->impl->locals)) in nir_shader_has_local_variables()
/third_party/mesa3d/src/broadcom/compiler/
Dnir_to_vir.c3871 exec_list_is_empty(&nir_else_block->instr_list)); in ntq_emit_uniform_if()
3971 exec_list_is_empty(&nir_else_block->instr_list)); in ntq_emit_nonuniform_if()
/third_party/mesa3d/src/gallium/drivers/vc4/
Dvc4_program.c1892 exec_list_is_empty(&nir_else_block->instr_list)); in ntq_emit_if()
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_nir.c2606 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.c3906 bool has_else = !exec_list_is_empty(&if_stmt->else_list); in emit_if()
/third_party/mesa3d/src/microsoft/compiler/
Dnir_to_dxil.c5096 if (!exec_list_is_empty(&if_stmt->else_list)) { in emit_if()
/third_party/mesa3d/src/amd/llvm/
Dac_nir_to_llvm.c5324 if (!exec_list_is_empty(&if_stmt->else_list)) { in visit_if()