Searched refs:remat (Results 1 - 3 of 3) sorted by relevance
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_lower_shader_calls.c | 126 can_remat_instr(nir_instr *instr, struct brw_bitset *remat) in can_remat_instr() argument 146 return nir_foreach_src(instr, src_is_in_bitset, remat); in can_remat_instr() 149 return nir_foreach_src(instr, src_is_in_bitset, remat); in can_remat_instr() 162 return nir_foreach_src(instr, src_is_in_bitset, remat); in can_remat_instr() 209 can_remat_ssa_def(nir_ssa_def *def, struct brw_bitset *remat) in can_remat_ssa_def() argument 211 return can_remat_instr(def->parent_instr, remat); in can_remat_ssa_def() 402 struct brw_bitset remat = bitset_create(mem_ctx, num_ssa_defs); in spill_ssa_defs_and_lower_shader_calls() local 403 memcpy(remat.set, trivial_remat.set, live_words * sizeof(BITSET_WORD)); in spill_ssa_defs_and_lower_shader_calls() 421 if (can_remat_ssa_def(def, &remat)) { in spill_ssa_defs_and_lower_shader_calls() 446 /* Mark this SSA def as available in the remat se in spill_ssa_defs_and_lower_shader_calls() 813 flatten_resume_if_ladder(nir_builder *b, nir_cf_node *parent_node, struct exec_list *child_list, bool child_list_contains_cursor, nir_instr *resume_instr, struct brw_bitset *remat) flatten_resume_if_ladder() argument 1068 struct brw_bitset remat = bitset_create(mem_ctx, impl->ssa_alloc); lower_resume() local [all...] |
/third_party/mesa3d/src/amd/compiler/ |
H A D | aco_spill.cpp | 81 std::unordered_map<Temp, remat_info> remat; member 317 std::unordered_map<Temp, remat_info>::iterator remat = ctx.remat.find(tmp); in do_reload() local 318 if (remat != ctx.remat.end()) { in do_reload() 319 Instruction* instr = remat->second.instr; in do_reload() 346 if (ctx.remat.count(instr->operands[i].getTemp())) in do_reload() 347 ctx.unused_remats.erase(ctx.remat[instr->operands[i].getTemp()].instr); in do_reload() 375 ctx.remat[def.getTemp()] = remat_info{instr.get()}; in get_rematerialize_info() 521 if (it->second.first >= loop_end || ctx.remat in init_live_in_vars() 668 bool remat = ctx.remat.count(pair.first); init_live_in_vars() local [all...] |
/third_party/mesa3d/src/freedreno/ir3/ |
H A D | ir3_spill.c | 354 struct ir3_instruction *remat = in rematerialize() local 356 struct ir3_register *dst = __ssa_dst(remat); in rematerialize() 360 ir3_src_create(remat, INVALID_REG, reg->instr->srcs[i]->flags); in rematerialize() 364 remat->cat1 = reg->instr->cat1; in rematerialize() 372 ir3_instr_move_before(remat, after); in rematerialize()
|
Completed in 7 milliseconds