Lines Matching defs:Operand
85 MachineOperand *Target; // Operand that would be used in converted instruction
86 MachineOperand *Replaced; // Operand that would be replace by Target
489 MachineOperand *Operand = TII->getNamedOperand(MI, AMDGPU::OpName::vdst);
490 assert(Operand &&
491 Operand->isReg() &&
492 isSameReg(*Operand, *getReplacedOperand()));
493 copyRegOperand(*Operand, *getTargetOperand());
866 static raw_ostream& operator<<(raw_ostream &OS, const SDWAOperand &Operand) {
867 Operand.print(OS);
874 if (auto Operand = matchSDWAOperand(MI)) {
875 LLVM_DEBUG(dbgs() << "Match: " << MI << "To: " << *Operand << '\n');
876 SDWAOperands[&MI] = std::move(Operand);
1169 for (auto &Operand : SDWAOperands) {
1170 LLVM_DEBUG(dbgs() << *SDWAInst << "\nOperand: " << *Operand);
1181 if (PotentialMatches.count(Operand->getParentInst()) == 0)
1182 Converted |= Operand->convertToSDWA(*SDWAInst, TII);
1259 const auto &Operand = OperandPair.second;
1260 MachineInstr *PotentialMI = Operand->potentialToConvert(TII, ST);
1272 const auto &Operand = OperandPair.second;
1273 MachineInstr *PotentialMI = Operand->potentialToConvert(TII, ST, &PotentialMatches);
1275 PotentialMatches[PotentialMI].push_back(Operand.get());