Lines Matching refs:PN
117 if (auto *PN = dyn_cast<PHINode>(User)) in formLCSSAForInstructions() local
118 UserBB = PN->getIncomingBlock(U); in formLCSSAForInstructions()
162 PHINode *PN = Builder.CreatePHI(I->getType(), PredCache.size(ExitBB), in formLCSSAForInstructions() local
165 PN->setDebugLoc(I->getDebugLoc()); in formLCSSAForInstructions()
173 PN->addIncoming(I, Pred); in formLCSSAForInstructions()
180 &PN->getOperandUse(PN->getOperandNumForIncomingValue( in formLCSSAForInstructions()
181 PN->getNumIncomingValues() - 1))); in formLCSSAForInstructions()
184 AddedPHIs.push_back(PN); in formLCSSAForInstructions()
187 SSAUpdate.AddAvailableValue(ExitBB, PN); in formLCSSAForInstructions()
199 PostProcessPHIs.push_back(PN); in formLCSSAForInstructions()
211 if (auto *PN = dyn_cast<PHINode>(User)) in formLCSSAForInstructions() local
212 UserBB = PN->getIncomingBlock(*UseToRewrite); in formLCSSAForInstructions()
267 for (PHINode *PN : AddedPHIs) in formLCSSAForInstructions()
268 if (PN->use_empty()) in formLCSSAForInstructions()
269 LocalPHIsToRemove.insert(PN); in formLCSSAForInstructions()
285 for (PHINode *PN : LocalPHIsToRemove) in formLCSSAForInstructions()
286 if (PN->use_empty()) in formLCSSAForInstructions()
287 PN->eraseFromParent(); in formLCSSAForInstructions()