reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Target/AMDGPU/SIFoldOperands.cpp
 1081   unsigned Opc = MI->getOpcode();
 1086     const MachineOperand *Src0 = TII->getNamedOperand(*MI, AMDGPU::OpName::src0);
 1087     const MachineOperand *Src1 = TII->getNamedOperand(*MI, AMDGPU::OpName::src1);
 1091         (Src1ModIdx == -1 || !MI->getOperand(Src1ModIdx).getImm()) &&
 1092         (Src0ModIdx == -1 || !MI->getOperand(Src0ModIdx).getImm())) {
 1093       LLVM_DEBUG(dbgs() << "Folded " << *MI << " into ");
 1098         MI->RemoveOperand(Src2Idx);
 1099       MI->RemoveOperand(AMDGPU::getNamedOperandIdx(Opc, AMDGPU::OpName::src1));
 1101         MI->RemoveOperand(Src1ModIdx);
 1103         MI->RemoveOperand(Src0ModIdx);
 1104       mutateCopyOp(*MI, NewDesc);
 1105       LLVM_DEBUG(dbgs() << *MI << '\n');