Home
last modified time | relevance | path

Searched refs:pred_idx (Results 1 – 11 of 11) sorted by relevance

/external/mesa3d/src/amd/compiler/
Daco_dominance.cpp53 for (unsigned pred_idx : block.logical_preds) { in dominator_tree() local
54 if ((int) program->blocks[pred_idx].logical_idom == -1) in dominator_tree()
58 new_logical_idom = pred_idx; in dominator_tree()
62 while ((int) pred_idx != new_logical_idom) { in dominator_tree()
63 if ((int) pred_idx > new_logical_idom) in dominator_tree()
64 pred_idx = program->blocks[pred_idx].logical_idom; in dominator_tree()
65 if ((int) pred_idx < new_logical_idom) in dominator_tree()
70 for (unsigned pred_idx : block.linear_preds) { in dominator_tree() local
71 if ((int) program->blocks[pred_idx].linear_idom == -1) in dominator_tree()
75 new_linear_idom = pred_idx; in dominator_tree()
[all …]
Daco_spill.cpp188 unsigned pred_idx = instr->opcode == aco_opcode::p_phi ? in next_uses_per_block() local
192 if (instr->operands[i].getTemp() == ctx.program->blocks[pred_idx].live_out_exec) in next_uses_per_block()
194 …if (ctx.next_use_distances_end[pred_idx].find(instr->operands[i].getTemp()) == ctx.next_use_distan… in next_uses_per_block()
195 …ctx.next_use_distances_end[pred_idx][instr->operands[i].getTemp()] != std::pair<uint32_t, uint32_t… in next_uses_per_block()
196 worklist.insert(pred_idx); in next_uses_per_block()
197 ctx.next_use_distances_end[pred_idx][instr->operands[i].getTemp()] = {block_idx, 0}; in next_uses_per_block()
210 for (unsigned pred_idx : preds) { in next_uses_per_block() local
211 if (temp == ctx.program->blocks[pred_idx].live_out_exec) in next_uses_per_block()
213 if (ctx.program->blocks[pred_idx].loop_nest_depth > block->loop_nest_depth) in next_uses_per_block()
215 …if (ctx.next_use_distances_end[pred_idx].find(temp) != ctx.next_use_distances_end[pred_idx].end())… in next_uses_per_block()
[all …]
Daco_dead_code_analysis.cpp73 for (unsigned pred_idx : block.linear_preds) in process_block() local
74 ctx.current_block = std::max(ctx.current_block, (int) pred_idx); in process_block()
Daco_live_var_analysis.cpp219 for (unsigned pred_idx : preds) { in process_live_temps_per_block() local
220 auto it = lives.live_out[pred_idx].insert(t); in process_live_temps_per_block()
222 worklist.insert(pred_idx); in process_live_temps_per_block()
Daco_insert_exec_mask.cpp177 for (unsigned pred_idx : block.logical_preds) in mark_block_wqm() local
178 mark_block_wqm(ctx, pred_idx); in mark_block_wqm()
250 for (unsigned pred_idx : block->logical_preds) { in get_block_needs() local
251 mark_block_wqm(ctx, pred_idx); in get_block_needs()
252 exec_ctx.info[pred_idx].logical_end_wqm = true; in get_block_needs()
253 ctx.worklist.insert(pred_idx); in get_block_needs()
272 for (unsigned pred_idx : block->logical_preds) in get_block_needs() local
273 mark_block_wqm(ctx, pred_idx); in get_block_needs()
Daco_insert_NOPs.cpp202 for (int pred_idx = block->instructions.size() - 1; pred_idx >= 0; pred_idx--) { in handle_raw_hazard_internal() local
203 aco_ptr<Instruction>& pred = block->instructions[pred_idx]; in handle_raw_hazard_internal()
Daco_register_allocation.cpp2406 for (unsigned pred_idx : succ.linear_preds) { in register_allocation() local
2407 if (!ctx.filled[pred_idx]) { in register_allocation()
Daco_instruction_selection.cpp96 static void add_logical_edge(unsigned pred_idx, Block *succ) in add_logical_edge() argument
98 succ->logical_preds.emplace_back(pred_idx); in add_logical_edge()
102 static void add_linear_edge(unsigned pred_idx, Block *succ) in add_linear_edge() argument
104 succ->linear_preds.emplace_back(pred_idx); in add_linear_edge()
107 static void add_edge(unsigned pred_idx, Block *succ) in add_edge() argument
109 add_logical_edge(pred_idx, succ); in add_edge()
110 add_linear_edge(pred_idx, succ); in add_edge()
/external/libaom/libaom/av1/encoder/
Dtemporal_filter.c410 int pred_idx = 0; in av1_apply_temporal_filter_self() local
413 const int idx = plane_offset + pred_idx; // Index with plane shift. in av1_apply_temporal_filter_self()
417 ++pred_idx; in av1_apply_temporal_filter_self()
565 int pred_idx = 0; in av1_apply_temporal_filter_yuv_c() local
612 const int idx = plane_offset + pred_idx; // Index with plane shift. in av1_apply_temporal_filter_yuv_c()
619 ++pred_idx; in av1_apply_temporal_filter_yuv_c()
706 int pred_idx = 0; in av1_apply_temporal_filter_planewise_c() local
757 const int idx = plane_offset + pred_idx; // Index with plane shift. in av1_apply_temporal_filter_planewise_c()
762 ++pred_idx; in av1_apply_temporal_filter_planewise_c()
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dir2_nir.c920 unsigned pred = ctx->pred, pred_idx = ctx->pred_idx; in emit_if() local
939 instr->src[0] = ir2_src(pred_idx, 0, IR2_SRC_SSA); in emit_if()
947 ctx->pred_idx = instr->idx; in emit_if()
956 instr->src[0] = ir2_src(ctx->pred_idx, 0, IR2_SRC_SSA); in emit_if()
964 ctx->pred_idx = instr->idx; in emit_if()
971 instr->src[0] = ir2_src(ctx->pred_idx, 0, IR2_SRC_SSA); in emit_if()
979 ctx->pred_idx = instr->idx; in emit_if()
Dir2_private.h150 unsigned block_idx, pred_idx; member