Lines Matching defs:block
50 // and, when emitting the block, correct the offset in instr
171 if (sopp.block != -1) {
771 emit_block(asm_context& ctx, std::vector<uint32_t>& out, Block& block)
773 for (aco_ptr<Instruction>& instr : block.instructions) {
792 for (Block& block : program->blocks) {
793 if (!(block.kind & block_kind_export_end))
795 std::vector<aco_ptr<Instruction>>::reverse_iterator it = block.instructions.rbegin();
796 while (it != block.instructions.rend()) {
842 /* Update the offset of each affected block */
843 for (Block& block : ctx.program->blocks) {
844 if (block.offset >= insert_before)
845 block.offset += insert_count;
879 return ((int)ctx.program->blocks[branch.second->block].offset - branch.first - 1) ==
956 int offset = (int)ctx.program->blocks[branch.second->block].offset - branch.first - 1;
960 ctx.program->blocks[branch.second->block].offset < (unsigned)branch.first;
972 offset = (int)ctx.program->blocks[branch.second->block].offset - after_getpc;
1000 for (Block& block : program->blocks) {
1001 block.offset = code.size();
1002 emit_block(ctx, code, block);