Lines Matching refs:DepReg

266       SDep::Kind DepType, unsigned DepReg) {  in isCallDependent()  argument
268 if (DepReg == HRI->getRARegister()) in isCallDependent()
272 if (DepReg == HRI->getFrameRegister() || DepReg == HRI->getStackRegister()) in isCallDependent()
276 const TargetRegisterClass* RC = HRI->getMinimalPhysRegClass(DepReg); in isCallDependent()
283 if (MO.isReg() && MO.isUse() && (MO.getReg() == DepReg)) in isCallDependent()
364 const SUnit *PacketSU, unsigned DepReg, MachineBasicBlock::iterator &MII, in canPromoteToDotCur() argument
400 if (BI->readsRegister(DepReg, MF.getSubtarget().getRegisterInfo())) in canPromoteToDotCur()
525 const MachineInstr *PacketMI, unsigned DepReg) { in canPromoteToNewValueStore() argument
532 if (Val.isReg() && Val.getReg() != DepReg) in canPromoteToNewValueStore()
554 getPostIncrementOperand(MI, HII).getReg() == DepReg) { in canPromoteToNewValueStore()
559 getPostIncrementOperand(PacketMI, HII).getReg() == DepReg) { in canPromoteToNewValueStore()
568 if (isLoadAbsSet(PacketMI) && getAbsSetOperand(PacketMI).getReg() == DepReg) in canPromoteToNewValueStore()
659 if (MO.isReg() && MO.getReg() == DepReg) in canPromoteToNewValueStore()
672 if (R == DepReg || HRI->isSuperRegister(DepReg, R)) in canPromoteToNewValueStore()
682 if (MO.isReg() && MO.isUse() && MO.isImplicit() && MO.getReg() == DepReg) in canPromoteToNewValueStore()
692 const SUnit *PacketSU, unsigned DepReg, in canPromoteToNewValue() argument
699 if (canPromoteToNewValueStore(MI, PacketMI, DepReg)) in canPromoteToNewValue()
707 static bool isImplicitDependency(const MachineInstr *I, unsigned DepReg) { in isImplicitDependency() argument
709 if (MO.isReg() && MO.isDef() && (MO.getReg() == DepReg) && MO.isImplicit()) in isImplicitDependency()
720 const SUnit *PacketSU, unsigned DepReg, MachineBasicBlock::iterator &MII, in canPromoteToDotNew() argument
742 if (isImplicitDependency(PI, DepReg)) in canPromoteToDotNew()
755 return HII->predCanBeUsedAsDotNew(PI, DepReg); in canPromoteToDotNew()
771 if (!canPromoteToNewValue(MI, PacketSU, DepReg, MII)) in canPromoteToDotNew()
791 unsigned DepReg) { in restrictingDepExistInPacket() argument
809 Dep.getReg() == DepReg) in restrictingDepExistInPacket()
1238 unsigned DepReg = 0; in isLegalToPacketizeTogether() local
1241 DepReg = SUJ->Succs[i].getReg(); in isLegalToPacketizeTogether()
1242 RC = HRI->getMinimalPhysRegClass(DepReg); in isLegalToPacketizeTogether()
1253 if (canPromoteToDotCur(J, SUJ, DepReg, II, RC)) in isLegalToPacketizeTogether()
1266 if (canPromoteToDotNew(I, SUJ, DepReg, II, RC)) { in isLegalToPacketizeTogether()
1328 unsigned DepReg = SUJ->Succs[i].getReg(); in isLegalToPacketizeTogether() local
1331 if (!I->definesRegister(DepReg) && !J->definesRegister(DepReg)) in isLegalToPacketizeTogether()