Lines Matching defs:Src2
90 const MachineOperand *Src2 = TII->getNamedOperand(MI, AMDGPU::OpName::src2);
97 if (Src2) {
102 if (!isVGPR(Src2, TRI, MRI) ||
271 const MachineOperand *Src2 =
272 TII->getNamedOperand(MI, AMDGPU::OpName::src2);
273 if (!Src2->isReg())
275 unsigned SReg = Src2->getReg();
309 const MachineOperand *Src2 =
310 TII->getNamedOperand(MI, AMDGPU::OpName::src2);
311 if (Src2) {
312 int Op32Src2Idx = AMDGPU::getNamedOperandIdx(Op32, AMDGPU::OpName::src2);
314 Inst32.addOperand(*Src2);
316 // In the case of V_CNDMASK_B32_e32, the explicit operand src2 is
318 assert(Src2->getReg() == AMDGPU::VCC &&
320 Inst32.addOperand(copyRegOperandAsImplicit(*Src2));