Lines Matching refs:tempId
328 fill_subdword(op.physReg(), op.bytes(), op.tempId());
330 fill(op.physReg(), op.size(), op.tempId());
338 fill_subdword(def.physReg(), def.bytes(), def.tempId());
340 fill(def.physReg(), def.size(), def.tempId());
793 ctx.assignments[def.tempId()].reg = def.physReg();
808 ctx.assignments[other.second.tempId()].reg = other.second.physReg();
814 if (op.isTemp() && op.tempId() == other.second.tempId()) {
840 if (op.tempId() == copy.first.tempId()) {
1048 if (instr->operands[i].isTemp() && instr->operands[i].tempId() == id &&
1073 assignment& op = ctx.assignments[instr->operands[i].tempId()];
1076 reg_file.get_id(op.reg) == instr->operands[i].tempId()) {
1109 if (instr->operands[i].isTemp() && instr->operands[i].tempId() == id) {
1182 if (op.isTemp() && op.isKillBeforeDef() && op.tempId() == reg_file[j]) {
1526 if (ctx.assignments[op.tempId()].assigned) {
1527 PhysReg reg = ctx.assignments[op.tempId()].reg;
1559 if (op.isTemp() && op.tempId() == temp.id())
1573 if (op.isTemp() && op.tempId() != temp.id() && op.getTemp().type() == temp.type() &&
1574 ctx.assignments[op.tempId()].assigned) {
1575 PhysReg reg = ctx.assignments[op.tempId()].reg;
1613 if (ctx.assignments[def.tempId()].affinity) {
1614 assignment& affinity = ctx.assignments[ctx.assignments[def.tempId()].affinity];
1672 if (ctx.assignments[def.tempId()].assigned && def.regClass().type() == info.rc.type())
1696 killed_op_vars.emplace_back(op.tempId(), op.regClass());
1703 if (ctx.assignments[def.tempId()].assigned && def.regClass().type() == info.rc.type())
1704 def_vars.emplace_back(def.tempId(), def.regClass());
1926 if (is_other_sgpr && instr->operands[!idx].tempId() != instr->operands[idx].tempId()) {
1956 PhysReg src = ctx.assignments[operand.tempId()].reg;
2009 if ((*phi_it)->definitions[0].tempId() == pc.first.tempId())
2016 ctx.assignments[prev_phi->definitions[0].tempId()] = {pc.second.physReg(),
2022 std::unordered_map<unsigned, Temp>::iterator orig_it = ctx.orig_names.find(pc.first.tempId());
2027 ctx.orig_names[pc.second.tempId()] = orig;
2085 ctx.assignments[definition.tempId()].set(definition);
2095 if (ctx.assignments[definition.tempId()].affinity &&
2096 ctx.assignments[ctx.assignments[definition.tempId()].affinity].assigned) {
2097 assignment& affinity = ctx.assignments[ctx.assignments[definition.tempId()].affinity];
2102 ctx.assignments[definition.tempId()].set(definition);
2117 ctx.assignments[definition.tempId()].set(definition);
2136 ctx.assignments[definition.tempId()].set(definition);
2253 std::unordered_map<unsigned, Temp>::iterator it = ctx.orig_names.find(op.tempId());
2257 op.setFixed(ctx.assignments[op.tempId()].reg);
2278 auto rename = renames.find(op.tempId());
2317 operand.setFixed(ctx.assignments[operand.tempId()].reg);
2342 operand.setFixed(ctx.assignments[operand.tempId()].reg);
2387 ctx.vectors[op.tempId()] = instr.get();
2391 ctx.vectors[instr->operands[i].tempId()] = instr.get();
2394 ctx.split_vectors[instr->operands[0].tempId()] = instr.get();
2397 ctx.assignments[instr->definitions[0].tempId()].vcc = true;
2401 ctx.assignments[instr->operands[2].tempId()].vcc = true;
2403 ctx.assignments[instr->definitions[1].tempId()].vcc = true;
2411 ctx.assignments[instr->operands[0].tempId()].vcc = true;
2417 live.insert(op.tempId());
2425 live.erase(def.tempId());
2428 temp_to_phi_ressources.find(def.tempId());
2466 temp_to_phi_ressources[op.tempId()] = it->second;
2477 live.erase(instr->definitions[0].tempId());
2483 temp_to_phi_ressources.find(instr->definitions[0].tempId());
2500 temp_to_phi_ressources[op.tempId()] = index;
2519 auto it = temp_to_phi_ressources.find(phi->definitions[0].tempId());
2522 temp_to_phi_ressources[phi->definitions[0].tempId()] = index;
2530 temp_to_phi_ressources[op.tempId()] = index;
2568 unsigned def_id = instr->definitions[0].tempId();
2623 unsigned def_id = instr->definitions[0].tempId();
2731 phi_op.setFixed(ctx.assignments[phi_op.tempId()].reg);
2763 assert(ctx.assignments[operand.tempId()].assigned);
2765 PhysReg reg = ctx.assignments[operand.tempId()].reg;
2855 ctx.assignments[definition.tempId()].set(definition);
2929 ctx.assignments[definition->tempId()].set(*definition);
2982 ctx.orig_names.find(pc->operands[i].tempId());
2984 ctx.orig_names[pc->definitions[i].tempId()] = orig;