Lines Matching refs:DepReg

269       SDep::Kind DepType, unsigned DepReg) {  in isCallDependent()  argument
271 if (DepReg == HRI->getRARegister()) in isCallDependent()
275 if (DepReg == HRI->getFrameRegister() || DepReg == HRI->getStackRegister()) in isCallDependent()
279 const TargetRegisterClass* RC = HRI->getMinimalPhysRegClass(DepReg); in isCallDependent()
286 if (MO.isReg() && MO.isUse() && (MO.getReg() == DepReg)) in isCallDependent()
367 const SUnit *PacketSU, unsigned DepReg, MachineBasicBlock::iterator &MII, in canPromoteToDotCur() argument
406 if (BI->readsRegister(DepReg, MF.getSubtarget().getRegisterInfo())) in canPromoteToDotCur()
531 const MachineInstr *PacketMI, unsigned DepReg) { in canPromoteToNewValueStore() argument
538 if (Val.isReg() && Val.getReg() != DepReg) in canPromoteToNewValueStore()
560 getPostIncrementOperand(MI, HII).getReg() == DepReg) { in canPromoteToNewValueStore()
565 getPostIncrementOperand(PacketMI, HII).getReg() == DepReg) { in canPromoteToNewValueStore()
574 if (isLoadAbsSet(PacketMI) && getAbsSetOperand(PacketMI).getReg() == DepReg) in canPromoteToNewValueStore()
665 if (MO.isReg() && MO.getReg() == DepReg) in canPromoteToNewValueStore()
678 if (R == DepReg || HRI->isSuperRegister(DepReg, R)) in canPromoteToNewValueStore()
688 if (MO.isReg() && MO.isUse() && MO.isImplicit() && MO.getReg() == DepReg) in canPromoteToNewValueStore()
698 const SUnit *PacketSU, unsigned DepReg, in canPromoteToNewValue() argument
705 if (canPromoteToNewValueStore(MI, PacketMI, DepReg)) in canPromoteToNewValue()
713 static bool isImplicitDependency(const MachineInstr *I, unsigned DepReg) { in isImplicitDependency() argument
715 if (MO.isReg() && MO.isDef() && (MO.getReg() == DepReg) && MO.isImplicit()) in isImplicitDependency()
726 const SUnit *PacketSU, unsigned DepReg, MachineBasicBlock::iterator &MII, in canPromoteToDotNew() argument
748 if (isImplicitDependency(PI, DepReg)) in canPromoteToDotNew()
761 return HII->predCanBeUsedAsDotNew(PI, DepReg); in canPromoteToDotNew()
777 if (!canPromoteToNewValue(MI, PacketSU, DepReg, MII)) in canPromoteToDotNew()
797 unsigned DepReg) { in restrictingDepExistInPacket() argument
815 Dep.getReg() == DepReg) in restrictingDepExistInPacket()
1244 unsigned DepReg = 0; in isLegalToPacketizeTogether() local
1247 DepReg = SUJ->Succs[i].getReg(); in isLegalToPacketizeTogether()
1248 RC = HRI->getMinimalPhysRegClass(DepReg); in isLegalToPacketizeTogether()
1259 if (canPromoteToDotCur(J, SUJ, DepReg, II, RC)) in isLegalToPacketizeTogether()
1272 if (canPromoteToDotNew(I, SUJ, DepReg, II, RC)) { in isLegalToPacketizeTogether()
1334 unsigned DepReg = SUJ->Succs[i].getReg(); in isLegalToPacketizeTogether() local
1337 if (!I->definesRegister(DepReg) && !J->definesRegister(DepReg)) in isLegalToPacketizeTogether()