reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
96 if (!PN.getType()->isIntegerTy()) 98 if (!PN.hasOneUse()) 101 auto *IntToPtr = dyn_cast<IntToPtrInst>(PN.user_back()); 131 for (unsigned i = 0; i != PN.getNumIncomingValues(); ++i) { 132 Value *Arg = PN.getIncomingValue(i); 144 (DT.dominates(cast<Instruction>(U), PN.getIncomingBlock(i)) || 145 cast<Instruction>(U)->getParent() == PN.getIncomingBlock(i))) { 178 auto *BB = PN.getParent(); 179 assert(AvailablePtrVals.size() == PN.getNumIncomingValues() && 189 if (!PtrPHI || PtrPHI == &PN || PtrPHI->getType() != IntToPtr->getType()) 194 PtrPHI->getIncomingValueForBlock(PN.getIncomingBlock(i))) { 230 IntToPtr->getType(), PN.getNumIncomingValues(), PN.getName() + ".ptr"); 230 IntToPtr->getType(), PN.getNumIncomingValues(), PN.getName() + ".ptr"); 232 InsertNewInstBefore(NewPtrPHI, PN); 234 for (unsigned i = 0; i != PN.getNumIncomingValues(); ++i) { 235 auto *IncomingBB = PN.getIncomingBlock(i);