Lines Matching refs:PHI
187 MachineInstrBuilder InsertedPHI = InsertNewDef(TargetOpcode::PHI, BB, in GetValueInMiddleOfBlock()
251 MachineInstr *PHI; member in llvm::SSAUpdaterTraits::PHI_iterator
256 : PHI(P), idx(1) {} in PHI_iterator()
258 : PHI(P), idx(PHI->getNumOperands()) {} in PHI_iterator()
263 unsigned getIncomingValue() { return PHI->getOperand(idx).getReg(); } in getIncomingValue()
265 return PHI->getOperand(idx+1).getMBB(); in getIncomingBlock()
268 static inline PHI_iterator PHI_begin(PhiT *PHI) { return PHI_iterator(PHI); } in PHI_begin() argument
269 static inline PHI_iterator PHI_end(PhiT *PHI) { in PHI_end() argument
270 return PHI_iterator(PHI, true); in PHI_end()
299 MachineInstr *PHI = InsertNewDef(TargetOpcode::PHI, BB, Loc, in CreateEmptyPHI() local
302 return PHI->getOperand(0).getReg(); in CreateEmptyPHI()
307 static void AddPHIOperand(MachineInstr *PHI, unsigned Val, in AddPHIOperand() argument
309 MachineInstrBuilder(*Pred->getParent(), PHI).addReg(Val).addMBB(Pred); in AddPHIOperand()
329 MachineInstr *PHI = ValueIsPHI(Val, Updater); in ValueIsNewPHI() local
330 if (PHI && PHI->getNumOperands() <= 1) in ValueIsNewPHI()
331 return PHI; in ValueIsNewPHI()
337 static unsigned GetPHIValue(MachineInstr *PHI) { in GetPHIValue() argument
338 return PHI->getOperand(0).getReg(); in GetPHIValue()