/external/mesa3d/src/compiler/nir/ |
D | nir_lower_returns.c | 30 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 …]
|
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); 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()
|
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_serialize.c | 887 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 …]
|
D | nir_control_flow.c | 709 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()
|
D | nir_opt_if.c | 204 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()
|
D | nir_clone.c | 528 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()
|
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_gcm.c | 75 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()
|
D | nir.h | 2168 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/ |
D | vtn_cfg.c | 333 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()
|