Home
last modified time | relevance | path

Searched refs:current_block (Results 1 – 25 of 57) sorted by relevance

123

/third_party/skia/third_party/externals/spirv-cross/
Dspirv_parser.cpp141 if (current_block) in parse()
243 if (current_block) in parse()
244 current_block->ops.push_back(instruction); in parse()
292 if (current_block) in parse()
293 current_block->ops.push_back(instruction); in parse()
769 if (!current_block) in parse()
782 current_block->phi_variables.push_back({ ops[i], ops[i + 1], id }); in parse()
910 if (current_block) in parse()
934 if (current_block) in parse()
937 current_block = &set<SPIRBlock>(id); in parse()
[all …]
Dspirv_cross.cpp2980 current_block = &block; in set_current_block()
3102 accessed_variables_to_block[var->self].insert(current_block->self); in handle()
3104 complete_write_variables_to_block[var->self].insert(current_block->self); in handle()
3106 partial_write_variables_to_block[var->self].insert(current_block->self); in handle()
3110 notify_variable_access(args[0], current_block->self); in handle()
3112 notify_variable_access(args[1], current_block->self); in handle()
3128 accessed_variables_to_block[var->self].insert(current_block->self); in handle()
3135 notify_variable_access(args[i], current_block->self); in handle()
3143 notify_variable_access(args[1], current_block->self); in handle()
3168 accessed_variables_to_block[var->self].insert(current_block->self); in handle()
[all …]
/third_party/mesa3d/src/amd/compiler/
Daco_dead_code_analysis.cpp39 int current_block; member
44 : current_block(program->blocks.size() - 1), uses(program->peekAllocationId()) in dce_ctx()
77 ctx.current_block = std::max(ctx.current_block, (int)pred_idx); in process_block()
100 while (ctx.current_block >= 0) { in dead_code_analysis()
101 unsigned next_block = ctx.current_block--; in dead_code_analysis()
Daco_optimizer_postRA.cpp55 Block* current_block; member
62 current_block = block; in reset_block()
96 Idx idx{ctx.current_block->index, ctx.current_instr_idx}; in save_reg_writes()
103 std::fill(ctx.instr_idx_by_regs[ctx.current_block->index].begin() + r, in save_reg_writes()
104 ctx.instr_idx_by_regs[ctx.current_block->index].begin() + r + dw_size, idx); in save_reg_writes()
113 Idx instr_idx = ctx.instr_idx_by_regs[ctx.current_block->index][physReg.reg()]; in last_writer_idx()
117 std::all_of(ctx.instr_idx_by_regs[ctx.current_block->index].begin() + r, in last_writer_idx()
118 ctx.instr_idx_by_regs[ctx.current_block->index].begin() + r + dw_size, in last_writer_idx()
131 Idx instr_idx = ctx.instr_idx_by_regs[ctx.current_block->index][op.physReg().reg()]; in last_writer_idx()
155 unsigned current_block_idx = ctx.current_block->index; in is_clobbered_since()
[all …]
/third_party/mesa3d/src/compiler/glsl/
Dlinker_util.cpp141 struct empty_uniform_block *current_block = NULL; in link_util_update_empty_uniform_locations() local
147 if (!current_block || current_block->start + current_block->slots != i) { in link_util_update_empty_uniform_locations()
148 current_block = rzalloc(prog, struct empty_uniform_block); in link_util_update_empty_uniform_locations()
149 current_block->start = i; in link_util_update_empty_uniform_locations()
151 &current_block->link); in link_util_update_empty_uniform_locations()
155 current_block->slots++; in link_util_update_empty_uniform_locations()
/third_party/ffmpeg/libavformat/
Dvpk.c29 unsigned current_block; member
48 vpk->current_block = 0; in vpk_read_header()
86 vpk->current_block++; in vpk_read_packet()
87 if (vpk->current_block == vpk->block_count) { in vpk_read_packet()
104 } else if (vpk->current_block < vpk->block_count) { in vpk_read_packet()
132 vpk->current_block = timestamp; in vpk_read_seek()
Dc93.c37 int current_block; member
97 c93->current_block = 0; in read_header()
110 C93BlockRecord *br = &c93->block_records[c93->current_block]; in read_packet()
135 if (c93->current_block >= 511 || !br[1].length) in read_packet()
138 c93->current_block++; in read_packet()
181 if (c93->current_block == 0 && c93->current_frame == 0) { in read_packet()
Dmca.c30 uint32_t current_block; member
186 m->current_block++; in read_packet()
187 if (m->current_block > m->block_count) in read_packet()
215 m->current_block = timestamp; in read_seek()
Dbrstm.c35 uint32_t current_block; member
242 b->current_block = 0; in read_header()
392 b->current_block++; in read_packet()
393 if (b->current_block == b->block_count) { in read_packet()
406 } else if (b->current_block < b->block_count) { in read_packet()
438 (b->current_block - 1), 4 * par->channels); in read_packet()
479 b->current_block = timestamp; in read_seek()
/third_party/e2fsprogs/lib/ext2fs/
Dinode.c41 blk64_t current_block; member
182 scan->current_block = ext2fs_inode_table_loc(scan->fs, in ext2fs_open_inode_scan()
184 if (scan->current_block && in ext2fs_open_inode_scan()
185 ((scan->current_block < fs->super->s_first_data_block) || in ext2fs_open_inode_scan()
186 (scan->current_block + fs->inode_blocks_per_group - 1 >= in ext2fs_open_inode_scan()
282 scan->current_block = ext2fs_inode_table_loc(scan->fs, in get_next_blockgroup()
301 if (scan->current_block && in get_next_blockgroup()
302 ((scan->current_block < fs->super->s_first_data_block) || in get_next_blockgroup()
303 (scan->current_block + fs->inode_blocks_per_group - 1 >= in get_next_blockgroup()
328 blk64_t blk = scan->current_block; in check_for_inode_bad_blocks()
[all …]
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
Dtransformation_flatten_conditional_branch.cpp272 auto current_block = header_block; in Apply() local
279 current_block->GetParent()->MoveBasicBlockToAfter(next_block_id, in Apply()
280 current_block); in Apply()
283 current_block = ir_context->cfg()->block(next_block_id); in Apply()
289 current_block->ForEachInst( in Apply()
350 current_block = EncloseInstructionInConditional( in Apply()
351 ir_context, *transformation_context, current_block, instruction, in Apply()
356 next_block_id = current_block->terminator()->GetSingleWordInOperand(0); in Apply()
362 last_block_first_branch = current_block; in Apply()
834 auto current_block = ir_context->get_instr_block(result); in FindConvergenceBlock() local
[all …]
Dtransformation_merge_function_returns.cpp692 auto current_block = dominator_analysis->ImmediateDominator(merge_block); in CheckDefinitionsStillDominateUsesAfterAddingNewPredecessors() local
693 assert(current_block && in CheckDefinitionsStillDominateUsesAfterAddingNewPredecessors()
697 while (!dominator_analysis->Dominates(current_block->id(), pred)) { in CheckDefinitionsStillDominateUsesAfterAddingNewPredecessors()
700 problematic_blocks.emplace_back(current_block); in CheckDefinitionsStillDominateUsesAfterAddingNewPredecessors()
703 current_block = dominator_analysis->ImmediateDominator(current_block); in CheckDefinitionsStillDominateUsesAfterAddingNewPredecessors()
704 assert(current_block && in CheckDefinitionsStillDominateUsesAfterAddingNewPredecessors()
/third_party/spirv-tools/source/fuzz/
Dtransformation_flatten_conditional_branch.cpp272 auto current_block = header_block; in Apply() local
279 current_block->GetParent()->MoveBasicBlockToAfter(next_block_id, in Apply()
280 current_block); in Apply()
283 current_block = ir_context->cfg()->block(next_block_id); in Apply()
289 current_block->ForEachInst( in Apply()
350 current_block = EncloseInstructionInConditional( in Apply()
351 ir_context, *transformation_context, current_block, instruction, in Apply()
356 next_block_id = current_block->terminator()->GetSingleWordInOperand(0); in Apply()
362 last_block_first_branch = current_block; in Apply()
834 auto current_block = ir_context->get_instr_block(result); in FindConvergenceBlock() local
[all …]
Dtransformation_merge_function_returns.cpp674 auto current_block = dominator_analysis->ImmediateDominator(merge_block); in CheckDefinitionsStillDominateUsesAfterAddingNewPredecessors() local
675 assert(current_block && in CheckDefinitionsStillDominateUsesAfterAddingNewPredecessors()
679 while (!dominator_analysis->Dominates(current_block->id(), pred)) { in CheckDefinitionsStillDominateUsesAfterAddingNewPredecessors()
682 problematic_blocks.emplace_back(current_block); in CheckDefinitionsStillDominateUsesAfterAddingNewPredecessors()
685 current_block = dominator_analysis->ImmediateDominator(current_block); in CheckDefinitionsStillDominateUsesAfterAddingNewPredecessors()
686 assert(current_block && in CheckDefinitionsStillDominateUsesAfterAddingNewPredecessors()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dtransformation_flatten_conditional_branch.cpp272 auto current_block = header_block; in Apply() local
279 current_block->GetParent()->MoveBasicBlockToAfter(next_block_id, in Apply()
280 current_block); in Apply()
283 current_block = ir_context->cfg()->block(next_block_id); in Apply()
289 current_block->ForEachInst( in Apply()
350 current_block = EncloseInstructionInConditional( in Apply()
351 ir_context, *transformation_context, current_block, instruction, in Apply()
356 next_block_id = current_block->terminator()->GetSingleWordInOperand(0); in Apply()
362 last_block_first_branch = current_block; in Apply()
834 auto current_block = ir_context->get_instr_block(result); in FindConvergenceBlock() local
[all …]
Dtransformation_merge_function_returns.cpp692 auto current_block = dominator_analysis->ImmediateDominator(merge_block); in CheckDefinitionsStillDominateUsesAfterAddingNewPredecessors() local
693 assert(current_block && in CheckDefinitionsStillDominateUsesAfterAddingNewPredecessors()
697 while (!dominator_analysis->Dominates(current_block->id(), pred)) { in CheckDefinitionsStillDominateUsesAfterAddingNewPredecessors()
700 problematic_blocks.emplace_back(current_block); in CheckDefinitionsStillDominateUsesAfterAddingNewPredecessors()
703 current_block = dominator_analysis->ImmediateDominator(current_block); in CheckDefinitionsStillDominateUsesAfterAddingNewPredecessors()
704 assert(current_block && in CheckDefinitionsStillDominateUsesAfterAddingNewPredecessors()
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_flow.c57 LLVMBasicBlockRef current_block; in lp_build_insert_new_block() local
62 current_block = LLVMGetInsertBlock(gallivm->builder); in lp_build_insert_new_block()
65 next_block = LLVMGetNextBasicBlock(current_block); in lp_build_insert_new_block()
72 LLVMValueRef function = LLVMGetBasicBlockParent(current_block); in lp_build_insert_new_block()
485 LLVMBasicBlockRef current_block = LLVMGetInsertBlock(builder); in create_builder_at_entry() local
486 LLVMValueRef function = LLVMGetBasicBlockParent(current_block); in create_builder_at_entry()
/third_party/spirv-tools/source/opt/
Dprivate_to_local_pass.cpp96 BasicBlock* current_block = context()->get_instr_block(use); in FindLocalFunction() local
97 if (current_block == nullptr) { in FindLocalFunction()
106 Function* current_function = current_block->GetParent(); in FindLocalFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dprivate_to_local_pass.cpp96 BasicBlock* current_block = context()->get_instr_block(use); in FindLocalFunction() local
97 if (current_block == nullptr) { in FindLocalFunction()
106 Function* current_function = current_block->GetParent(); in FindLocalFunction()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dprivate_to_local_pass.cpp96 BasicBlock* current_block = context()->get_instr_block(use); in FindLocalFunction() local
97 if (current_block == nullptr) { in FindLocalFunction()
106 Function* current_function = current_block->GetParent(); in FindLocalFunction()
/third_party/mesa3d/src/asahi/compiler/
Dagx_compile.c850 agx_block_add_successor(ctx->current_block, ctx->continue_block); in agx_emit_jump()
853 agx_block_add_successor(ctx->current_block, ctx->break_block); in agx_emit_jump()
861 ctx->current_block->unconditional_jumps = true; in agx_emit_jump()
908 ctx->current_block = ctx->after_block; in emit_block()
911 ctx->current_block = agx_create_block(ctx); in emit_block()
914 agx_block *blk = ctx->current_block; in emit_block()
950 agx_block *first_block = ctx->current_block; in emit_if()
959 agx_block *end_then = ctx->current_block; in emit_if()
962 _b.cursor = agx_after_block(ctx->current_block); in emit_if()
967 agx_block *end_else = ctx->current_block; in emit_if()
[all …]
/third_party/e2fsprogs/misc/
Dbadblocks.c368 blk_t current_block) in do_read() argument
376 printf("do_read: block %d, try %d\n", current_block, try); in do_read()
379 ((ext2_loff_t) current_block) * block_size); in do_read()
385 if (ext2fs_llseek (dev, (ext2_loff_t) current_block * block_size, in do_read()
386 SEEK_SET) != (ext2_loff_t) current_block * block_size) in do_read()
444 unsigned long current_block) in do_write() argument
449 printf("do_write: block %lu, try %d\n", current_block, try); in do_write()
452 ((ext2_loff_t) current_block) * block_size); in do_write()
458 if (ext2fs_llseek (dev, (ext2_loff_t) current_block * block_size, in do_write()
459 SEEK_SET) != (ext2_loff_t) current_block * block_size) in do_write()
/third_party/mesa3d/src/broadcom/compiler/
Dvir_opt_dead_code.c154 struct qblock *current_block = c->cur_block; in increment_unifa_address() local
162 c->cur_block = current_block; in increment_unifa_address()
175 c->cur_block = current_block; in increment_unifa_address()
/third_party/flutter/skia/third_party/externals/spirv-tools/source/val/
Dfunction.h146 BasicBlock* current_block();
149 const BasicBlock* current_block() const;
Dfunction.cpp105 AddConstruct({ConstructType::kSelection, current_block(), &merge_block}); in RegisterSelectionMerge()
202 const BasicBlock* Function::current_block() const { return current_block_; } in current_block() function in libspirv::Function
203 BasicBlock* Function::current_block() { return current_block_; } in current_block() function in libspirv::Function

123