/third_party/mesa3d/src/compiler/nir/ |
D | nir_lower_returns.c | 30 struct exec_list *cf_list; member 44 static bool lower_returns_in_cf_list(struct exec_list *cf_list, 53 if (!state->loop && nir_cursors_equal(b->cursor, nir_after_cf_list(state->cf_list))) in predicate_following() 74 nir_after_cf_list(state->cf_list)); in predicate_following() 144 nir_after_cf_list(state->cf_list)); in lower_returns_in_if() 170 nir_after_cf_list(state->cf_list)); in lower_returns_in_block() 232 lower_returns_in_cf_list(struct exec_list *cf_list, in lower_returns_in_cf_list() argument 237 struct exec_list *parent_list = state->cf_list; in lower_returns_in_cf_list() 238 state->cf_list = cf_list; in lower_returns_in_cf_list() 245 foreach_list_typed_reverse_safe(nir_cf_node, node, node, cf_list) { in lower_returns_in_cf_list() [all …]
|
D | nir_control_flow.h | 141 void nir_cf_reinsert(nir_cf_list *cf_list, nir_cursor cursor); 143 void nir_cf_delete(nir_cf_list *cf_list); 159 nir_cf_list_extract(nir_cf_list *extracted, struct exec_list *cf_list) in nir_cf_list_extract() argument 161 nir_cf_extract(extracted, nir_before_cf_list(cf_list), in nir_cf_list_extract() 162 nir_after_cf_list(cf_list)); in nir_cf_list_extract()
|
D | nir_lower_shader_calls.c | 673 nir_cf_list cf_list; in duplicate_loop_bodies() local 674 nir_cf_list_extract(&cf_list, &loop->body); in duplicate_loop_bodies() 681 nir_cf_list_clone(&clone, &cf_list, &loop->cf_node, NULL); in duplicate_loop_bodies() 686 nir_cf_reinsert(&cf_list, nir_before_cf_list(&_if->then_list)); in duplicate_loop_bodies() 803 nir_cf_list cf_list; in flatten_resume_if_ladder() local 917 nir_cf_extract(&cf_list, nir_after_cf_node(resume_node), in flatten_resume_if_ladder() 925 nir_cf_extract(&cf_list, nir_before_cf_node(resume_node), in flatten_resume_if_ladder() 933 nir_cf_extract(&cf_list, nir_after_instr(resume_instr), in flatten_resume_if_ladder() 936 nir_cf_reinsert(&cf_list, nir_before_instr(cursor)); in flatten_resume_if_ladder() 948 nir_cf_extract(&cf_list, nir_after_instr(cursor), in flatten_resume_if_ladder() [all …]
|
D | nir_opt_trivial_continues.c | 73 lower_trivial_continues_list(struct exec_list *cf_list, in lower_trivial_continues_list() argument 78 foreach_list_typed(nir_cf_node, cf_node, node, cf_list) { in lower_trivial_continues_list() 80 &cf_node->node == exec_list_get_tail(cf_list); in lower_trivial_continues_list()
|
D | nir_control_flow.c | 780 nir_cf_reinsert(nir_cf_list *cf_list, nir_cursor cursor) in nir_cf_reinsert() argument 784 if (exec_list_is_empty(&cf_list->list)) in nir_cf_reinsert() 789 if (cf_list->impl != cursor_impl) { in nir_cf_reinsert() 790 foreach_list_typed(nir_cf_node, node, node, &cf_list->list) in nir_cf_reinsert() 796 foreach_list_typed_safe(nir_cf_node, node, node, &cf_list->list) { in nir_cf_reinsert() 809 nir_cf_delete(nir_cf_list *cf_list) in nir_cf_delete() argument 811 foreach_list_typed(nir_cf_node, node, node, &cf_list->list) { in nir_cf_delete() 812 cleanup_cf_node(node, cf_list->impl); in nir_cf_delete()
|
D | nir_lower_memory_model.c | 277 struct exec_list *cf_list = &nir_shader_get_entrypoint(shader)->body; in nir_lower_memory_model() local 280 foreach_list_typed(nir_cf_node, cf_node, node, cf_list) in nir_lower_memory_model() 284 foreach_list_typed_reverse(nir_cf_node, cf_node, node, cf_list) in nir_lower_memory_model()
|
D | nir_opt_dce.c | 148 dce_cf_list(struct exec_list *cf_list, BITSET_WORD *defs_live, in dce_cf_list() argument 152 foreach_list_typed_reverse(nir_cf_node, cf_node, node, cf_list) { in dce_cf_list()
|
D | nir_clone.c | 526 clone_block(clone_state *state, struct exec_list *cf_list, const nir_block *blk) in clone_block() argument 533 exec_node_data(nir_block, exec_list_get_tail(cf_list), cf_node.node); in clone_block() 562 clone_if(clone_state *state, struct exec_list *cf_list, const nir_if *i) in clone_if() argument 569 nir_cf_node_insert_end(cf_list, &ni->cf_node); in clone_if() 578 clone_loop(clone_state *state, struct exec_list *cf_list, const nir_loop *loop) in clone_loop() argument 584 nir_cf_node_insert_end(cf_list, &nloop->cf_node); in clone_loop()
|
D | nir_opt_gcm.c | 97 get_loop_instr_count(struct exec_list *cf_list) in get_loop_instr_count() argument 100 foreach_list_typed(nir_cf_node, node, node, cf_list) { in get_loop_instr_count() 130 gcm_build_block_info(struct exec_list *cf_list, struct gcm_state *state, in gcm_build_block_info() argument 134 foreach_list_typed(nir_cf_node, node, node, cf_list) { in gcm_build_block_info()
|
D | nir_serialize.c | 1787 read_block(read_ctx *ctx, struct exec_list *cf_list) in read_block() argument 1794 exec_node_data(nir_block, exec_list_get_tail(cf_list), cf_node.node); in read_block() 1804 write_cf_list(write_ctx *ctx, const struct exec_list *cf_list); 1807 read_cf_list(read_ctx *ctx, struct exec_list *cf_list); 1820 read_if(read_ctx *ctx, struct exec_list *cf_list) in read_if() argument 1827 nir_cf_node_insert_end(cf_list, &nif->cf_node); in read_if() 1841 read_loop(read_ctx *ctx, struct exec_list *cf_list) in read_loop() argument 1845 nir_cf_node_insert_end(cf_list, &loop->cf_node); in read_loop() 1892 write_cf_list(write_ctx *ctx, const struct exec_list *cf_list) in write_cf_list() argument 1894 blob_write_uint32(ctx->blob, exec_list_length(cf_list)); in write_cf_list() [all …]
|
D | nir_opt_dead_cf.c | 126 struct exec_list *cf_list = condition ? &if_stmt->then_list in opt_constant_if() local 130 nir_cf_list_extract(&list, cf_list); in opt_constant_if()
|
D | nir_opt_if.c | 1407 opt_if_cf_list(nir_builder *b, struct exec_list *cf_list, in opt_if_cf_list() argument 1411 foreach_list_typed(nir_cf_node, cf_node, node, cf_list) { in opt_if_cf_list() 1447 opt_peel_loop_initial_if_cf_list(struct exec_list *cf_list) in opt_peel_loop_initial_if_cf_list() argument 1450 foreach_list_typed(nir_cf_node, cf_node, node, cf_list) { in opt_peel_loop_initial_if_cf_list() 1482 opt_if_safe_cf_list(nir_builder *b, struct exec_list *cf_list) in opt_if_safe_cf_list() argument 1485 foreach_list_typed(nir_cf_node, cf_node, node, cf_list) { in opt_if_safe_cf_list()
|
D | nir_lower_goto_ifs.c | 940 nir_cf_list cf_list; in nir_lower_goto_ifs_impl() local 941 nir_cf_extract(&cf_list, nir_before_cf_list(&impl->body), in nir_lower_goto_ifs_impl() 958 exec_node_data(nir_cf_node, exec_list_get_head(&cf_list.list), node); in nir_lower_goto_ifs_impl() 975 nir_cf_delete(&cf_list); in nir_lower_goto_ifs_impl()
|
D | nir.h | 3328 nir_cf_list_is_empty_block(struct exec_list *cf_list) in nir_cf_list_is_empty_block() argument 3330 if (exec_list_is_singular(cf_list)) { in nir_cf_list_is_empty_block() 3331 struct exec_node *head = exec_list_get_head(cf_list); in nir_cf_list_is_empty_block() 4156 nir_before_cf_list(struct exec_list *cf_list) in nir_before_cf_list() argument 4159 exec_list_get_head(cf_list), node); in nir_before_cf_list() 4164 nir_after_cf_list(struct exec_list *cf_list) in nir_after_cf_list() argument 4167 exec_list_get_tail(cf_list), node); in nir_after_cf_list()
|
D | nir_validate.c | 1158 collect_blocks(struct exec_list *cf_list, validate_state *state) in collect_blocks() argument 1179 exec_list_validate(cf_list); in collect_blocks() 1180 foreach_list_typed(nir_cf_node, node, node, cf_list) { in collect_blocks()
|
/third_party/gstreamer/gstplugins_base/gst/playback/ |
D | gstplaybackutils.c | 70 GList *cf_list = NULL; in gst_playback_utils_get_n_common_capsfeatures() local 124 && !is_included (cf_list, fact2_features)) { in gst_playback_utils_get_n_common_capsfeatures() 125 cf_list = g_list_prepend (cf_list, fact2_features); in gst_playback_utils_get_n_common_capsfeatures() 130 if (cf_list) in gst_playback_utils_get_n_common_capsfeatures() 131 g_list_free (cf_list); in gst_playback_utils_get_n_common_capsfeatures()
|
/third_party/mesa3d/src/compiler/spirv/ |
D | vtn_cfg.c | 477 struct list_head *cf_list; member 485 struct list_head *cf_list, in vtn_add_cfg_work_item() argument 490 work->cf_list = cf_list; in vtn_add_cfg_work_item() 570 struct list_head *cf_list, in vtn_process_block() argument 573 if (!list_is_empty(cf_list)) { in vtn_process_block() 648 list_addtail(&loop->node.link, cf_list); in vtn_process_block() 683 list_addtail(&block->node.link, cf_list); in vtn_process_block() 733 list_addtail(&if_stmt->node.link, cf_list); in vtn_process_block() 774 list_addtail(&swtch->node.link, cf_list); in vtn_process_block() 861 work->cf_list, block); in vtn_build_cfg() [all …]
|
D | vtn_private.h | 295 #define vtn_foreach_cf_node(node, cf_list) \ argument 296 list_for_each_entry(struct vtn_cf_node, node, cf_list, link)
|
/third_party/mesa3d/src/amd/compiler/ |
D | aco_instruction_selection_setup.cpp | 155 sanitize_cf_list(nir_function_impl* impl, struct exec_list* cf_list) in sanitize_cf_list() argument 158 foreach_list_typed (nir_cf_node, cf_node, node, cf_list) { in sanitize_cf_list()
|