/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/ |
D | ir2.c | 105 insert(struct ir2_context *ctx, unsigned block_idx, unsigned reg_idx, in insert() argument 115 if (s->instr && s->instr->block_idx != block_idx) in insert() 117 if (s->instr_s && s->instr_s->block_idx != block_idx) in insert() 190 sched = insert(ctx, instr->block_idx, reg->idx, src1, &comp); in scalarize_case1() 207 ins->block_idx = instr->block_idx; in scalarize_case1() 224 int block_idx = -1; in sched_next() local 242 if (block_idx < 0) in sched_next() 243 block_idx = instr->block_idx; in sched_next() 244 else if (block_idx != instr->block_idx || /* must be same block */ in sched_next() 295 assert(block_idx == -1); in sched_next() [all …]
|
D | ir2_assemble.c | 375 unsigned block_idx = 0; in assemble() local 403 .address = instr->cf.block_idx, /* will be fixed later */ in assemble() 406 .direction = instr->cf.block_idx > instr->block_idx, in assemble() 427 block = ctx->instr_sched[j].instr->block_idx; in assemble() 429 block = ctx->instr_sched[j].instr_s->block_idx; in assemble() 431 assert(block_idx <= block); in assemble() 452 (exec.count && (need_sync || block != block_idx))) { in assemble() 459 while (block_idx < block) in assemble() 460 block_addr[++block_idx] = num_cf; in assemble()
|
D | ir2_cp.c | 68 if (p->block_idx != instr->block_idx) in cp_src() 188 redirect &= (c[i]->block_idx == instr->block_idx); in cp_export()
|
D | ir2_private.h | 79 unsigned block_idx; member 137 uint8_t block_idx; member 150 unsigned block_idx, pred_idx; member
|
D | ir2_nir.c | 285 instr->block_idx = ctx->block_idx; in ir2_instr_create() 824 ctx->block_has_jump[ctx->block_idx] = true; in emit_instr() 904 ctx->block_idx = block->index; in emit_block() 923 instr->cf.block_idx = succs->index; in emit_block()
|
/third_party/mesa3d/src/amd/compiler/ |
D | aco_spill.cpp | 176 next_uses_per_block(spill_ctx& ctx, unsigned block_idx, uint32_t& worklist) in next_uses_per_block() argument 178 Block* block = &ctx.program->blocks[block_idx]; in next_uses_per_block() 179 ctx.next_use_distances_start[block_idx] = ctx.next_use_distances_end[block_idx]; in next_uses_per_block() 180 auto& next_use_distances_start = ctx.next_use_distances_start[block_idx]; in next_uses_per_block() 208 next_use_distances_start[op.getTemp()] = {block_idx, idx}; in next_uses_per_block() 213 assert(block_idx != 0 || next_use_distances_start.empty()); in next_uses_per_block() 219 std::pair<uint32_t, uint32_t> distance{block_idx, 0}; in next_uses_per_block() 281 unsigned block_idx = --worklist; in compute_global_next_uses() local 282 next_uses_per_block(ctx, block_idx, worklist); in compute_global_next_uses() 440 get_demand_before(spill_ctx& ctx, unsigned block_idx, unsigned idx) in get_demand_before() argument [all …]
|
D | aco_lower_phis.cpp | 54 get_ssa(Program* program, unsigned block_idx, ssa_state* state, bool input) in get_ssa() argument 57 if (state->visited[block_idx]) in get_ssa() 58 return state->outputs[block_idx]; in get_ssa() 61 Operand output = get_ssa(program, block_idx, state, true); in get_ssa() 62 state->visited[block_idx] = true; in get_ssa() 63 state->outputs[block_idx] = output; in get_ssa() 68 if (state->any_pred_defined[block_idx] == pred_defined::undef) in get_ssa() 71 Block& block = program->blocks[block_idx]; in get_ssa() 82 bool previously_visited = state->visited[block_idx]; in get_ssa() 87 state->visited[block_idx] = true; in get_ssa() [all …]
|
D | aco_ssa_elimination.cpp | 87 for (unsigned block_idx = 0; block_idx < ctx.program->blocks.size(); ++block_idx) { in insert_parallelcopies() local 88 auto& logical_phi_info = ctx.logical_phi_info[block_idx]; in insert_parallelcopies() 92 Block& block = ctx.program->blocks[block_idx]; in insert_parallelcopies() 115 for (unsigned block_idx = 0; block_idx < ctx.program->blocks.size(); ++block_idx) { in insert_parallelcopies() local 116 auto& linear_phi_info = ctx.linear_phi_info[block_idx]; in insert_parallelcopies() 120 Block& block = ctx.program->blocks[block_idx]; in insert_parallelcopies()
|
D | aco_lower_to_cssa.cpp | 187 uint32_t block_idx = node_var.defined_at; in intersects() local 190 bool parent_live = ctx.live_out[block_idx].count(parent.id()); in intersects() 198 ? ctx.program->blocks[block_idx].logical_preds in intersects() 199 : ctx.program->blocks[block_idx].linear_preds; in intersects() 206 for (const copy& cp : ctx.parallelcopies[block_idx]) { in intersects() 218 const Block& block = ctx.program->blocks[block_idx]; in intersects() 338 try_coalesce_copy(cssa_ctx& ctx, copy copy, uint32_t block_idx) in try_coalesce_copy() argument 348 uint32_t pred = block_idx; in try_coalesce_copy() 350 block_idx = pred; in try_coalesce_copy() 353 } while (block_idx != pred && ctx.live_out[pred].count(copy.op.tempId())); in try_coalesce_copy() [all …]
|
D | aco_live_var_analysis.cpp | 449 unsigned block_idx = --worklist; in live_var_analysis() local 450 process_live_temps_per_block(program, result, &program->blocks[block_idx], worklist, in live_var_analysis() 452 new_demand.update(program->blocks[block_idx].register_demand); in live_var_analysis()
|
D | aco_insert_exec_mask.cpp | 111 mark_block_wqm(wqm_ctx& ctx, unsigned block_idx) in mark_block_wqm() argument 113 if (ctx.branch_wqm[block_idx]) in mark_block_wqm() 117 if (block.index >= block_idx && block.kind & block_kind_top_level) in mark_block_wqm() 496 handle_atomic_data(exec_ctx& ctx, Builder& bld, unsigned block_idx, aco_ptr<Instruction>& instr) in handle_atomic_data() argument 509 transition_to_WQM(ctx, bld, block_idx); in handle_atomic_data()
|
/third_party/ffmpeg/libavfilter/ |
D | qp_table.c | 35 unsigned int block_idx; in ff_qp_table_extract() local 62 for (block_idx = 0; block_idx < nb_mb; block_idx++) { in ff_qp_table_extract() 63 AVVideoBlockParams *b = av_video_enc_params_block(par, block_idx); in ff_qp_table_extract() 64 (*table)[block_idx] = par->qp + b->delta_qp; in ff_qp_table_extract()
|
D | vf_qp.c | 136 #define BLOCK_QP_DELTA(block_idx) \ in filter_frame() argument 137 (par_in ? av_video_enc_params_block(par_in, block_idx)->delta_qp : 0) in filter_frame() 144 unsigned int block_idx = y * s->qstride + x; in filter_frame() local 145 AVVideoBlockParams *b = av_video_enc_params_block(par_out, block_idx); in filter_frame() 146 int qp = sd_in ? in_qp_global + BLOCK_QP_DELTA(block_idx) : NAN; in filter_frame() 162 unsigned int block_idx = y * s->qstride + x; in filter_frame() local 163 AVVideoBlockParams *b = av_video_enc_params_block(par_out, block_idx); in filter_frame() 164 b->delta_qp = s->lut[129 + (int8_t)(in_qp_global + BLOCK_QP_DELTA(block_idx))]; in filter_frame()
|
D | vf_codecview.c | 268 for (int block_idx = 0; block_idx < par->nb_blocks; block_idx++) { in filter_frame() local 269 AVVideoBlockParams *b = av_video_enc_params_block(par, block_idx); in filter_frame()
|
/third_party/skia/third_party/externals/brotli/c/enc/ |
D | block_splitter_inc.h | 232 size_t block_idx = 0; in FN() local 234 BROTLI_DCHECK(block_idx < num_blocks); in FN() 235 ++block_lengths[block_idx]; in FN() 237 ++block_idx; in FN() 240 BROTLI_DCHECK(block_idx == num_blocks); in FN() 342 size_t block_idx = 0; in FN() local 349 split->types[block_idx] = id; in FN() 350 split->lengths[block_idx] = cur_length; in FN() 353 ++block_idx; in FN() 356 split->num_blocks = block_idx; in FN()
|
/third_party/node/deps/brotli/c/enc/ |
D | block_splitter_inc.h | 232 size_t block_idx = 0; in FN() local 234 BROTLI_DCHECK(block_idx < num_blocks); in FN() 235 ++block_lengths[block_idx]; in FN() 237 ++block_idx; in FN() 240 BROTLI_DCHECK(block_idx == num_blocks); in FN() 342 size_t block_idx = 0; in FN() local 349 split->types[block_idx] = id; in FN() 350 split->lengths[block_idx] = cur_length; in FN() 353 ++block_idx; in FN() 356 split->num_blocks = block_idx; in FN()
|
/third_party/ffmpeg/libavcodec/ |
D | wmavoice.c | 1091 int block_idx, AMRFixed *fcb) in aw_pulse_set2() argument 1102 int pulse_off = s->aw_first_pulse_off[block_idx], in aw_pulse_set2() 1106 if (s->aw_n_pulses[block_idx] > 0) in aw_pulse_set2() 1112 if (block_idx == 0) { in aw_pulse_set2() 1116 if (s->aw_n_pulses[block_idx] > 0) in aw_pulse_set2() 1121 pulse_start = s->aw_n_pulses[block_idx] > 0 ? pulse_off - range / 2 : 0; in aw_pulse_set2() 1129 if (s->aw_n_pulses[block_idx] > 0) in aw_pulse_set2() 1144 aidx = get_bits(gb, s->aw_n_pulses[0] > 0 ? 5 - 2 * block_idx : 4); in aw_pulse_set2() 1181 int block_idx, AMRFixed *fcb) in aw_pulse_set1() argument 1183 int val = get_bits(gb, 12 - 2 * (s->aw_idx_is_ext && !block_idx)); in aw_pulse_set1() [all …]
|
D | atrac9dec.c | 647 int frame_idx, int block_idx) in atrac9_decode_block() argument 651 const int stereo = s->block_config->type[block_idx] == ATRAC9_BLOCK_TYPE_CPE; in atrac9_decode_block() 653 if (s->block_config->type[block_idx] == ATRAC9_BLOCK_TYPE_LFE) { in atrac9_decode_block() 776 const int dst_idx = s->block_config->plane_map[block_idx][i]; in atrac9_decode_block()
|
D | mpegvideo_dec.c | 528 const unsigned int block_idx = y * p->alloc_mb_width + x; in ff_mpv_export_qp_table() local 530 AVVideoBlockParams *const b = av_video_enc_params_block(par, block_idx); in ff_mpv_export_qp_table()
|
D | mjpegdec.c | 1522 int block_idx = s->block_stride[c] * (v * mb_y + y) + in mjpeg_decode_scan() local 1524 int16_t *block = s->blocks[c][block_idx]; in mjpeg_decode_scan() 1574 int block_idx = mb_y * s->block_stride[c]; in mjpeg_decode_scan_progressive_ac() local 1575 int16_t (*block)[64] = &s->blocks[c][block_idx]; in mjpeg_decode_scan_progressive_ac() 1576 uint8_t *last_nnz = &s->last_nnz[c][block_idx]; in mjpeg_decode_scan_progressive_ac() 1631 int block_idx = mb_y * s->block_stride[c]; in mjpeg_idct_scan_progressive_ac() local 1632 int16_t (*block)[64] = &s->blocks[c][block_idx]; in mjpeg_idct_scan_progressive_ac()
|
/third_party/ffmpeg/libavformat/ |
D | wv.h | 38 uint32_t block_idx; //< index of the first sample in this block member
|
D | wv.c | 44 wv->block_idx = AV_RL32(data + 16); in ff_wv_parse_header()
|
D | wvdec.c | 320 pkt->pts = wc->header.block_idx; in wv_read_packet()
|
/third_party/mesa3d/src/intel/compiler/ |
D | brw_schedule_instructions.cpp | 614 this->block_idx = 0; in instruction_scheduler() 686 int block_idx; member in instruction_scheduler 887 if (!BITSET_TEST(livein[block_idx], inst->dst.nr) && in get_register_pressure_benefit() 897 !BITSET_TEST(liveout[block_idx], inst->src[i].nr) && in get_register_pressure_benefit() 905 if (!BITSET_TEST(hw_liveout[block_idx], reg) && in get_register_pressure_benefit() 1760 block_idx = block->num; in schedule_instructions()
|
/third_party/mesa3d/src/panfrost/midgard/ |
D | compiler.h | 664 unsigned midgard_get_first_tag_from_block(compiler_context *ctx, unsigned block_idx);
|