reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1363 assert(LI->isSimple() && "We only speculate simple loads"); 1365 IRB.SetInsertPoint(LI); 1366 LoadInst *TL = IRB.CreateLoad(LI->getType(), TV, 1367 LI->getName() + ".sroa.speculate.load.true"); 1368 LoadInst *FL = IRB.CreateLoad(LI->getType(), FV, 1369 LI->getName() + ".sroa.speculate.load.false"); 1373 TL->setAlignment(MaybeAlign(LI->getAlignment())); 1374 FL->setAlignment(MaybeAlign(LI->getAlignment())); 1377 LI->getAAMetadata(Tags); 1384 LI->getName() + ".sroa.speculated"); 1387 LI->replaceAllUsesWith(V); 1388 LI->eraseFromParent();