Lines Matching refs:second
218 if (entry.second.logical != logical)
223 if (insert_pair.second) {
226 changed |= insert_pair.first->second.join(entry.second);
269 if (it == ctx.gpr_map.end() || !it->second.wait_on_read)
272 wait.combine(it->second.imm);
287 if (vmem_type && ((it->second.events & vm_events) == event_vmem) &&
288 it->second.vmem_types == vmem_type)
293 (it->second.events & lgkm_events) == (instr->ds().gds ? event_gds : event_lds))
296 wait.combine(it->second.imm);
453 if (imm.exp != wait_imm::unset_counter && imm.exp <= it->second.imm.exp)
454 ctx.wait_and_remove_from_entry(it->first, it->second, counter_exp);
455 if (imm.vm != wait_imm::unset_counter && imm.vm <= it->second.imm.vm)
456 ctx.wait_and_remove_from_entry(it->first, it->second, counter_vm);
457 if (imm.lgkm != wait_imm::unset_counter && imm.lgkm <= it->second.imm.lgkm)
458 ctx.wait_and_remove_from_entry(it->first, it->second, counter_lgkm);
459 if (imm.vs != wait_imm::unset_counter && imm.vs <= it->second.imm.vs)
460 ctx.wait_and_remove_from_entry(it->first, it->second, counter_vs);
461 if (!it->second.counters)
537 wait_entry& entry = e.second;
572 if (e.second.counters & counter_vm)
573 e.second.imm.vm = 0;
574 if (e.second.counters & counter_lgkm)
575 e.second.imm.lgkm = 0;
601 if (!it.second)
602 it.first->second.join(new_entry);