Lines Matching refs:PN
121 if (auto *PN = dyn_cast<PHINode>(User)) in formLCSSAForInstructions() local
122 UserBB = PN->getIncomingBlock(U); in formLCSSAForInstructions()
162 PHINode *PN = PHINode::Create(I->getType(), PredCache.size(ExitBB), in formLCSSAForInstructions() local
164 PN->insertBefore(ExitBB->begin()); in formLCSSAForInstructions()
166 InsertedPHIs->push_back(PN); in formLCSSAForInstructions()
168 PN->setDebugLoc(I->getDebugLoc()); in formLCSSAForInstructions()
176 PN->addIncoming(I, Pred); in formLCSSAForInstructions()
183 &PN->getOperandUse(PN->getOperandNumForIncomingValue( in formLCSSAForInstructions()
184 PN->getNumIncomingValues() - 1))); in formLCSSAForInstructions()
187 AddedPHIs.push_back(PN); in formLCSSAForInstructions()
190 SSAUpdate.AddAvailableValue(ExitBB, PN); in formLCSSAForInstructions()
202 PostProcessPHIs.push_back(PN); in formLCSSAForInstructions()
209 SE->getSCEV(PN); in formLCSSAForInstructions()
221 if (auto *PN = dyn_cast<PHINode>(User)) in formLCSSAForInstructions() local
222 UserBB = PN->getIncomingBlock(*UseToRewrite); in formLCSSAForInstructions()
295 for (PHINode *PN : AddedPHIs) in formLCSSAForInstructions()
296 if (PN->use_empty()) in formLCSSAForInstructions()
297 LocalPHIsToRemove.insert(PN); in formLCSSAForInstructions()
313 for (PHINode *PN : LocalPHIsToRemove) in formLCSSAForInstructions()
314 if (PN->use_empty()) in formLCSSAForInstructions()
315 PN->eraseFromParent(); in formLCSSAForInstructions()