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

References

lib/CodeGen/PHIElimination.cpp
  249   unsigned NumSrcs = (MPhi->getNumOperands() - 1) / 2;
  250   Register DestReg = MPhi->getOperand(0).getReg();
  251   assert(MPhi->getOperand(0).getSubReg() == 0 && "Can't handle sub-reg PHIs");
  252   bool isDead = MPhi->getOperand(0).isDead();
  264   if (allPhiOperandsUndefined(*MPhi, *MRI))
  267     PHICopy = BuildMI(MBB, AfterPHIsIt, MPhi->getDebugLoc(),
  272     unsigned &entry = LoweredPHIs[MPhi];
  279                         << *MPhi);
  285     PHICopy = TII->createPHIDestinationCopy(MBB, AfterPHIsIt, MPhi->getDebugLoc(),
  317     LV->removeVirtualRegistersKilled(*MPhi);
  322       LV->removeVirtualRegisterDead(DestReg, *MPhi);
  368   for (unsigned i = 1; i != MPhi->getNumOperands(); i += 2)
  369     --VRegPHIUseCount[BBVRegPair(MPhi->getOperand(i+1).getMBB()->getNumber(),
  370                                  MPhi->getOperand(i).getReg())];
  376     Register SrcReg = MPhi->getOperand(i * 2 + 1).getReg();
  377     unsigned SrcSubReg = MPhi->getOperand(i*2+1).getSubReg();
  378     bool SrcUndef = MPhi->getOperand(i*2+1).isUndef() ||
  385     MachineBasicBlock &opBlock = *MPhi->getOperand(i*2+2).getMBB();
  405         NewSrcInstr = BuildMI(opBlock, InsertPos, MPhi->getDebugLoc(),
  415             TII->createPHISourceCopy(opBlock, InsertPos, MPhi->getDebugLoc(),
  542       LIS->RemoveMachineInstrFromMaps(*MPhi);
  543     MF.DeleteMachineInstr(MPhi);