reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
930 unsigned NumPHIValues = PN->getNumIncomingValues(); 937 if (!PN->hasOneUse()) { 939 for (User *U : PN->users()) { 954 Value *InVal = PN->getIncomingValue(i); 961 NonConstBB = PN->getIncomingBlock(i); 986 PHINode *NewPN = PHINode::Create(I.getType(), PN->getNumIncomingValues()); 987 InsertNewInstBefore(NewPN, *PN); 988 NewPN->takeName(PN); 1001 BasicBlock *PhiTransBB = PN->getParent(); 1003 BasicBlock *ThisBB = PN->getIncomingBlock(i); 1009 Constant *InC = dyn_cast<Constant>(PN->getIncomingValue(i)); 1026 InV = Builder.CreateSelect(PN->getIncomingValue(i), TrueVInPred, 1035 if (Constant *InC = dyn_cast<Constant>(PN->getIncomingValue(i))) 1038 InV = Builder.CreateICmp(CI->getPredicate(), PN->getIncomingValue(i), 1041 InV = Builder.CreateFCmp(CI->getPredicate(), PN->getIncomingValue(i), 1043 NewPN->addIncoming(InV, PN->getIncomingBlock(i)); 1047 Value *InV = foldOperationIntoPhiValue(BO, PN->getIncomingValue(i), 1049 NewPN->addIncoming(InV, PN->getIncomingBlock(i)); 1056 if (Constant *InC = dyn_cast<Constant>(PN->getIncomingValue(i))) 1059 InV = Builder.CreateCast(CI->getOpcode(), PN->getIncomingValue(i), 1061 NewPN->addIncoming(InV, PN->getIncomingBlock(i)); 1065 for (auto UI = PN->user_begin(), E = PN->user_end(); UI != E;) { 1065 for (auto UI = PN->user_begin(), E = PN->user_end(); UI != E;) {