/external/llvm/lib/CodeGen/ |
D | PHIElimination.cpp | 239 unsigned IncomingReg = 0; in LowerPHINode() local 257 IncomingReg = entry; in LowerPHINode() 260 DEBUG(dbgs() << "Reusing " << PrintReg(IncomingReg) << " for " << *MPhi); in LowerPHINode() 263 entry = IncomingReg = MF.getRegInfo().createVirtualRegister(RC); in LowerPHINode() 267 .addReg(IncomingReg); in LowerPHINode() 274 if (IncomingReg) { in LowerPHINode() 275 LiveVariables::VarInfo &VI = LV->getVarInfo(IncomingReg); in LowerPHINode() 278 LV->setPHIJoin(IncomingReg); in LowerPHINode() 286 LV->removeVirtualRegisterKilled(IncomingReg, *OldKill); in LowerPHINode() 294 LV->addVirtualRegisterKilled(IncomingReg, PHICopy); in LowerPHINode() [all …]
|
D | MachineInstr.cpp | 1940 bool MachineInstr::addRegisterKilled(unsigned IncomingReg, in addRegisterKilled() argument 1943 bool isPhysReg = TargetRegisterInfo::isPhysicalRegister(IncomingReg); in addRegisterKilled() 1945 MCRegAliasIterator(IncomingReg, RegInfo, false).isValid(); in addRegisterKilled() 1963 if (Reg == IncomingReg) { in addRegisterKilled() 1977 if (RegInfo->isSuperRegister(IncomingReg, Reg)) in addRegisterKilled() 1979 if (RegInfo->isSubRegister(IncomingReg, Reg)) in addRegisterKilled() 1997 addOperand(MachineOperand::CreateReg(IncomingReg, in addRegisterKilled()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | PHIElimination.cpp | 252 unsigned IncomingReg = 0; in LowerPHINode() local 270 IncomingReg = entry; in LowerPHINode() 273 LLVM_DEBUG(dbgs() << "Reusing " << printReg(IncomingReg) << " for " in LowerPHINode() 277 entry = IncomingReg = MF.getRegInfo().createVirtualRegister(RC); in LowerPHINode() 281 .addReg(IncomingReg); in LowerPHINode() 288 if (IncomingReg) { in LowerPHINode() 289 LiveVariables::VarInfo &VI = LV->getVarInfo(IncomingReg); in LowerPHINode() 292 LV->setPHIJoin(IncomingReg); in LowerPHINode() 300 LV->removeVirtualRegisterKilled(IncomingReg, *OldKill); in LowerPHINode() 308 LV->addVirtualRegisterKilled(IncomingReg, PHICopy); in LowerPHINode() [all …]
|
D | MachineInstr.cpp | 1561 bool MachineInstr::addRegisterKilled(unsigned IncomingReg, in addRegisterKilled() argument 1564 bool isPhysReg = TargetRegisterInfo::isPhysicalRegister(IncomingReg); in addRegisterKilled() 1566 MCRegAliasIterator(IncomingReg, RegInfo, false).isValid(); in addRegisterKilled() 1584 if (Reg == IncomingReg) { in addRegisterKilled() 1598 if (RegInfo->isSuperRegister(IncomingReg, Reg)) in addRegisterKilled() 1600 if (RegInfo->isSubRegister(IncomingReg, Reg)) in addRegisterKilled() 1618 addOperand(MachineOperand::CreateReg(IncomingReg, in addRegisterKilled()
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
D | PHIElimination.cpp | 204 unsigned IncomingReg = 0; in LowerAtomicPHINode() local 222 IncomingReg = entry; in LowerAtomicPHINode() 225 DEBUG(dbgs() << "Reusing " << PrintReg(IncomingReg) << " for " << *MPhi); in LowerAtomicPHINode() 228 entry = IncomingReg = MF.getRegInfo().createVirtualRegister(RC); in LowerAtomicPHINode() 232 .addReg(IncomingReg); in LowerAtomicPHINode() 240 if (IncomingReg) { in LowerAtomicPHINode() 241 LiveVariables::VarInfo &VI = LV->getVarInfo(IncomingReg); in LowerAtomicPHINode() 245 LV->setPHIJoin(IncomingReg); in LowerAtomicPHINode() 253 LV->removeVirtualRegisterKilled(IncomingReg, OldKill); in LowerAtomicPHINode() 261 LV->addVirtualRegisterKilled(IncomingReg, PHICopy); in LowerAtomicPHINode() [all …]
|
D | MachineInstr.cpp | 1562 bool MachineInstr::addRegisterKilled(unsigned IncomingReg, in addRegisterKilled() argument 1565 bool isPhysReg = TargetRegisterInfo::isPhysicalRegister(IncomingReg); in addRegisterKilled() 1566 bool hasAliases = isPhysReg && RegInfo->getAliasSet(IncomingReg); in addRegisterKilled() 1577 if (Reg == IncomingReg) { in addRegisterKilled() 1591 if (RegInfo->isSuperRegister(IncomingReg, Reg)) in addRegisterKilled() 1593 if (RegInfo->isSubRegister(IncomingReg, Reg)) in addRegisterKilled() 1611 addOperand(MachineOperand::CreateReg(IncomingReg, in addRegisterKilled() 1620 bool MachineInstr::addRegisterDead(unsigned IncomingReg, in addRegisterDead() argument 1623 bool isPhysReg = TargetRegisterInfo::isPhysicalRegister(IncomingReg); in addRegisterDead() 1624 bool hasAliases = isPhysReg && RegInfo->getAliasSet(IncomingReg); in addRegisterDead() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/ |
D | LiveVariables.h | 201 void addVirtualRegisterKilled(unsigned IncomingReg, MachineInstr &MI, 203 if (MI.addRegisterKilled(IncomingReg, TRI, AddIfNotFound)) 204 getVarInfo(IncomingReg).Kills.push_back(&MI); 237 void addVirtualRegisterDead(unsigned IncomingReg, MachineInstr &MI, 239 if (MI.addRegisterDead(IncomingReg, TRI, AddIfNotFound)) 240 getVarInfo(IncomingReg).Kills.push_back(&MI);
|
D | MachineInstr.h | 1168 bool addRegisterKilled(unsigned IncomingReg,
|
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/ |
D | LiveVariables.h | 209 void addVirtualRegisterKilled(unsigned IncomingReg, MachineInstr *MI, 211 if (MI->addRegisterKilled(IncomingReg, TRI, AddIfNotFound)) 212 getVarInfo(IncomingReg).Kills.push_back(MI); 245 void addVirtualRegisterDead(unsigned IncomingReg, MachineInstr *MI, 247 if (MI->addRegisterDead(IncomingReg, TRI, AddIfNotFound)) 248 getVarInfo(IncomingReg).Kills.push_back(MI);
|
D | MachineInstr.h | 447 bool addRegisterKilled(unsigned IncomingReg, 455 bool addRegisterDead(unsigned IncomingReg, const TargetRegisterInfo *RegInfo, 460 void addRegisterDefined(unsigned IncomingReg,
|
/external/llvm/include/llvm/CodeGen/ |
D | LiveVariables.h | 202 void addVirtualRegisterKilled(unsigned IncomingReg, MachineInstr &MI, 204 if (MI.addRegisterKilled(IncomingReg, TRI, AddIfNotFound)) 205 getVarInfo(IncomingReg).Kills.push_back(&MI); 238 void addVirtualRegisterDead(unsigned IncomingReg, MachineInstr &MI, 240 if (MI.addRegisterDead(IncomingReg, TRI, AddIfNotFound)) 241 getVarInfo(IncomingReg).Kills.push_back(&MI);
|
D | MachineInstr.h | 1080 bool addRegisterKilled(unsigned IncomingReg,
|
/external/llvm/lib/Target/AMDGPU/ |
D | SIISelLowering.cpp | 1108 unsigned IncomingReg = MI.getOperand(I).getReg(); in splitKillBlock() local 1111 if (SplitDefRegs.count(IncomingReg)) in splitKillBlock()
|