Lines Matching defs:Src2
1064 MachineOperand *Src2 = getNamedOperand(*UseMI, AMDGPU::OpName::src2);
1073 if (!Src2->isReg() ||
1074 (Src2->isReg() && RI.isSGPRClass(MRI->getRegClass(Src2->getReg()))))
1081 // v_mad_f32 src0, src1, src2 -> v_madmk_f32 src0 * src2K + src1
1082 // src0 -> src2 K
1084 // src2 -> src1
1099 unsigned Src2Reg = Src2->getReg();
1100 unsigned Src2SubReg = Src2->getSubReg();
1107 Src1->setIsKill(Src2->isKill());
1111 AMDGPU::getNamedOperandIdx(Opc, AMDGPU::OpName::src2));
1114 Src2->ChangeToImmediate(Imm);
1127 if (Src2->isReg() && Src2->getReg() == Reg) {
1151 AMDGPU::getNamedOperandIdx(Opc, AMDGPU::OpName::src2));
1154 // ChangingToImmediate adds Src2 back to the instruction.
1155 Src2->ChangeToImmediate(Imm);
1157 // These come before src2.
1269 const MachineOperand *Src2 = getNamedOperand(*MI, AMDGPU::OpName::src2);
1278 .addOperand(*Src2)
1457 int Src2Idx = AMDGPU::getNamedOperandIdx(Opcode, AMDGPU::OpName::src2);
1560 const MachineOperand &Src2 = MI->getOperand(Src2Idx);
1561 if (Src0.isReg() && Src1.isReg() && Src2.isReg()) {
1563 !compareMachineOp(Src0, Src2)) {
1564 ErrInfo = "v_div_scale_{f32|f64} require src0 = src1 or src2";
1932 AMDGPU::getNamedOperandIdx(Opc, AMDGPU::OpName::src2)