Lines Matching refs:PHI
186 MachineInstr *InsertedPHI = InsertNewDef(TargetOpcode::PHI, BB, in GetValueInMiddleOfBlock()
250 MachineInstr *PHI; member in __anonc9144f730111::MachinePHIiter
255 : PHI(P), idx(1) {} in MachinePHIiter()
257 : PHI(P), idx(PHI->getNumOperands()) {} in MachinePHIiter()
262 unsigned getIncomingValue() { return PHI->getOperand(idx).getReg(); } in getIncomingValue()
264 return PHI->getOperand(idx+1).getMBB(); in getIncomingBlock()
284 static inline PHI_iterator PHI_begin(PhiT *PHI) { return PHI_iterator(PHI); } in PHI_begin() argument
285 static inline PHI_iterator PHI_end(PhiT *PHI) { in PHI_end() argument
286 return PHI_iterator(PHI, true); in PHI_end()
315 MachineInstr *PHI = InsertNewDef(TargetOpcode::PHI, BB, Loc, in CreateEmptyPHI() local
318 return PHI->getOperand(0).getReg(); in CreateEmptyPHI()
323 static void AddPHIOperand(MachineInstr *PHI, unsigned Val, in AddPHIOperand() argument
325 PHI->addOperand(MachineOperand::CreateReg(Val, false)); in AddPHIOperand()
326 PHI->addOperand(MachineOperand::CreateMBB(Pred)); in AddPHIOperand()
346 MachineInstr *PHI = ValueIsPHI(Val, Updater); in ValueIsNewPHI() local
347 if (PHI && PHI->getNumOperands() <= 1) in ValueIsNewPHI()
348 return PHI; in ValueIsNewPHI()
354 static unsigned GetPHIValue(MachineInstr *PHI) { in GetPHIValue() argument
355 return PHI->getOperand(0).getReg(); in GetPHIValue()