Home
last modified time | relevance | path

Searched refs:cf_list (Results 1 – 11 of 11) sorted by relevance

/external/mesa3d/src/compiler/nir/
Dnir_lower_returns.c30 struct exec_list *cf_list; member
42 static bool lower_returns_in_cf_list(struct exec_list *cf_list,
51 if (nir_cursors_equal(b->cursor, nir_after_cf_list(state->cf_list))) in predicate_following()
73 nir_after_cf_list(state->cf_list)); in predicate_following()
131 nir_after_cf_list(state->cf_list)); in lower_returns_in_if()
157 nir_after_cf_list(state->cf_list)); in lower_returns_in_block()
210 lower_returns_in_cf_list(struct exec_list *cf_list, in lower_returns_in_cf_list() argument
215 struct exec_list *parent_list = state->cf_list; in lower_returns_in_cf_list()
216 state->cf_list = cf_list; in lower_returns_in_cf_list()
223 foreach_list_typed_reverse_safe(nir_cf_node, node, node, cf_list) { in lower_returns_in_cf_list()
[all …]
Dnir_control_flow.h141 void nir_cf_reinsert(nir_cf_list *cf_list, nir_cursor cursor);
143 void nir_cf_delete(nir_cf_list *cf_list);
149 nir_cf_list_extract(nir_cf_list *extracted, struct exec_list *cf_list) in nir_cf_list_extract() argument
151 nir_cf_extract(extracted, nir_before_cf_list(cf_list), in nir_cf_list_extract()
152 nir_after_cf_list(cf_list)); in nir_cf_list_extract()
Dnir_opt_trivial_continues.c73 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()
Dnir_serialize.c887 read_block(read_ctx *ctx, struct exec_list *cf_list) in read_block() argument
894 exec_node_data(nir_block, exec_list_get_tail(cf_list), cf_node.node); in read_block()
904 write_cf_list(write_ctx *ctx, const struct exec_list *cf_list);
907 read_cf_list(read_ctx *ctx, struct exec_list *cf_list);
919 read_if(read_ctx *ctx, struct exec_list *cf_list) in read_if() argument
925 nir_cf_node_insert_end(cf_list, &nif->cf_node); in read_if()
938 read_loop(read_ctx *ctx, struct exec_list *cf_list) in read_loop() argument
942 nir_cf_node_insert_end(cf_list, &loop->cf_node); in read_loop()
988 write_cf_list(write_ctx *ctx, const struct exec_list *cf_list) in write_cf_list() argument
990 blob_write_uint32(ctx->blob, exec_list_length(cf_list)); in write_cf_list()
[all …]
Dnir_control_flow.c709 nir_cf_reinsert(nir_cf_list *cf_list, nir_cursor cursor) in nir_cf_reinsert() argument
713 if (exec_list_is_empty(&cf_list->list)) in nir_cf_reinsert()
718 foreach_list_typed_safe(nir_cf_node, node, node, &cf_list->list) { in nir_cf_reinsert()
731 nir_cf_delete(nir_cf_list *cf_list) in nir_cf_delete() argument
733 foreach_list_typed(nir_cf_node, node, node, &cf_list->list) { in nir_cf_delete()
734 cleanup_cf_node(node, cf_list->impl); in nir_cf_delete()
Dnir_opt_if.c204 opt_if_cf_list(struct exec_list *cf_list) in opt_if_cf_list() argument
207 foreach_list_typed(nir_cf_node, cf_node, node, cf_list) { in opt_if_cf_list()
Dnir_clone.c528 clone_block(clone_state *state, struct exec_list *cf_list, const nir_block *blk) in clone_block() argument
535 exec_node_data(nir_block, exec_list_get_tail(cf_list), cf_node.node); in clone_block()
564 clone_if(clone_state *state, struct exec_list *cf_list, const nir_if *i) in clone_if() argument
570 nir_cf_node_insert_end(cf_list, &ni->cf_node); in clone_if()
579 clone_loop(clone_state *state, struct exec_list *cf_list, const nir_loop *loop) in clone_loop() argument
583 nir_cf_node_insert_end(cf_list, &nloop->cf_node); in clone_loop()
Dnir_opt_dead_cf.c126 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()
Dnir_opt_gcm.c75 gcm_build_block_info(struct exec_list *cf_list, struct gcm_state *state, in gcm_build_block_info() argument
78 foreach_list_typed(nir_cf_node, node, node, cf_list) { in gcm_build_block_info()
Dnir.h2168 nir_before_cf_list(struct exec_list *cf_list) in nir_before_cf_list() argument
2171 exec_list_get_head(cf_list), node); in nir_before_cf_list()
2176 nir_after_cf_list(struct exec_list *cf_list) in nir_after_cf_list() argument
2179 exec_list_get_tail(cf_list), node); in nir_after_cf_list()
/external/mesa3d/src/compiler/spirv/
Dvtn_cfg.c333 vtn_cfg_walk_blocks(struct vtn_builder *b, struct list_head *cf_list, in vtn_cfg_walk_blocks() argument
350 list_addtail(&loop->node.link, cf_list); in vtn_cfg_walk_blocks()
382 list_addtail(&block->node.link, cf_list); in vtn_cfg_walk_blocks()
422 list_addtail(&if_stmt->node.link, cf_list); in vtn_cfg_walk_blocks()
498 list_addtail(&swtch->node.link, cf_list); in vtn_cfg_walk_blocks()
695 vtn_emit_cf_list(struct vtn_builder *b, struct list_head *cf_list, in vtn_emit_cf_list() argument
699 list_for_each_entry(struct vtn_cf_node, node, cf_list, link) { in vtn_emit_cf_list()