/third_party/skia/third_party/externals/spirv-tools/test/opt/ |
H A D | register_liveness.cpp | 126 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 D | register_liveness.cpp | 126 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 D | register_liveness.cpp | 125 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 D | bi_liveness.c | 31 * 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 D | bi_opt_dce.c | 42 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 D | bi_validate.c | 47 if (entry->live_in[i] == 0) continue; in bi_validate_initialization()
|
H A D | compiler.h | 674 uint8_t *live_in;
|
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_liveness.c | 61 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 D | nir_sweep.c | 51 ralloc_free(block->live_in); in sweep_block() 52 block->live_in = NULL; in sweep_block()
|
/third_party/mesa3d/src/panfrost/util/ |
H A D | pan_liveness.c | 59 /* 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 D | pan_ir.h | 400 uint16_t *live_in; member
|
/third_party/mesa3d/src/gallium/drivers/etnaviv/ |
H A D | etnaviv_compiler_nir_liveness.c | 57 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 D | agx_liveness.c | 31 * 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 D | agx_compiler.h | 358 BITSET_WORD *live_in; member
|
/third_party/mesa3d/src/broadcom/compiler/ |
H A D | vir_live_variables.c | 216 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 D | v3d_compiler.h | 525 BITSET_WORD *live_in;
|
/third_party/mesa3d/src/freedreno/ir3/ |
H A D | ir3_liveness.c | 33 * 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 D | ir3_ra.h | 143 DECLARE_ARRAY(BITSET_WORD *, live_in);
|
H A D | ir3_ra.c | 2129 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 D | ir3_spill.c | 1610 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 D | vc4_qir_live_variables.c | 235 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 D | vc4_qir.h | 379 BITSET_WORD *live_in; member
|
/third_party/mesa3d/src/gallium/drivers/lima/ir/gp/ |
H A D | regalloc.c | 85 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 D | gpir.h | 353 BITSET_WORD *live_in; member
|
/third_party/mesa3d/src/amd/compiler/ |
H A D | aco_register_allocation.cpp | 1992 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...] |