Home
last modified time | relevance | path

Searched refs:live_in (Results 1 - 25 of 27) sorted by relevance

12

/third_party/skia/third_party/externals/spirv-tools/test/opt/
H A Dregister_liveness.cpp126 std::unordered_set<uint32_t> live_in{ in TEST_F()
131 CompareSets(live_sets->live_in_, live_in); in TEST_F()
152 std::unordered_set<uint32_t> live_in{ in TEST_F()
156 CompareSets(live_sets->live_in_, live_in); in TEST_F()
168 std::unordered_set<uint32_t> live_in{ in TEST_F()
173 CompareSets(live_sets->live_in_, live_in); in TEST_F()
428 std::unordered_set<uint32_t> live_in{ in TEST_F()
436 CompareSets(live_sets->live_in_, live_in); in TEST_F()
455 std::unordered_set<uint32_t> live_in{ in TEST_F()
467 CompareSets(live_sets->live_in_, live_in); in TEST_F()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/
H A Dregister_liveness.cpp126 std::unordered_set<uint32_t> live_in{ in TEST_F()
131 CompareSets(live_sets->live_in_, live_in); in TEST_F()
152 std::unordered_set<uint32_t> live_in{ in TEST_F()
156 CompareSets(live_sets->live_in_, live_in); in TEST_F()
168 std::unordered_set<uint32_t> live_in{ in TEST_F()
173 CompareSets(live_sets->live_in_, live_in); in TEST_F()
428 std::unordered_set<uint32_t> live_in{ in TEST_F()
436 CompareSets(live_sets->live_in_, live_in); in TEST_F()
455 std::unordered_set<uint32_t> live_in{ in TEST_F()
467 CompareSets(live_sets->live_in_, live_in); in TEST_F()
[all...]
/third_party/spirv-tools/test/opt/
H A Dregister_liveness.cpp125 std::unordered_set<uint32_t> live_in{ in TEST_F()
130 CompareSets(live_sets->live_in_, live_in); in TEST_F()
151 std::unordered_set<uint32_t> live_in{ in TEST_F()
155 CompareSets(live_sets->live_in_, live_in); in TEST_F()
167 std::unordered_set<uint32_t> live_in{ in TEST_F()
172 CompareSets(live_sets->live_in_, live_in); in TEST_F()
427 std::unordered_set<uint32_t> live_in{ in TEST_F()
435 CompareSets(live_sets->live_in_, live_in); in TEST_F()
454 std::unordered_set<uint32_t> live_in{ in TEST_F()
466 CompareSets(live_sets->live_in_, live_in); in TEST_F()
[all...]
/third_party/mesa3d/src/panfrost/bifrost/
H A Dbi_liveness.c31 * we compute live_out from live_in. The intrablock pass is linear-time. It
37 /* live_in[s] = GEN[s] + (live_out[s] - KILL[s]) */ in bi_liveness_ins_update()
62 /* live_out[s] = sum { p in succ[s] } ( live_in[p] ) */ in liveness_block_update()
65 blk->live_out[i] |= succ->live_in[i]; in liveness_block_update()
74 /* To figure out progress, diff live_in */ in liveness_block_update()
77 progress |= (blk->live_in[i] != live[i]); in liveness_block_update()
79 ralloc_free(blk->live_in); in liveness_block_update()
80 blk->live_in = live; in liveness_block_update()
87 * list to compute live_in from live_out for each block on the work list,
100 if (block->live_in) in bi_compute_liveness()
[all...]
H A Dbi_opt_dce.c42 live[i] |= succ->live_in[i]; in bi_opt_dead_code_eliminate()
73 ralloc_free(block->live_in); in bi_opt_dead_code_eliminate()
74 block->live_in = live; in bi_opt_dead_code_eliminate()
120 * list to compute live_in from live_out for each block on the work list,
H A Dbi_validate.c47 if (entry->live_in[i] == 0) continue; in bi_validate_initialization()
H A Dcompiler.h674 uint8_t *live_in;
/third_party/mesa3d/src/compiler/nir/
H A Dnir_liveness.c61 block->live_in = reralloc(block, block->live_in, BITSET_WORD, in init_liveness_block()
63 memset(block->live_in, 0, state->bitset_words * sizeof(BITSET_WORD)); in init_liveness_block()
101 * block act "in parallel". When we propagate from the live_in of one
112 memcpy(live, succ->live_in, state->bitset_words * sizeof *live); in propagate_across_edge()
159 /* Allocate live_in and live_out sets and add all of the blocks to the in nir_live_ssa_defs_impl()
180 memcpy(block->live_in, block->live_out, in nir_live_ssa_defs_impl()
185 set_src_live(&following_if->condition, block->live_in); in nir_live_ssa_defs_impl()
195 nir_foreach_ssa_def(instr, set_ssa_def_dead, block->live_in); in nir_live_ssa_defs_impl()
196 nir_foreach_src(instr, set_src_live, block->live_in); in nir_live_ssa_defs_impl()
[all...]
H A Dnir_sweep.c51 ralloc_free(block->live_in); in sweep_block()
52 block->live_in = NULL; in sweep_block()
/third_party/mesa3d/src/panfrost/util/
H A Dpan_liveness.c59 /* live_out[s] = sum { p in succ[s] } ( live_in[p] ) */
66 blk->live_out[i] |= succ->live_in[i]; in liveness_block_live_out()
71 * we compute live_out from live_in. The intrablock pass is linear-time. It
89 /* To figure out progress, diff live_in */ in liveness_block_update()
92 progress |= (blk->live_in[i] != live[i]); in liveness_block_update()
94 ralloc_free(blk->live_in); in liveness_block_update()
95 blk->live_in = live; in liveness_block_update()
103 * list to compute live_in from live_out for each block on the work list,
128 block->live_in = rzalloc_array(block, uint16_t, temp_count); in pan_compute_liveness()
165 if (block->live_in) in pan_free_liveness()
[all...]
H A Dpan_ir.h400 uint16_t *live_in; member
/third_party/mesa3d/src/gallium/drivers/etnaviv/
H A Detnaviv_compiler_nir_liveness.c57 block->live_in = reralloc(block, block->live_in, BITSET_WORD, in init_liveness_block()
59 memset(block->live_in, 0, state->bitset_words * sizeof(BITSET_WORD)); in init_liveness_block()
102 BITSET_SET(state->block->live_in, i); in set_src_live()
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()
162 * ahead and allocate live_in and live_out sets and add all of the in etna_live_defs()
184 memcpy(block->live_in, block->live_out, in etna_live_defs()
199 * so clearing live_in here is OK in etna_live_defs()
201 BITSET_CLEAR(block->live_in, stat in etna_live_defs()
[all...]
/third_party/mesa3d/src/asahi/compiler/
H A Dagx_liveness.c31 * we compute live_out from live_in. The intrablock pass is linear-time. It
34 /* live_in[s] = GEN[s] + (live_out[s] - KILL[s]) */
56 * list to compute live_in from live_out for each block on the work list,
70 if (block->live_in) in agx_compute_liveness()
71 ralloc_free(block->live_in); in agx_compute_liveness()
76 block->live_in = 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()
98 agx_liveness_ins_update(blk->live_in, I); in agx_compute_liveness()
110 memcpy(live, blk->live_in, words * sizeof(BITSET_WORD)); in agx_compute_liveness()
H A Dagx_compiler.h358 BITSET_WORD *live_in; member
/third_party/mesa3d/src/broadcom/compiler/
H A Dvir_live_variables.c216 BITSET_WORD new_live_out = (succ->live_in[i] & in vir_live_variables_dataflow()
225 /* Update live_in */ in vir_live_variables_dataflow()
230 if (new_live_in & ~block->live_in[i]) { in vir_live_variables_dataflow()
231 block->live_in[i] |= new_live_in; in vir_live_variables_dataflow()
276 if (BITSET_TEST(block->live_in, i) && in vir_compute_start_end()
310 ralloc_free(block->live_in); in vir_calculate_live_intervals()
328 block->live_in = rzalloc_array(c, BITSET_WORD, bitset_words); in vir_calculate_live_intervals()
H A Dv3d_compiler.h525 BITSET_WORD *live_in;
/third_party/mesa3d/src/freedreno/ir3/
H A Dir3_liveness.c33 * of the block, so that live_in does *not* contain phi destinations. This
74 memcpy(live->live_in[block->index], tmp_live, in compute_block_liveness()
143 live->live_in = ralloc_array(live, BITSET_WORD *, block_count); in ir3_calc_liveness()
148 live->live_in[block->index] = in ir3_calc_liveness()
181 !BITSET_TEST(live->live_in[instr->block->index], def->name)) in ir3_def_live_after()
H A Dir3_ra.h143 DECLARE_ARRAY(BITSET_WORD *, live_in);
H A Dir3_ra.c2129 BITSET_WORD *live_in = ctx->live->live_in[ctx->block->index]; in insert_file_live_in_moves() local
2136 if (BITSET_TEST(live_in, interval->interval.reg->name)) in insert_file_live_in_moves()
2253 BITSET_FOREACH_SET (name, ctx->live->live_in[block->index], in handle_block()
2426 BITSET_FOREACH_SET (name, live->live_in[block->index], in calc_min_limit_pressure()
H A Dir3_spill.c1610 BITSET_FOREACH_SET (name, ctx->live->live_in[block->index], in spill_single_pred_live_in()
1797 BITSET_FOREACH_SET (name, ctx->live->live_in[block->index], in handle_block()
1822 BITSET_FOREACH_SET (name, ctx->live->live_in[block->index], in handle_block()
/third_party/mesa3d/src/gallium/drivers/vc4/
H A Dvc4_qir_live_variables.c235 BITSET_WORD new_live_out = (succ->live_in[i] & in qir_live_variables_dataflow()
244 /* Update live_in */ in qir_live_variables_dataflow()
249 if (new_live_in & ~block->live_in[i]) { in qir_live_variables_dataflow()
250 block->live_in[i] |= new_live_in; in qir_live_variables_dataflow()
268 if (BITSET_TEST(block->live_in, i)) { in qir_compute_start_end()
306 block->live_in = rzalloc_array(c, BITSET_WORD, bitset_words); in qir_calculate_live_intervals()
H A Dvc4_qir.h379 BITSET_WORD *live_in; member
/third_party/mesa3d/src/gallium/drivers/lima/ir/gp/
H A Dregalloc.c85 block->live_out[j] |= block->successors[i]->live_in[j]; in propagate_liveness_block()
97 changed |= (block->live_in[i] != ctx->live[i]); in propagate_liveness_block()
98 block->live_in[i] = ctx->live[i]; in propagate_liveness_block()
618 block->live_in = rzalloc_array(ctx.mem_ctx, BITSET_WORD, ctx.bitset_words); in gpir_regalloc_prog()
H A Dgpir.h353 BITSET_WORD *live_in; member
/third_party/mesa3d/src/amd/compiler/
H A Daco_register_allocation.cpp1992 get_reg_phi(ra_ctx& ctx, IDSet& live_in, RegisterFile& register_file, in get_reg_phi() argument
2043 /* Remove from live_in, because handle_loop_phis() would re-create this phi later if this is in get_reg_phi()
2046 live_in.erase(orig.id()); in get_reg_phi()
2054 std::vector<aco_ptr<Instruction>>& instructions, IDSet& live_in) in get_regs_for_phis()
2133 get_reg_phi(ctx, live_in, register_file, instructions, block, phi, definition.getTemp())); in get_regs_for_phis()
2201 handle_loop_phis(ra_ctx& ctx, const IDSet& live_in, uint32_t loop_header_idx, in handle_loop_phis() argument
2208 for (unsigned t : live_in) { in handle_loop_phis()
2305 const IDSet& live_in = live_out_per_block[block.index]; in init_reg_file() local
2306 assert(block.index != 0 || live_in.empty()); in init_reg_file()
2320 for (unsigned t : live_in) { in init_reg_file()
2053 get_regs_for_phis(ra_ctx& ctx, Block& block, RegisterFile& register_file, std::vector<aco_ptr<Instruction>>& instructions, IDSet& live_in) get_regs_for_phis() argument
[all...]

Completed in 27 milliseconds

12