Lines Matching defs:Src1
257 MachineOperand &Src1 = MI.getOperand(1);
258 if (!Src1.isImm())
269 if (isKImmOrKUImmOperand(Src1, HasUImm)) {
273 Src1.setImm(SignExtend32(Src1.getImm(), 32));
284 if ((SIInstrInfo::sopkIsZext(SOPKOpc) && isKUImmOperand(Src1)) ||
285 (!SIInstrInfo::sopkIsZext(SOPKOpc) && isKImmOperand(Src1))) {
287 Src1.setImm(SignExtend64(Src1.getImm(), 32));
429 MachineOperand &Src1 = *TII->getNamedOperand(MI, AMDGPU::OpName::src1);
437 if (Src1.isReg() && TRI->isVGPR(*MRI, Src1.getReg()))
467 if (Src1.isImm() && !TII->isInlineConstant(Src1))
502 // Swap Src0 and Src1 by building a new instruction.
505 .add(Src1)
525 MachineOperand *Src1 = &MI.getOperand(2);
527 MachineOperand *SrcImm = Src1;
883 MachineOperand *Src1 = &MI.getOperand(2);
885 if (!Src0->isReg() && Src1->isReg()) {
887 std::swap(Src0, Src1);
900 if (Src1->isImm() && isKImmOperand(*Src1)) {
904 Src1->setImm(SignExtend64(Src1->getImm(), 32));