Home
last modified time | relevance | path

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

/external/pigweed/pw_allocator/py/pw_allocator/
Dheap_viewer.py43 cur_block = self.begin.next
45 while cur_block is not None:
46 if cur_block.mem_offset == block.mem_offset:
48 if cur_block.mem_offset < block.mem_offset:
49 prev_block = cur_block
50 cur_block = cur_block.next
52 block.next = cur_block
58 cur_block = self.begin.next
60 while cur_block is not None:
61 if cur_block.mem_offset == address:
[all …]
/external/e2fsprogs/lib/ext2fs/
Dsparse_io.c383 blk64_t offset = 0, cur_block; in sparse_read_blk64() local
391 cur_block = block_to_sparse_block(block, &offset, channel, sm); in sparse_read_blk64()
392 if (sm->blocks[cur_block]) in sparse_read_blk64()
393 memcpy(out, (sm->blocks[cur_block]) + offset, count); in sparse_read_blk64()
398 cur_block = block_to_sparse_block(block + i, &offset, in sparse_read_blk64()
400 if (sm->blocks[cur_block]) in sparse_read_blk64()
402 sm->blocks[cur_block] + offset, in sparse_read_blk64()
422 blk64_t offset = 0, cur_block; in sparse_write_blk64() local
431 cur_block = block_to_sparse_block(block, &offset, channel, in sparse_write_blk64()
433 if (!sm->blocks[cur_block]) { in sparse_write_blk64()
[all …]
/external/mesa3d/src/compiler/nir/
Dnir_opt_sink.c106 for (nir_block *cur_block = use_block; cur_block != def_block->imm_dom; in adjust_block_for_loops() local
107 cur_block = cur_block->imm_dom) { in adjust_block_for_loops()
110 use_block = cur_block; in adjust_block_for_loops()
114 nir_cf_node *next = nir_cf_node_next(&cur_block->cf_node); in adjust_block_for_loops()
118 use_block = cur_block; in adjust_block_for_loops()
/external/f2fs-tools/lib/
Dlibf2fs_io.c410 __u64 cur_block; in sparse_read_blk() local
413 cur_block = block + i; in sparse_read_blk()
414 if (blocks[cur_block]) in sparse_read_blk()
416 blocks[cur_block], F2FS_BLKSIZE); in sparse_read_blk()
426 __u64 cur_block; in sparse_write_blk() local
430 cur_block = block + i; in sparse_write_blk()
431 if (blocks[cur_block] == zeroed_block) in sparse_write_blk()
432 blocks[cur_block] = NULL; in sparse_write_blk()
433 if (!blocks[cur_block]) { in sparse_write_blk()
434 blocks[cur_block] = calloc(1, F2FS_BLKSIZE); in sparse_write_blk()
[all …]
/external/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
/external/mesa3d/src/freedreno/decode/
Dcrashdec.c782 uint32_t cur_block = cur_chunk > 3 ? in dump_cp_mem_pool() local
791 printf("\tblock %x\n", cur_block); in dump_cp_mem_pool()
792 if (cur_block >= num_blocks) { in dump_cp_mem_pool()
793 fprintf(stderr, "block %x too large\n", cur_block); in dump_cp_mem_pool()
797 while (cur_block != last_block || cur_chunk != last_chunk) { in dump_cp_mem_pool()
799 uint32_t *chunk_ptr = &mempool[cur_block * 0x20 + cur_chunk * 4]; in dump_cp_mem_pool()
804 4 * (cur_block * 0x20 + cur_chunk + 4), in dump_cp_mem_pool()
809 cur_block = next_pointers[cur_block]; in dump_cp_mem_pool()
811 printf("\tblock %x\n", cur_block); in dump_cp_mem_pool()
812 if (cur_block >= num_blocks) { in dump_cp_mem_pool()
[all …]
/external/deqp-deps/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()
/external/mesa3d/src/freedreno/ir3/
Dir3_legalize.c472 struct ir3_block *cur_block = instr->block; in retarget_jump() local
475 if (cur_block->successors[0] == old_target) { in retarget_jump()
476 cur_block->successors[0] = new_target; in retarget_jump()
478 debug_assert(cur_block->successors[1] == old_target); in retarget_jump()
479 cur_block->successors[1] = new_target; in retarget_jump()
483 _mesa_set_add(new_target->predecessors, cur_block); in retarget_jump()
486 debug_assert(_mesa_set_search(old_target->predecessors, cur_block)); in retarget_jump()
487 _mesa_set_remove_key(old_target->predecessors, cur_block); in retarget_jump()
/external/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()
/external/angle/third_party/vulkan-deps/spirv-tools/src/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()
/external/mesa3d/src/amd/compiler/
Daco_insert_NOPs.cpp241 void handle_raw_hazard(Program *program, Block *cur_block, int *NOPs, int min_states, Operand op) in handle_raw_hazard() argument
245 …int res = handle_raw_hazard_internal<Valu, Vintrp, Salu>(program, cur_block, min_states, op.physRe… in handle_raw_hazard()
313 void handle_instruction_gfx6(Program *program, Block *cur_block, NOP_ctx_gfx6 &ctx, in handle_instruction_gfx6() argument
332 handle_valu_salu_then_read_hazard(program, cur_block, &NOPs, 4, op); in handle_instruction_gfx6()
334 handle_valu_then_read_hazard(program, cur_block, &NOPs, 4, op); in handle_instruction_gfx6()
366 handle_valu_then_read_hazard(program, cur_block, &NOPs, 2, instr->operands[0]); in handle_instruction_gfx6()
381 handle_valu_then_read_hazard(program, cur_block, &NOPs, 4, instr->operands[1]); in handle_instruction_gfx6()
392 handle_vintrp_then_read_hazard(program, cur_block, &NOPs, 1, instr->operands[0]); in handle_instruction_gfx6()
401 handle_valu_then_read_hazard(program, cur_block, &NOPs, 5, op); in handle_instruction_gfx6()
589 void handle_instruction_gfx10(Program *program, Block *cur_block, NOP_ctx_gfx10 &ctx, in handle_instruction_gfx10() argument
/external/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()
811 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()
1896 qir_uniform_ui(c, c->cur_block->index))); in ntq_activate_execute_for_block()
1943 qir_link_blocks(c->cur_block, else_block); in ntq_emit_if()
1944 qir_link_blocks(c->cur_block, then_block); in ntq_emit_if()
1962 qir_link_blocks(c->cur_block, after_block); in ntq_emit_if()
1963 qir_link_blocks(c->cur_block, else_block); in ntq_emit_if()
1970 qir_link_blocks(c->cur_block, after_block); in ntq_emit_if()
1975 c->last_top_block = c->cur_block; in ntq_emit_if()
[all …]
Dvc4_qir.h474 struct qblock *cur_block; member
/external/mesa3d/src/broadcom/compiler/
Dnir_to_vir.c476 if (!list_is_empty(&c->cur_block->instructions)) in ntq_store_dest()
477 last_inst = (struct qinst *)c->cur_block->instructions.prev; in ntq_store_dest()
2181 (struct qinst *)c->cur_block->instructions.prev; in emit_store_output_gs()
2784 c->execute, vir_uniform_ui(c, c->cur_block->index)), in ntq_activate_execute_for_block()
2813 vir_link_blocks(c->cur_block, else_block); in ntq_emit_uniform_if()
2814 vir_link_blocks(c->cur_block, then_block); in ntq_emit_uniform_if()
2823 vir_link_blocks(c->cur_block, after_block); in ntq_emit_uniform_if()
2830 vir_link_blocks(c->cur_block, after_block); in ntq_emit_uniform_if()
2884 vir_link_blocks(c->cur_block, else_block); in ntq_emit_nonuniform_if()
2885 vir_link_blocks(c->cur_block, then_block); in ntq_emit_nonuniform_if()
[all …]
Dv3d40_tex.c469 struct qinst *last_inst= (struct qinst *)c->cur_block->instructions.prev; in v3d40_vir_emit_image_load_store()
Dvir_register_allocate.c200 c->cursor = vir_after_block(c->cur_block); in v3d_setup_spill_base()
Dv3d_compiler.h690 struct qblock *cur_block; member
Dvir.c455 c->cur_block = block; in vir_set_emit_block()
/external/python/cpython2/Modules/
Dcdmodule.c105 status.cur_block); in CD_getstatus()
/external/python/cpython2/Doc/library/
Dcd.rst167 *rtime*, *atime*, *ttime*, *first*, *last*, *scsi_audio*, *cur_block*. *rtime*