Lines Matching refs:agx_block

274 struct agx_block;
310 struct agx_block *target;
340 struct agx_block;
342 typedef struct agx_block {
353 struct agx_block *successors[2];
369 } agx_block;
374 struct list_head blocks; /* list of agx_block */
402 agx_block *current_block;
403 agx_block *continue_block;
404 agx_block *break_block;
405 agx_block *after_block;
406 agx_block **indexed_nir_blocks;
475 list_for_each_entry(agx_block, v, &ctx->blocks, link)
478 list_for_each_entry_rev(agx_block, v, &ctx->blocks, link)
481 list_for_each_entry_from(agx_block, v, from, &ctx->blocks, link)
484 list_for_each_entry_from_rev(agx_block, v, from, &ctx->blocks, link)
523 agx_block *v; \
524 agx_block **_v; \
525 for (_v = (agx_block **) &blk->successors[0], \
527 v != NULL && _v < (agx_block **) &blk->successors[2]; \
531 util_dynarray_foreach(&blk->predecessors, agx_block *, v)
543 agx_predecessor_index(agx_block *succ, agx_block *pred)
568 static inline agx_block *
569 agx_next_block(agx_block *block)
571 return list_first_entry(&(block->link), agx_block, link);
574 static inline agx_block *
577 agx_block *last = list_last_entry(&ctx->blocks, agx_block, link);
585 #define agx_worklist_peek_head(w) u_worklist_peek_head(w, agx_block, index)
586 #define agx_worklist_pop_head(w) u_worklist_pop_head( w, agx_block, index)
587 #define agx_worklist_peek_tail(w) u_worklist_peek_tail(w, agx_block, index)
588 #define agx_worklist_pop_tail(w) u_worklist_pop_tail( w, agx_block, index)
602 agx_block *block;
608 agx_after_block(agx_block *block)
640 agx_after_block_logical(agx_block *block)
704 void agx_print_block(agx_block *block, FILE *fp);