Lines Matching refs:PHINode
404 bool llvm::RecursivelyDeleteDeadPHINode(PHINode *PN,
525 if (!isa<PHINode>(BB->begin()))
534 while (PHINode *PN = dyn_cast<PHINode>(PhiIt)) {
556 while (PHINode *PN = dyn_cast<PHINode>(DestBB->begin())) {
625 for (BasicBlock::iterator I = Succ->begin(); isa<PHINode>(I); ++I) {
626 PHINode *PN = cast<PHINode>(I);
628 // If the incoming value from BB is again a PHINode in
631 PHINode *BBPN = dyn_cast<PHINode>(PN->getIncomingValueForBlock(BB));
706 static void gatherIncomingValuesToPhi(PHINode *PN,
722 static void replaceUndefValuesInPhi(PHINode *PN,
746 PHINode *PN) {
765 if (isa<PHINode>(OldVal) && cast<PHINode>(OldVal)->getParent() == BB) {
766 PHINode *OldValPN = cast<PHINode>(OldVal);
830 while (isa<PHINode>(*BBI)) {
832 if (PHINode* PN = dyn_cast<PHINode>(U.getUser())) {
845 if (isa<PHINode>(Succ->begin())) {
852 for (BasicBlock::iterator I = Succ->begin(); isa<PHINode>(I); ++I) {
853 PHINode *PN = cast<PHINode>(I);
868 while (PHINode *PN = dyn_cast<PHINode>(&BB->front())) {
893 static PHINode *getEmptyKey() {
894 return DenseMapInfo<PHINode *>::getEmptyKey();
896 static PHINode *getTombstoneKey() {
897 return DenseMapInfo<PHINode *>::getTombstoneKey();
899 static unsigned getHashValue(PHINode *PN) {
907 static bool isEqual(PHINode *LHS, PHINode *RHS) {
916 DenseSet<PHINode *, PHIDenseMapInfo> PHISet;
920 for (auto I = BB->begin(); PHINode *PN = dyn_cast<PHINode>(I++);) {