/// ValueIsPHI - Check if the instruction that defines the specified register
 /// is a PHI instruction.
 static MachineInstr *ValueIsPHI(unsigned Val, MachineSSAUpdater *Updater) {
   return InstrIsPHI(Updater->MRI->getVRegDef(Val));
 }
Beispiel #2
0
 /// ValueIsPHI - Check if the instruction that defines the specified register
 /// is a PHI instruction.
 static SILPhiArgument *ValueIsPHI(SILValue V, SILSSAUpdater *Updater) {
   return InstrIsPHI(V);
 }
 /// ValueIsPHI - Check if the instruction that defines the specified register
 /// is a PHI instruction.
 static SILArgument *ValueIsPHI(SILValue V, SILSSAUpdater *Updater) {
   return InstrIsPHI(V.getDef());
 }