Lines Matching defs:block

86     * last use in a block and the source is not live after the block). Set by
343 /* Link to next block. Must be first */
346 /* List of instructions emitted for the current block */
349 /* Index of the block in source order */
364 /* Offset of the block in the emitted binary */
384 /* Maximum block index */
486 #define agx_foreach_instr_in_block(block, v) \
487 list_for_each_entry(agx_instr, v, &(block)->instructions, link)
489 #define agx_foreach_instr_in_block_rev(block, v) \
490 list_for_each_entry_rev(agx_instr, v, &(block)->instructions, link)
492 #define agx_foreach_instr_in_block_safe(block, v) \
493 list_for_each_entry_safe(agx_instr, v, &(block)->instructions, link)
495 #define agx_foreach_instr_in_block_safe_rev(block, v) \
496 list_for_each_entry_safe_rev(agx_instr, v, &(block)->instructions, link)
498 #define agx_foreach_instr_in_block_from(block, v, from) \
499 list_for_each_entry_from(agx_instr, v, from, &(block)->instructions, link)
501 #define agx_foreach_instr_in_block_from_rev(block, v, from) \
502 list_for_each_entry_from_rev(agx_instr, v, from, &(block)->instructions, link)
569 agx_next_block(agx_block *block)
571 return list_first_entry(&(block->link), agx_block, link);
583 #define agx_worklist_push_head(w, block) u_worklist_push_head(w, block, index)
584 #define agx_worklist_push_tail(w, block) u_worklist_push_tail(w, block, index)
602 agx_block *block;
608 agx_after_block(agx_block *block)
612 .block = block
635 * Get a cursor inserting at the logical end of the block. In particular, this
640 agx_after_block_logical(agx_block *block)
643 agx_foreach_instr_in_block_rev(block, I) {
649 return agx_after_block(block);
680 list_addtail(&I->link, &cursor->block->instructions);
704 void agx_print_block(agx_block *block, FILE *fp);