Lines Matching defs:remat
81 std::unordered_map<Temp, remat_info> remat;
317 std::unordered_map<Temp, remat_info>::iterator remat = ctx.remat.find(tmp);
318 if (remat != ctx.remat.end()) {
319 Instruction* instr = remat->second.instr;
346 if (ctx.remat.count(instr->operands[i].getTemp()))
347 ctx.unused_remats.erase(ctx.remat[instr->operands[i].getTemp()].instr);
375 ctx.remat[def.getTemp()] = remat_info{instr.get()};
521 if (it->second.first >= loop_end || ctx.remat.count(spilled.first)) {
544 (ctx.remat.count(pair.first) && type == RegType::sgpr)) &&
668 bool remat = ctx.remat.count(pair.first);
669 bool spill = !remat;
678 if (!remat)
685 if (remat)
885 if (rename_it == ctx.renames[preds[i]].end() && ctx.remat.count(var))
886 ctx.unused_remats.erase(ctx.remat[var].instr);
1006 auto remat_it = ctx.remat.find(phi->operands[i].getTemp());
1007 if (remat_it != ctx.remat.end()) {
1121 if (ctx.remat.count(tmp))
1122 ctx.unused_remats.erase(ctx.remat[tmp].instr);
1195 auto remat_it = ctx.remat.find(op.getTemp());
1196 if (remat_it != ctx.remat.end()) {
1231 bool can_rematerialize = ctx.remat.count(pair.first);