Home
last modified time | relevance | path

Searched refs:IncomingReg (Results 1 – 4 of 4) sorted by relevance

/external/llvm/lib/CodeGen/
DPHIElimination.cpp237 unsigned IncomingReg = 0; in LowerPHINode() local
255 IncomingReg = entry; in LowerPHINode()
258 DEBUG(dbgs() << "Reusing " << PrintReg(IncomingReg) << " for " << *MPhi); in LowerPHINode()
261 entry = IncomingReg = MF.getRegInfo().createVirtualRegister(RC); in LowerPHINode()
265 .addReg(IncomingReg); in LowerPHINode()
272 if (IncomingReg) { in LowerPHINode()
273 LiveVariables::VarInfo &VI = LV->getVarInfo(IncomingReg); in LowerPHINode()
276 LV->setPHIJoin(IncomingReg); in LowerPHINode()
284 LV->removeVirtualRegisterKilled(IncomingReg, OldKill); in LowerPHINode()
292 LV->addVirtualRegisterKilled(IncomingReg, PHICopy); in LowerPHINode()
[all …]
DMachineInstr.cpp1684 bool MachineInstr::addRegisterKilled(unsigned IncomingReg, in addRegisterKilled() argument
1687 bool isPhysReg = TargetRegisterInfo::isPhysicalRegister(IncomingReg); in addRegisterKilled()
1689 MCRegAliasIterator(IncomingReg, RegInfo, false).isValid(); in addRegisterKilled()
1700 if (Reg == IncomingReg) { in addRegisterKilled()
1714 if (RegInfo->isSuperRegister(IncomingReg, Reg)) in addRegisterKilled()
1716 if (RegInfo->isSubRegister(IncomingReg, Reg)) in addRegisterKilled()
1734 addOperand(MachineOperand::CreateReg(IncomingReg, in addRegisterKilled()
/external/llvm/include/llvm/CodeGen/
DLiveVariables.h198 void addVirtualRegisterKilled(unsigned IncomingReg, MachineInstr *MI,
200 if (MI->addRegisterKilled(IncomingReg, TRI, AddIfNotFound))
201 getVarInfo(IncomingReg).Kills.push_back(MI);
234 void addVirtualRegisterDead(unsigned IncomingReg, MachineInstr *MI,
236 if (MI->addRegisterDead(IncomingReg, TRI, AddIfNotFound))
237 getVarInfo(IncomingReg).Kills.push_back(MI);
DMachineInstr.h977 bool addRegisterKilled(unsigned IncomingReg,