Home
last modified time | relevance | path

Searched refs:cur_block (Results 1 – 22 of 22) sorted by relevance

/third_party/mesa3d/src/freedreno/decode/
Dcrashdec-mempool.c271 uint32_t cur_block = cur_chunk > 3 ? data1.reader[queue].first_block in dump_cp_mem_pool() local
278 printf("\tblock %x\n", cur_block); in dump_cp_mem_pool()
279 if (cur_block >= num_blocks) { in dump_cp_mem_pool()
280 fprintf(stderr, "block %x too large\n", cur_block); in dump_cp_mem_pool()
284 while (cur_block != last_block || cur_chunk != last_chunk) { in dump_cp_mem_pool()
286 uint32_t *chunk_ptr = &mempool[cur_block * 0x20 + cur_chunk * 4]; in dump_cp_mem_pool()
291 4 * (cur_block * 0x20 + cur_chunk + 4), chunk_ptr[0], in dump_cp_mem_pool()
296 cur_block = next_pointers[cur_block]; in dump_cp_mem_pool()
298 printf("\tblock %x\n", cur_block); in dump_cp_mem_pool()
299 if (cur_block >= num_blocks) { in dump_cp_mem_pool()
[all …]
/third_party/f2fs-tools/lib/
Dlibf2fs_io.c412 __u64 cur_block; in sparse_read_blk() local
415 cur_block = block + i; in sparse_read_blk()
416 if (blocks[cur_block]) in sparse_read_blk()
418 blocks[cur_block], F2FS_BLKSIZE); in sparse_read_blk()
428 __u64 cur_block; in sparse_write_blk() local
432 cur_block = block + i; in sparse_write_blk()
433 if (blocks[cur_block] == zeroed_block) in sparse_write_blk()
434 blocks[cur_block] = NULL; in sparse_write_blk()
435 if (!blocks[cur_block]) { in sparse_write_blk()
436 blocks[cur_block] = calloc(1, F2FS_BLKSIZE); in sparse_write_blk()
[all …]
/third_party/mesa3d/src/compiler/nir/
Dnir_opt_sink.c111 for (nir_block *cur_block = use_block; cur_block != def_block->imm_dom; in adjust_block_for_loops() local
112 cur_block = cur_block->imm_dom) { in adjust_block_for_loops()
115 use_block = cur_block; in adjust_block_for_loops()
119 nir_cf_node *next = nir_cf_node_next(&cur_block->cf_node); in adjust_block_for_loops()
123 use_block = cur_block; in adjust_block_for_loops()
/third_party/mesa3d/src/intel/compiler/
Dbrw_disasm_info.c114 disasm->cur_block = 0; in disasm_initialize()
149 if (bblock_start(cfg->blocks[disasm->cur_block]) == inst) { in disasm_annotate()
150 group->block_start = cfg->blocks[disasm->cur_block]; in disasm_annotate()
165 if (bblock_end(cfg->blocks[disasm->cur_block]) == inst) { in disasm_annotate()
166 group->block_end = cfg->blocks[disasm->cur_block]; in disasm_annotate()
167 disasm->cur_block++; in disasm_annotate()
Dbrw_disasm_info.h63 int cur_block; member
/third_party/mesa3d/src/freedreno/ir3/
Dir3_legalize.c544 struct ir3_block *cur_block = instr->block; in retarget_jump() local
547 if (cur_block->successors[0] == old_target) { in retarget_jump()
548 cur_block->successors[0] = new_target; in retarget_jump()
550 assert(cur_block->successors[1] == old_target); in retarget_jump()
551 cur_block->successors[1] = new_target; in retarget_jump()
555 if (cur_block->physical_successors[0] == old_target) { in retarget_jump()
556 cur_block->physical_successors[0] = new_target; in retarget_jump()
558 assert(cur_block->physical_successors[1] == old_target); in retarget_jump()
559 cur_block->physical_successors[1] = new_target; in retarget_jump()
563 ir3_block_add_predecessor(new_target, cur_block); in retarget_jump()
[all …]
/third_party/spirv-tools/source/fuzz/
Dtransformation_add_relaxed_decoration.cpp39 opt::BasicBlock* cur_block = ir_context->get_instr_block(instr); in IsApplicable() local
41 if (cur_block == nullptr) { in IsApplicable()
46 cur_block->id()))) { in IsApplicable()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dtransformation_add_relaxed_decoration.cpp39 opt::BasicBlock* cur_block = ir_context->get_instr_block(instr); in IsApplicable() local
41 if (cur_block == nullptr) { in IsApplicable()
46 cur_block->id()))) { in IsApplicable()
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
Dtransformation_add_relaxed_decoration.cpp39 opt::BasicBlock* cur_block = ir_context->get_instr_block(instr); in IsApplicable() local
41 if (cur_block == nullptr) { in IsApplicable()
46 cur_block->id()))) { in IsApplicable()
/third_party/mesa3d/src/gallium/drivers/vc4/
Dvc4_qir.c604 list_addtail(&inst->link, &c->cur_block->instructions); in qir_emit()
660 c->cur_block = block; in qir_set_emit_block()
695 c->last_top_block = c->cur_block; in qir_compile_init()
801 if (!list_is_empty(&c->cur_block->instructions)) in qir_SF()
802 last_inst = (struct qinst *)c->cur_block->instructions.prev; in qir_SF()
Dvc4_program.c189 if (!list_is_empty(&c->cur_block->instructions)) in ntq_store_dest()
190 last_inst = (struct qinst *)c->cur_block->instructions.prev; in ntq_store_dest()
241 &c->cur_block->instructions); in ntq_store_dest()
1876 qir_uniform_ui(c, c->cur_block->index))); in ntq_activate_execute_for_block()
1923 qir_link_blocks(c->cur_block, else_block); in ntq_emit_if()
1924 qir_link_blocks(c->cur_block, then_block); in ntq_emit_if()
1942 qir_link_blocks(c->cur_block, after_block); in ntq_emit_if()
1943 qir_link_blocks(c->cur_block, else_block); in ntq_emit_if()
1950 qir_link_blocks(c->cur_block, after_block); in ntq_emit_if()
1955 c->last_top_block = c->cur_block; in ntq_emit_if()
[all …]
Dvc4_qir.h470 struct qblock *cur_block; member
/third_party/mesa3d/src/broadcom/compiler/
Dnir_to_vir.c770 if (!list_is_empty(&c->cur_block->instructions)) in ntq_store_dest()
771 last_inst = (struct qinst *)c->cur_block->instructions.prev; in ntq_store_dest()
2911 (struct qinst *)c->cur_block->instructions.prev; in emit_store_output_gs()
3186 } else if (c->cur_block == c->current_unifa_block && in ntq_emit_load_unifa()
3194 c->current_unifa_block = c->cur_block; in ntq_emit_load_unifa()
3303 const uint32_t bidx = c->cur_block->index; in set_a_flags_for_subgroup()
3859 c->execute, vir_uniform_ui(c, c->cur_block->index)), in ntq_activate_execute_for_block()
3913 vir_link_blocks(c->cur_block, else_block); in ntq_emit_uniform_if()
3914 vir_link_blocks(c->cur_block, then_block); in ntq_emit_uniform_if()
3924 if (!c->cur_block->branch_emitted) { in ntq_emit_uniform_if()
[all …]
Dvir_register_allocate.c361 struct qblock *current_block = c->cur_block; in v3d_setup_spill_base()
362 c->cur_block = vir_entry_block(c); in v3d_setup_spill_base()
363 c->cursor = vir_before_block(c->cur_block); in v3d_setup_spill_base()
404 c->cur_block = current_block; in v3d_setup_spill_base()
405 c->cursor = vir_after_block(c->cur_block); in v3d_setup_spill_base()
Dvir_opt_constant_alu.c158 c->cur_block = block; in vir_opt_constant_alu()
Dvir_opt_redundant_flags.c102 c->cur_block = block; in vir_opt_redundant_flags_block()
Dvir_opt_copy_propagate.c241 c->cur_block = block; in vir_opt_copy_propagate()
Dvir.c490 c->cur_block = block; in vir_set_emit_block()
2021 assert(c->cur_block); in try_opt_ldunif()
2029 vir_for_each_inst(inst, c->cur_block) { in try_opt_ldunif()
2036 assert(found || &c->cur_block->instructions == c->cursor.link); in try_opt_ldunif()
2040 &c->cur_block->instructions, link) { in try_opt_ldunif()
2056 &c->cur_block->instructions, link) { in try_opt_ldunif()
Dvir_opt_dead_code.c198 c->cur_block = block; in vir_opt_dead_code()
Dv3d40_tex.c502 (struct qinst *)c->cur_block->instructions.prev; in vir_image_emit_register_writes()
Dv3d_compiler.h864 struct qblock *cur_block; member
/third_party/mesa3d/src/gallium/auxiliary/nir/
Dnir_to_tgsi.c93 struct ntt_block *cur_block; member
144 util_dynarray_append(&c->cur_block->insns, struct ntt_insn, insn); in ntt_insn()
145 return util_dynarray_top_ptr(&c->cur_block->insns, struct ntt_insn); in ntt_insn()
2858 c->cur_block = ntt_block; in ntt_emit_block()
3037 c->cur_block = ntt_block_from_nir(c, nir_start_block(impl)); in ntt_emit_impl()