Home
last modified time | relevance | path

Searched refs:start_block (Results 1 – 25 of 47) sorted by relevance

12

/third_party/mesa3d/src/freedreno/ir3/
Dir3_nir_move_varying_inputs.c49 nir_block *start_block; member
55 nir_block *start_block; member
74 if (instr->block == state->start_block) in check_precondition_instr()
137 if (instr->block == state->start_block) in move_instruction_to_start_block()
148 exec_list_push_tail(&state->start_block->instr_list, &instr->node); in move_instruction_to_start_block()
149 instr->block = state->start_block; in move_instruction_to_start_block()
196 state.start_block = nir_start_block(function->impl); in ir3_nir_move_varying_inputs()
199 if (block == state.start_block) in ir3_nir_move_varying_inputs()
216 state.start_block = nir_start_block(function->impl); in ir3_nir_move_varying_inputs()
221 if (block == state.start_block) in ir3_nir_move_varying_inputs()
Dir3_legalize.c873 struct ir3_block *start_block = ir3_start_block(ir); in ir3_legalize() local
876 if (is_input(instr) && block != start_block) { in ir3_legalize()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp16/
Dconv_fp16.c35 int start_block = block_per_thread * task_id; in ConvFp16() local
36 int start_hw = start_block * tile_n; in ConvFp16()
37 int end_hw = MSMIN(output_hw, (start_block + block_per_thread) * tile_n); in ConvFp16()
78 int start_block = block_per_thread * task_id; in ConvOutNc8hw8Fp16() local
79 int end_block = MSMIN(start_block + block_per_thread, input_block); in ConvOutNc8hw8Fp16()
80 if (start_block >= end_block) { in ConvOutNc8hw8Fp16()
91 for (int i = start_block; i < end_block; i++) { in ConvOutNc8hw8Fp16()
/third_party/spirv-tools/source/opt/
Ddead_branch_elim_pass.cpp504 BasicBlock* start_block = context()->get_instr_block(start_block_id); in FindFirstExitFromSelectionMerge() local
505 Instruction* branch = start_block->terminator(); in FindFirstExitFromSelectionMerge()
509 next_block_id = start_block->MergeBlockIdIfAny(); in FindFirstExitFromSelectionMerge()
538 next_block_id = start_block->MergeBlockIdIfAny(); in FindFirstExitFromSelectionMerge()
588 next_block_id = start_block->MergeBlockIdIfAny(); in FindFirstExitFromSelectionMerge()
637 BasicBlock* start_block = context()->get_instr_block(switch_header_id); in SwitchHasNestedBreak() local
638 uint32_t merge_block_id = start_block->MergeBlockIdIfAny(); in SwitchHasNestedBreak()
Dmerge_return_pass.cpp819 BasicBlock* start_block = &*function_->begin(); in CreateSingleCaseSwitch() local
820 auto split_pos = start_block->begin(); in CreateSingleCaseSwitch()
826 start_block->SplitBasicBlock(context(), TakeNextId(), split_pos); in CreateSingleCaseSwitch()
830 context(), start_block, in CreateSingleCaseSwitch()
838 cfg()->AddEdges(start_block); in CreateSingleCaseSwitch()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Ddead_branch_elim_pass.cpp509 BasicBlock* start_block = context()->get_instr_block(start_block_id); in FindFirstExitFromSelectionMerge() local
510 Instruction* branch = start_block->terminator(); in FindFirstExitFromSelectionMerge()
514 next_block_id = start_block->MergeBlockIdIfAny(); in FindFirstExitFromSelectionMerge()
543 next_block_id = start_block->MergeBlockIdIfAny(); in FindFirstExitFromSelectionMerge()
593 next_block_id = start_block->MergeBlockIdIfAny(); in FindFirstExitFromSelectionMerge()
642 BasicBlock* start_block = context()->get_instr_block(switch_header_id); in SwitchHasNestedBreak() local
643 uint32_t merge_block_id = start_block->MergeBlockIdIfAny(); in SwitchHasNestedBreak()
Dmerge_return_pass.cpp824 BasicBlock* start_block = &*function_->begin(); in CreateSingleCaseSwitch() local
825 auto split_pos = start_block->begin(); in CreateSingleCaseSwitch()
831 start_block->SplitBasicBlock(context(), TakeNextId(), split_pos); in CreateSingleCaseSwitch()
835 context(), start_block, in CreateSingleCaseSwitch()
846 cfg()->AddEdges(start_block); in CreateSingleCaseSwitch()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Ddead_branch_elim_pass.cpp509 BasicBlock* start_block = context()->get_instr_block(start_block_id); in FindFirstExitFromSelectionMerge() local
510 Instruction* branch = start_block->terminator(); in FindFirstExitFromSelectionMerge()
514 next_block_id = start_block->MergeBlockIdIfAny(); in FindFirstExitFromSelectionMerge()
543 next_block_id = start_block->MergeBlockIdIfAny(); in FindFirstExitFromSelectionMerge()
593 next_block_id = start_block->MergeBlockIdIfAny(); in FindFirstExitFromSelectionMerge()
642 BasicBlock* start_block = context()->get_instr_block(switch_header_id); in SwitchHasNestedBreak() local
643 uint32_t merge_block_id = start_block->MergeBlockIdIfAny(); in SwitchHasNestedBreak()
Dmerge_return_pass.cpp824 BasicBlock* start_block = &*function_->begin(); in CreateSingleCaseSwitch() local
825 auto split_pos = start_block->begin(); in CreateSingleCaseSwitch()
831 start_block->SplitBasicBlock(context(), TakeNextId(), split_pos); in CreateSingleCaseSwitch()
835 context(), start_block, in CreateSingleCaseSwitch()
846 cfg()->AddEdges(start_block); in CreateSingleCaseSwitch()
/third_party/mesa3d/src/compiler/spirv/
Dvtn_cfg.c223 if (b->func->start_block == NULL) { in vtn_cfg_handle_prepass_instruction()
248 if (b->func->start_block == NULL) { in vtn_cfg_handle_prepass_instruction()
253 b->func->start_block = b->block; in vtn_cfg_handle_prepass_instruction()
478 struct vtn_block *start_block; member
486 struct vtn_block *start_block) in vtn_add_cfg_work_item() argument
491 work->start_block = start_block; in vtn_add_cfg_work_item()
852 func->start_block); in vtn_build_cfg()
859 for (struct vtn_block *block = work->start_block; block; ) { in vtn_build_cfg()
1261 func->start_block->block = nir_start_block(func->nir_func->impl); in vtn_emit_cf_func_unstructured()
1262 list_addtail(&func->start_block->node.link, &work_list); in vtn_emit_cf_func_unstructured()
[all …]
/third_party/mesa3d/src/compiler/nir/
Dnir_dominance.c191 nir_block *start_block = nir_start_block(impl); in nir_calc_dominance_impl() local
192 start_block->imm_dom = NULL; in nir_calc_dominance_impl()
197 calc_dfs_indicies(start_block, &dfs_index); in nir_calc_dominance_impl()
Dnir.c467 nir_block *start_block = nir_block_create(shader); in nir_function_impl_create_bare() local
469 start_block->cf_node.parent = &impl->cf_node; in nir_function_impl_create_bare()
473 exec_list_push_tail(&impl->body, &start_block->cf_node.node); in nir_function_impl_create_bare()
475 start_block->successors[0] = end_block; in nir_function_impl_create_bare()
476 _mesa_set_add(end_block->predecessors, start_block); in nir_function_impl_create_bare()
Dnir_lower_goto_ifs.c959 nir_block *start_block = nir_cf_node_as_block(start_node); in nir_lower_goto_ifs_impl() local
967 nir_structurize(routing, &b, start_block, mem_ctx); in nir_lower_goto_ifs_impl()
/third_party/gstreamer/gstplugins_bad/sys/v4l2codecs/linux/
Dv4l2-common.h89 __u32 start_block; member
/third_party/gstreamer/gstplugins_good/sys/v4l2/ext/
Dv4l2-common.h89 __u32 start_block; member
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp32/
Dconv_common_fp32.c67 int start_block = block_per_thread * task_id; in ConvFp32() local
68 int start_hw = start_block * cal_num; in ConvFp32()
69 int end_hw = MSMIN(output_hw, (start_block + block_per_thread) * cal_num); in ConvFp32()
146 int start_block = block_per_thread * task_id; in ConvFp32OutNC4HW4() local
147 int start_hw = start_block * cal_num; in ConvFp32OutNC4HW4()
148 int end_hw = MSMIN(output_hw, (start_block + block_per_thread) * cal_num); in ConvFp32OutNC4HW4()
/third_party/skia/third_party/externals/libwebp/src/dsp/
Denc_sse41.c27 int start_block, int end_block, in CollectHistogram_SSE41() argument
32 for (j = start_block; j < end_block; ++j) { in CollectHistogram_SSE41()
Denc_neon.c718 int start_block, int end_block, in CollectHistogram_NEON() argument
723 for (j = start_block; j < end_block; ++j) { in CollectHistogram_NEON()
Denc.c63 int start_block, int end_block, in CollectHistogram_C() argument
67 for (j = start_block; j < end_block; ++j) { in CollectHistogram_C()
/third_party/flutter/skia/third_party/externals/libwebp/src/dsp/
Denc_sse41.c27 int start_block, int end_block, in CollectHistogram_SSE41() argument
32 for (j = start_block; j < end_block; ++j) { in CollectHistogram_SSE41()
/third_party/mesa3d/src/asahi/compiler/
Dagx_compile.c1002 agx_block *start_block = emit_cf_list(ctx, &nloop->body); in emit_loop() local
1008 agx_jmp_exec_any(&_b, start_block); in emit_loop()
1045 agx_block *start_block = NULL; in emit_cf_list() local
1052 if (!start_block) in emit_cf_list()
1053 start_block = block; in emit_cf_list()
1073 return start_block; in emit_cf_list()
/third_party/mesa3d/src/gallium/drivers/vc4/
Dvc4_qpu_emit.c591 struct qblock *start_block = list_first_entry(&c->blocks, in vc4_generate_code() local
602 queue(start_block, qpu_load_imm_ui(qpu_vwsetup(), 0x00001a00)); in vc4_generate_code()
/third_party/ltp/testcases/kernel/fs/scsi/ltpscsi/
Dscsimain.c1933 unsigned int start_block, int write_true, int fua, in sg_build_scsi_cdb() argument
1950 cdbp[1] = (unsigned char)((start_block >> 16) & 0x1f); in sg_build_scsi_cdb()
1951 cdbp[2] = (unsigned char)((start_block >> 8) & 0xff); in sg_build_scsi_cdb()
1952 cdbp[3] = (unsigned char)(start_block & 0xff); in sg_build_scsi_cdb()
1960 if ((start_block + blocks - 1) & (~0x1fffff)) { in sg_build_scsi_cdb()
1977 cdbp[2] = (unsigned char)((start_block >> 24) & 0xff); in sg_build_scsi_cdb()
1978 cdbp[3] = (unsigned char)((start_block >> 16) & 0xff); in sg_build_scsi_cdb()
1979 cdbp[4] = (unsigned char)((start_block >> 8) & 0xff); in sg_build_scsi_cdb()
1980 cdbp[5] = (unsigned char)(start_block & 0xff); in sg_build_scsi_cdb()
1994 cdbp[2] = (unsigned char)((start_block >> 24) & 0xff); in sg_build_scsi_cdb()
[all …]
/third_party/mesa3d/src/panfrost/midgard/
Dmidgard_compile.c2882 midgard_block *start_block = ctx->current_block; in emit_loop() local
2899 pan_block_add_successor(&start_block->base, &loop_block->base); in emit_loop()
2910 mir_foreach_block_from(ctx, start_block, _block) { in emit_loop()
2942 midgard_block *start_block = NULL; in emit_cf_list() local
2949 if (!start_block) in emit_cf_list()
2950 start_block = block; in emit_cf_list()
2969 return start_block; in emit_cf_list()
/third_party/mesa3d/src/intel/compiler/
Dbrw_shader.cpp1195 adjust_later_block_ips(bblock_t *start_block, int ip_adjustment) in adjust_later_block_ips() argument
1197 for (bblock_t *block_iter = start_block->next(); in adjust_later_block_ips()

12