/third_party/mesa3d/src/freedreno/decode/ |
D | crashdec-mempool.c | 271 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/ |
D | libf2fs_io.c | 412 __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/ |
D | nir_opt_sink.c | 111 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/ |
D | brw_disasm_info.c | 114 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()
|
D | brw_disasm_info.h | 63 int cur_block; member
|
/third_party/mesa3d/src/freedreno/ir3/ |
D | ir3_legalize.c | 544 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/ |
D | transformation_add_relaxed_decoration.cpp | 39 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/ |
D | transformation_add_relaxed_decoration.cpp | 39 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/ |
D | transformation_add_relaxed_decoration.cpp | 39 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/ |
D | vc4_qir.c | 604 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()
|
D | vc4_program.c | 189 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 …]
|
D | vc4_qir.h | 470 struct qblock *cur_block; member
|
/third_party/mesa3d/src/broadcom/compiler/ |
D | nir_to_vir.c | 770 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 …]
|
D | vir_register_allocate.c | 361 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()
|
D | vir_opt_constant_alu.c | 158 c->cur_block = block; in vir_opt_constant_alu()
|
D | vir_opt_redundant_flags.c | 102 c->cur_block = block; in vir_opt_redundant_flags_block()
|
D | vir_opt_copy_propagate.c | 241 c->cur_block = block; in vir_opt_copy_propagate()
|
D | vir.c | 490 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()
|
D | vir_opt_dead_code.c | 198 c->cur_block = block; in vir_opt_dead_code()
|
D | v3d40_tex.c | 502 (struct qinst *)c->cur_block->instructions.prev; in vir_image_emit_register_writes()
|
D | v3d_compiler.h | 864 struct qblock *cur_block; member
|
/third_party/mesa3d/src/gallium/auxiliary/nir/ |
D | nir_to_tgsi.c | 93 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()
|