Home
last modified time | relevance | path

Searched refs:live_out (Results 1 – 25 of 43) sorted by relevance

12

/third_party/skia/third_party/externals/spirv-tools/test/opt/
Dregister_liveness.cpp133 std::unordered_set<uint32_t> live_out{ in TEST_F() local
137 CompareSets(live_sets->live_out_, live_out); in TEST_F()
158 std::unordered_set<uint32_t> live_out{ in TEST_F() local
163 CompareSets(live_sets->live_out_, live_out); in TEST_F()
175 std::unordered_set<uint32_t> live_out{}; in TEST_F() local
176 CompareSets(live_sets->live_out_, live_out); in TEST_F()
438 std::unordered_set<uint32_t> live_out{ in TEST_F() local
448 CompareSets(live_sets->live_out_, live_out); in TEST_F()
469 std::unordered_set<uint32_t> live_out{ in TEST_F() local
481 CompareSets(live_sets->live_out_, live_out); in TEST_F()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/
Dregister_liveness.cpp133 std::unordered_set<uint32_t> live_out{ in TEST_F() local
137 CompareSets(live_sets->live_out_, live_out); in TEST_F()
158 std::unordered_set<uint32_t> live_out{ in TEST_F() local
163 CompareSets(live_sets->live_out_, live_out); in TEST_F()
175 std::unordered_set<uint32_t> live_out{}; in TEST_F() local
176 CompareSets(live_sets->live_out_, live_out); in TEST_F()
438 std::unordered_set<uint32_t> live_out{ in TEST_F() local
448 CompareSets(live_sets->live_out_, live_out); in TEST_F()
469 std::unordered_set<uint32_t> live_out{ in TEST_F() local
481 CompareSets(live_sets->live_out_, live_out); in TEST_F()
[all …]
/third_party/spirv-tools/test/opt/
Dregister_liveness.cpp133 std::unordered_set<uint32_t> live_out{ in TEST_F() local
137 CompareSets(live_sets->live_out_, live_out); in TEST_F()
158 std::unordered_set<uint32_t> live_out{ in TEST_F() local
163 CompareSets(live_sets->live_out_, live_out); in TEST_F()
175 std::unordered_set<uint32_t> live_out{}; in TEST_F() local
176 CompareSets(live_sets->live_out_, live_out); in TEST_F()
438 std::unordered_set<uint32_t> live_out{ in TEST_F() local
448 CompareSets(live_sets->live_out_, live_out); in TEST_F()
469 std::unordered_set<uint32_t> live_out{ in TEST_F() local
481 CompareSets(live_sets->live_out_, live_out); in TEST_F()
[all …]
/third_party/mesa3d/src/freedreno/ir3/
Dir3_liveness.c42 memcpy(tmp_live, live->live_out[block->index], in compute_block_liveness()
81 if (tmp_live[j] & ~live->live_out[pred->index][j]) in compute_block_liveness()
83 live->live_out[pred->index][j] |= tmp_live[j]; in compute_block_liveness()
93 if (!BITSET_TEST(live->live_out[pred->index], name)) { in compute_block_liveness()
95 BITSET_SET(live->live_out[pred->index], name); in compute_block_liveness()
107 if (!BITSET_TEST(live->live_out[pred->index], name)) { in compute_block_liveness()
109 BITSET_SET(live->live_out[pred->index], name); in compute_block_liveness()
144 live->live_out = ralloc_array(live, BITSET_WORD *, block_count); in ir3_calc_liveness()
150 live->live_out[block->index] = in ir3_calc_liveness()
174 if (BITSET_TEST(live->live_out[instr->block->index], def->name)) in ir3_def_live_after()
Dir3_ra.h142 DECLARE_ARRAY(BITSET_WORD *, live_out);
/third_party/mesa3d/src/compiler/nir/
Dnir_liveness.c65 block->live_out = reralloc(block, block->live_out, BITSET_WORD, in init_liveness_block()
67 memset(block->live_out, 0, state->bitset_words * sizeof(BITSET_WORD)); in init_liveness_block()
138 progress |= live[i] & ~pred->live_out[i]; in propagate_across_edge()
139 pred->live_out[i] |= live[i]; in propagate_across_edge()
180 memcpy(block->live_in, block->live_out, in nir_live_ssa_defs_impl()
233 return cursor.block->live_out; in nir_get_live_ssa_defs()
242 return cursor.instr->block->live_out; in nir_get_live_ssa_defs()
249 memcpy(live, block->live_out, bitset_words * sizeof(BITSET_WORD)); in nir_get_live_ssa_defs()
308 if (BITSET_TEST(instr->block->live_out, def->index)) { in nir_ssa_def_is_live_at()
Dnir_sweep.c54 ralloc_free(block->live_out); in sweep_block()
55 block->live_out = NULL; in sweep_block()
/third_party/mesa3d/src/asahi/compiler/
Dagx_liveness.c73 if (block->live_out) in agx_compute_liveness()
74 ralloc_free(block->live_out); in agx_compute_liveness()
77 block->live_out = rzalloc_array(block, BITSET_WORD, words); in agx_compute_liveness()
88 memcpy(blk->live_in, blk->live_out, words * sizeof(BITSET_WORD)); in agx_compute_liveness()
132 progress |= live[i] & ~((*pred)->live_out[i]); in agx_compute_liveness()
133 (*pred)->live_out[i] |= live[i]; in agx_compute_liveness()
/third_party/mesa3d/src/panfrost/util/
Dpan_liveness.c66 blk->live_out[i] |= succ->live_in[i]; in liveness_block_live_out()
84 memcpy(live, blk->live_out, temp_count * sizeof(uint16_t)); in liveness_block_update()
129 block->live_out = rzalloc_array(block, uint16_t, temp_count); in pan_compute_liveness()
168 if (block->live_out) in pan_free_liveness()
169 ralloc_free(block->live_out); in pan_free_liveness()
172 block->live_out = NULL; in pan_free_liveness()
Dpan_ir.h401 uint16_t *live_out; member
/third_party/mesa3d/src/panfrost/bifrost/
Dbi_liveness.c65 blk->live_out[i] |= succ->live_in[i]; in liveness_block_update()
69 memcpy(live, blk->live_out, temp_count); in liveness_block_update()
103 if (block->live_out) in bi_compute_liveness()
104 ralloc_free(block->live_out); in bi_compute_liveness()
107 block->live_out = rzalloc_array(block, uint8_t, temp_count); in bi_compute_liveness()
Dbi_pressure_schedule.c293 memcpy(s->live, block->live_out, s->max); in pressure_schedule_block()
302 memcpy(s->live, block->live_out, s->max); in pressure_schedule_block()
/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_compiler_nir_liveness.c61 block->live_out = reralloc(block, block->live_out, BITSET_WORD, in init_liveness_block()
63 memset(block->live_out, 0, state->bitset_words * sizeof(BITSET_WORD)); in init_liveness_block()
114 progress |= succ->live_in[i] & ~pred->live_out[i]; in propagate_across_edge()
115 pred->live_out[i] |= succ->live_in[i]; in propagate_across_edge()
184 memcpy(block->live_in, block->live_out, in etna_live_defs()
245 BITSET_FOREACH_SET(i, block->live_out, state.num_defs) in etna_live_defs()
/third_party/spirv-tools/source/opt/
Dregister_pressure.cpp398 RegionRegisterLiveness::LiveSet live_out = live_inout_info->live_out_; in SimulateFusion() local
399 live_out.insert(live_loop.begin(), live_loop.end()); in SimulateFusion()
402 live_inout_info->used_registers_ + live_out.size() - in SimulateFusion()
429 RegionRegisterLiveness::LiveSet live_out = live_inout_info->live_out_; in SimulateFusion() local
430 live_out.insert(live_loop_l2.begin(), live_loop_l2.end()); in SimulateFusion()
433 live_inout_info->used_registers_ + live_out.size() - in SimulateFusion()
491 auto live_out = MakeFilterIteratorRange(l2_sim_result->live_out_.begin(), in SimulateFission() local
494 l1_sim_result->live_out_.insert(live_out.begin(), live_out.end()); in SimulateFission()
497 auto live_out = in SimulateFission() local
500 l1_sim_result->live_out_.insert(live_out.begin(), live_out.end()); in SimulateFission()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dregister_pressure.cpp398 RegionRegisterLiveness::LiveSet live_out = live_inout_info->live_out_; in SimulateFusion() local
399 live_out.insert(live_loop.begin(), live_loop.end()); in SimulateFusion()
402 live_inout_info->used_registers_ + live_out.size() - in SimulateFusion()
429 RegionRegisterLiveness::LiveSet live_out = live_inout_info->live_out_; in SimulateFusion() local
430 live_out.insert(live_loop_l2.begin(), live_loop_l2.end()); in SimulateFusion()
433 live_inout_info->used_registers_ + live_out.size() - in SimulateFusion()
491 auto live_out = MakeFilterIteratorRange(l2_sim_result->live_out_.begin(), in SimulateFission() local
494 l1_sim_result->live_out_.insert(live_out.begin(), live_out.end()); in SimulateFission()
497 auto live_out = in SimulateFission() local
500 l1_sim_result->live_out_.insert(live_out.begin(), live_out.end()); in SimulateFission()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dregister_pressure.cpp398 RegionRegisterLiveness::LiveSet live_out = live_inout_info->live_out_; in SimulateFusion() local
399 live_out.insert(live_loop.begin(), live_loop.end()); in SimulateFusion()
402 live_inout_info->used_registers_ + live_out.size() - in SimulateFusion()
429 RegionRegisterLiveness::LiveSet live_out = live_inout_info->live_out_; in SimulateFusion() local
430 live_out.insert(live_loop_l2.begin(), live_loop_l2.end()); in SimulateFusion()
433 live_inout_info->used_registers_ + live_out.size() - in SimulateFusion()
491 auto live_out = MakeFilterIteratorRange(l2_sim_result->live_out_.begin(), in SimulateFission() local
494 l1_sim_result->live_out_.insert(live_out.begin(), live_out.end()); in SimulateFission()
497 auto live_out = in SimulateFission() local
500 l1_sim_result->live_out_.insert(live_out.begin(), live_out.end()); in SimulateFission()
/third_party/mesa3d/src/amd/compiler/
Daco_reindex_ssa.cpp98 update_live_out(idx_ctx& ctx, std::vector<IDSet>& live_out) in update_live_out() argument
100 for (IDSet& set : live_out) { in update_live_out()
120 reindex_ssa(Program* program, std::vector<IDSet>& live_out) in reindex_ssa() argument
124 update_live_out(ctx, live_out); in reindex_ssa()
Daco_lower_to_cssa.cpp66 std::vector<IDSet>& live_out; /* live-out sets per block */ member
128 ctx.live_out[preds[i]].erase(op.tempId()); in collect_parallelcopies()
129 ctx.live_out[preds[i]].insert(tmp.id()); in collect_parallelcopies()
190 bool parent_live = ctx.live_out[block_idx].count(parent.id()); in intersects()
201 if (!ctx.live_out[pred].count(parent.id())) in intersects()
353 } while (block_idx != pred && ctx.live_out[pred].count(copy.op.tempId())); in try_coalesce_copy()
456 ctx.live_out[i].erase(cp.def.tempId()); in emit_parallelcopies()
457 ctx.live_out[i].insert(cp.op.tempId()); in emit_parallelcopies()
530 reindex_ssa(program, live_vars.live_out); in lower_to_cssa()
531 cssa_ctx ctx = {program, live_vars.live_out}; in lower_to_cssa()
Daco_live_var_analysis.cpp115 IDSet live = lives.live_out[block->index]; in process_live_temps_per_block()
241 auto it = lives.live_out[pred_idx].insert(t); in process_live_temps_per_block()
262 const bool inserted = lives.live_out[preds[i]].insert(operand.tempId()).second; in process_live_temps_per_block()
438 result.live_out.resize(program->blocks.size()); in live_var_analysis()
/third_party/mesa3d/src/broadcom/compiler/
Dvir_live_variables.c217 ~block->live_out[i]); in vir_live_variables_dataflow()
219 block->live_out[i] |= new_live_out; in vir_live_variables_dataflow()
228 (block->live_out[i] & in vir_live_variables_dataflow()
284 if (BITSET_TEST(block->live_out, i) && in vir_compute_start_end()
311 ralloc_free(block->live_out); in vir_calculate_live_intervals()
329 block->live_out = rzalloc_array(c, BITSET_WORD, bitset_words); in vir_calculate_live_intervals()
/third_party/mesa3d/src/gallium/drivers/vc4/
Dvc4_qir_live_variables.c236 ~block->live_out[i]); in qir_live_variables_dataflow()
238 block->live_out[i] |= new_live_out; in qir_live_variables_dataflow()
247 (block->live_out[i] & in qir_live_variables_dataflow()
275 if (BITSET_TEST(block->live_out, i)) { in qir_compute_start_end()
307 block->live_out = rzalloc_array(c, BITSET_WORD, bitset_words); in qir_calculate_live_intervals()
/third_party/mesa3d/src/gallium/drivers/lima/ir/gp/
Dregalloc.c85 block->live_out[j] |= block->successors[i]->live_in[j]; in propagate_liveness_block()
89 memcpy(ctx->live, block->live_out, ctx->bitset_words * sizeof(BITSET_WORD)); in propagate_liveness_block()
215 ctx->live[i] = block->live_out[i] & block->def_out[i]; in calc_interference()
367 BITSET_FOREACH_SET(reg_idx, block->live_out, ctx->comp->cur_reg) { in assign_regs()
617 block->live_out = rzalloc_array(ctx.mem_ctx, BITSET_WORD, ctx.bitset_words); in gpir_regalloc_prog()
Dgpir.h356 BITSET_WORD *live_out; member
/third_party/mesa3d/src/panfrost/midgard/
Dmidgard_liveness.c84 if (pan_liveness_get(block->base.live_out, src, ctx->temp_count)) in mir_is_live_after()
Dmidgard_opt_dce.c74 uint16_t *live = mem_dup(block->base.live_out, ctx->temp_count * sizeof(uint16_t)); in midgard_opt_dead_code_eliminate_block()

12