Lines Matching refs:PHI
65 static bool IsEquivalentPHI(PHINode *PHI, in IsEquivalentPHI() argument
67 unsigned PHINumValues = PHI->getNumIncomingValues(); in IsEquivalentPHI()
73 if (ValueMapping[PHI->getIncomingBlock(i)] != in IsEquivalentPHI()
74 PHI->getIncomingValue(i)) { in IsEquivalentPHI()
221 PHINode *PHI; member in llvm::SSAUpdaterTraits::PHI_iterator
226 : PHI(P), idx(0) {} in PHI_iterator()
228 : PHI(P), idx(PHI->getNumIncomingValues()) {} in PHI_iterator()
233 Value *getIncomingValue() { return PHI->getIncomingValue(idx); } in getIncomingValue()
234 BasicBlock *getIncomingBlock() { return PHI->getIncomingBlock(idx); } in getIncomingBlock()
237 static PHI_iterator PHI_begin(PhiT *PHI) { return PHI_iterator(PHI); } in PHI_begin() argument
238 static PHI_iterator PHI_end(PhiT *PHI) { in PHI_end() argument
239 return PHI_iterator(PHI, true); in PHI_end()
267 PHINode *PHI = PHINode::Create(Updater->ProtoType, NumPreds, in CreateEmptyPHI() local
269 return PHI; in CreateEmptyPHI()
274 static void AddPHIOperand(PHINode *PHI, Value *Val, BasicBlock *Pred) { in AddPHIOperand() argument
275 PHI->addIncoming(Val, Pred); in AddPHIOperand()
293 PHINode *PHI = ValueIsPHI(Val, Updater); in ValueIsNewPHI() local
294 if (PHI && PHI->getNumIncomingValues() == 0) in ValueIsNewPHI()
295 return PHI; in ValueIsNewPHI()
301 static Value *GetPHIValue(PHINode *PHI) { in GetPHIValue() argument
302 return PHI; in GetPHIValue()