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

References

lib/Target/AMDGPU/SIFoldOperands.cpp
  567            RSUse = MRI->use_begin(RegSeqDstReg), RSE = MRI->use_end();
  567            RSUse = MRI->use_begin(RegSeqDstReg), RSE = MRI->use_end();
  621     const TargetRegisterClass *DestRC =  MRI->getRegClass(DestReg);
  625       const TargetRegisterClass * SrcRC = MRI->getRegClass(SrcReg);
  630           Use = MRI->use_begin(DestReg), E = MRI->use_end();
  630           Use = MRI->use_begin(DestReg), E = MRI->use_end();
  687       if (Size > 4 && TRI->isAGPR(*MRI, UseMI->getOperand(0).getReg()) &&
  689                         *MRI)) {
  707             auto Tmp = MRI->createVirtualRegister(&AMDGPU::AGPR_32RegClass);
  711           } else if (Def->isReg() && TRI->isAGPR(*MRI, Def->getReg())) {
  731             if (TRI->isSGPRReg(*MRI, Src.Reg)) {
  734               auto Tmp = MRI->createVirtualRegister(&AMDGPU::AGPR_32RegClass);
  745               Vgpr = MRI->createVirtualRegister(&AMDGPU::VGPR_32RegClass);
  749             auto Tmp = MRI->createVirtualRegister(&AMDGPU::AGPR_32RegClass);
  763       if (TRI->isAGPR(*MRI, UseMI->getOperand(0).getReg()) &&
  764           TRI->isVGPR(*MRI, UseMI->getOperand(1).getReg()))
  766       else if (TRI->isVGPR(*MRI, UseMI->getOperand(0).getReg()) &&
  767                TRI->isAGPR(*MRI, UseMI->getOperand(1).getReg()))
  782         if (execMayBeModifiedBeforeUse(*MRI,
  800       if (OpToFold.isReg() && TRI->isSGPRReg(*MRI, OpToFold.getReg())) {
  801         if (execMayBeModifiedBeforeUse(*MRI,
  847     const TargetRegisterClass *UseRC = MRI->getRegClass(UseReg);
 1130            Use = MRI->use_begin(Dst.getReg()), E = MRI->use_end();
 1130            Use = MRI->use_begin(Dst.getReg()), E = MRI->use_end();
 1145       if (OpToFold.isImm() && tryConstantFoldOp(*MRI, TII, UseMI, &OpToFold)) {
 1152         NextUse = MRI->use_begin(Dst.getReg());
 1193            Use = MRI->use_begin(Dst.getReg()), E = MRI->use_end();
 1193            Use = MRI->use_begin(Dst.getReg()), E = MRI->use_end();
 1215           execMayBeModifiedBeforeUse(*MRI, Reg, *DefMI, *Fold.UseMI))
 1225         MRI->clearKillFlags(Fold.OpToFold->getReg());
 1297   if (!ClampSrc || !hasOneNonDBGUseInst(*MRI, ClampSrc->getReg()))
 1300   MachineInstr *Def = MRI->getVRegDef(ClampSrc->getReg());
 1315   MRI->replaceRegWith(MI.getOperand(0).getReg(), Def->getOperand(0).getReg());
 1421       !hasOneNonDBGUseInst(*MRI, RegOp->getReg()))
 1424   MachineInstr *Def = MRI->getVRegDef(RegOp->getReg());
 1437   MRI->replaceRegWith(MI.getOperand(0).getReg(), Def->getOperand(0).getReg());
 1446   MRI = &MF.getRegInfo();