Lines Matching refs:OldOpnd
61 MachineOperand *getOldOpndValue(MachineOperand &OldOpnd) const;
65 MachineOperand *OldOpnd, bool CombBCZ,
172 MachineOperand *GCNDPPCombine::getOldOpndValue(MachineOperand &OldOpnd) const { in getOldOpndValue()
173 auto *Def = getVRegSubRegDef(getRegSubRegPair(OldOpnd), *MRI); in getOldOpndValue()
192 return &OldOpnd; in getOldOpndValue()
433 static bool isIdentityValue(unsigned OrigMIOp, MachineOperand *OldOpnd) { in isIdentityValue() argument
434 assert(OldOpnd->isImm()); in isIdentityValue()
451 if (OldOpnd->getImm() == 0) in isIdentityValue()
458 if (static_cast<uint32_t>(OldOpnd->getImm()) == in isIdentityValue()
464 if (static_cast<int32_t>(OldOpnd->getImm()) == in isIdentityValue()
470 if (static_cast<int32_t>(OldOpnd->getImm()) == in isIdentityValue()
478 if (OldOpnd->getImm() == 1) in isIdentityValue()
564 auto *OldOpnd = TII->getNamedOperand(MovMI, AMDGPU::OpName::old); in combineDPPMov() local
566 assert(OldOpnd && OldOpnd->isReg()); in combineDPPMov()
568 if (OldOpnd->getReg().isPhysical() || SrcOpnd->getReg().isPhysical()) { in combineDPPMov()
573 auto * const OldOpndValue = getOldOpndValue(*OldOpnd); in combineDPPMov()
578 assert(!OldOpndValue || OldOpndValue->isImm() || OldOpndValue == OldOpnd); in combineDPPMov()
612 auto CombOldVGPR = getRegSubRegPair(*OldOpnd); in combineDPPMov()