reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1263 LLVM_DEBUG(dbgs() << " original: " << PN << "\n"); 1265 LoadInst *SomeLoad = cast<LoadInst>(PN.user_back()); 1267 IRBuilderTy PHIBuilder(&PN); 1268 PHINode *NewPN = PHIBuilder.CreatePHI(LoadTy, PN.getNumIncomingValues(), 1269 PN.getName() + ".sroa.speculated"); 1278 while (!PN.use_empty()) { 1279 LoadInst *LI = cast<LoadInst>(PN.user_back()); 1286 for (unsigned Idx = 0, Num = PN.getNumIncomingValues(); Idx != Num; ++Idx) { 1287 BasicBlock *Pred = PN.getIncomingBlock(Idx); 1288 Value *InVal = PN.getIncomingValue(Idx); 1304 (PN.getName() + ".sroa.speculate.load." + Pred->getName())); 1314 PN.eraseFromParent();