Home
last modified time | relevance | path

Searched refs:live_in (Results 1 – 25 of 29) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/
Dregister_liveness.cpp126 std::unordered_set<uint32_t> live_in{ in TEST_F() local
131 CompareSets(live_sets->live_in_, live_in); in TEST_F()
152 std::unordered_set<uint32_t> live_in{ in TEST_F() local
156 CompareSets(live_sets->live_in_, live_in); in TEST_F()
168 std::unordered_set<uint32_t> live_in{ in TEST_F() local
173 CompareSets(live_sets->live_in_, live_in); in TEST_F()
428 std::unordered_set<uint32_t> live_in{ in TEST_F() local
436 CompareSets(live_sets->live_in_, live_in); in TEST_F()
455 std::unordered_set<uint32_t> live_in{ in TEST_F() local
467 CompareSets(live_sets->live_in_, live_in); in TEST_F()
[all …]
/third_party/spirv-tools/test/opt/
Dregister_liveness.cpp126 std::unordered_set<uint32_t> live_in{ in TEST_F() local
131 CompareSets(live_sets->live_in_, live_in); in TEST_F()
152 std::unordered_set<uint32_t> live_in{ in TEST_F() local
156 CompareSets(live_sets->live_in_, live_in); in TEST_F()
168 std::unordered_set<uint32_t> live_in{ in TEST_F() local
173 CompareSets(live_sets->live_in_, live_in); in TEST_F()
428 std::unordered_set<uint32_t> live_in{ in TEST_F() local
436 CompareSets(live_sets->live_in_, live_in); in TEST_F()
455 std::unordered_set<uint32_t> live_in{ in TEST_F() local
467 CompareSets(live_sets->live_in_, live_in); in TEST_F()
[all …]
/third_party/skia/third_party/externals/spirv-tools/test/opt/
Dregister_liveness.cpp126 std::unordered_set<uint32_t> live_in{ in TEST_F() local
131 CompareSets(live_sets->live_in_, live_in); in TEST_F()
152 std::unordered_set<uint32_t> live_in{ in TEST_F() local
156 CompareSets(live_sets->live_in_, live_in); in TEST_F()
168 std::unordered_set<uint32_t> live_in{ in TEST_F() local
173 CompareSets(live_sets->live_in_, live_in); in TEST_F()
428 std::unordered_set<uint32_t> live_in{ in TEST_F() local
436 CompareSets(live_sets->live_in_, live_in); in TEST_F()
455 std::unordered_set<uint32_t> live_in{ in TEST_F() local
467 CompareSets(live_sets->live_in_, live_in); in TEST_F()
[all …]
/third_party/mesa3d/src/panfrost/util/
Dpan_liveness.c66 blk->live_out[i] |= succ->live_in[i]; in liveness_block_live_out()
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()
128 block->live_in = rzalloc_array(block, uint16_t, temp_count); in pan_compute_liveness()
165 if (block->live_in) in pan_free_liveness()
166 ralloc_free(block->live_in); in pan_free_liveness()
171 block->live_in = NULL; in pan_free_liveness()
Dpan_ir.h400 uint16_t *live_in; member
/third_party/mesa3d/src/panfrost/bifrost/
Dbi_liveness.c65 blk->live_out[i] |= succ->live_in[i]; 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()
100 if (block->live_in) in bi_compute_liveness()
101 ralloc_free(block->live_in); in bi_compute_liveness()
106 block->live_in = rzalloc_array(block, uint8_t, temp_count); in bi_compute_liveness()
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()
Dbi_validate.c47 if (entry->live_in[i] == 0) continue; in bi_validate_initialization()
Dcompiler.h674 uint8_t *live_in; member
/third_party/mesa3d/src/compiler/nir/
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()
112 memcpy(live, succ->live_in, state->bitset_words * sizeof *live); in propagate_across_edge()
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()
230 return cursor.block->live_in; in nir_get_live_ssa_defs()
237 return cursor.instr->block->live_in; in nir_get_live_ssa_defs()
314 if (BITSET_TEST(instr->block->live_in, def->index) || in nir_ssa_def_is_live_at()
Dnir_sweep.c51 ralloc_free(block->live_in); in sweep_block()
52 block->live_in = NULL; in sweep_block()
/third_party/mesa3d/src/gallium/drivers/etnaviv/
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()
184 memcpy(block->live_in, block->live_out, in etna_live_defs()
201 BITSET_CLEAR(block->live_in, state.index); in etna_live_defs()
242 BITSET_FOREACH_SET(i, block->live_in, state.num_defs) in etna_live_defs()
/third_party/mesa3d/src/asahi/compiler/
Dagx_liveness.c70 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()
Dagx_compiler.h358 BITSET_WORD *live_in; member
/third_party/mesa3d/src/broadcom/compiler/
Dvir_live_variables.c216 BITSET_WORD new_live_out = (succ->live_in[i] & 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()
Dv3d_compiler.h525 BITSET_WORD *live_in; member
/third_party/mesa3d/src/freedreno/ir3/
Dir3_liveness.c74 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()
Dir3_ra.h143 DECLARE_ARRAY(BITSET_WORD *, live_in);
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()
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/
Dvc4_qir_live_variables.c235 BITSET_WORD new_live_out = (succ->live_in[i] & 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()
Dvc4_qir.h379 BITSET_WORD *live_in; member
/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()
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()
Dgpir.h353 BITSET_WORD *live_in; member
/third_party/mesa3d/src/amd/compiler/
Daco_register_allocation.cpp1992 get_reg_phi(ra_ctx& ctx, IDSet& live_in, RegisterFile& register_file, in get_reg_phi() argument
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() argument
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()
2345 for (unsigned t : live_in) { in init_reg_file()

12