Lines Matching refs:PHI
85 PHINode *PHI = cast<PHINode>(I); in InvokeInliningInfo() local
86 UnwindDestPHIValues.push_back(PHI->getIncomingValueForBlock(InvokeBB)); in InvokeInliningInfo()
1339 PHINode *PHI = nullptr; in InlineFunction() local
1344 PHI = PHINode::Create(RTy, Returns.size(), TheCall->getName(), in InlineFunction()
1348 TheCall->replaceAllUsesWith(PHI); in InlineFunction()
1353 if (PHI) { in InlineFunction()
1356 assert(RI->getReturnValue()->getType() == PHI->getType() && in InlineFunction()
1358 PHI->addIncoming(RI->getReturnValue(), RI->getParent()); in InlineFunction()
1436 if (PHI) { in InlineFunction()
1438 if (Value *V = SimplifyInstruction(PHI, DL, nullptr, nullptr, in InlineFunction()
1440 PHI->replaceAllUsesWith(V); in InlineFunction()
1441 PHI->eraseFromParent(); in InlineFunction()