reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Transforms/Scalar/JumpThreading.cpp
 1295   if (!LoadI->isUnordered()) return false;
 1299   BasicBlock *LoadBB = LoadI->getParent();
 1309   Value *LoadedPtr = LoadI->getOperand(0);
 1318   BasicBlock::iterator BBIt(LoadI);
 1321           LoadI, LoadBB, BBIt, DefMaxInstsToScan, AA, &IsLoadCSE)) {
 1327       combineMetadataForCSE(NLoadI, LoadI, false);
 1332     if (AvailableVal == LoadI)
 1333       AvailableVal = UndefValue::get(LoadI->getType());
 1334     if (AvailableVal->getType() != LoadI->getType())
 1336           AvailableVal, LoadI->getType(), "", LoadI);
 1336           AvailableVal, LoadI->getType(), "", LoadI);
 1337     LoadI->replaceAllUsesWith(AvailableVal);
 1338     LoadI->eraseFromParent();
 1351   LoadI->getAAMetadata(AATags);
 1373     assert(LoadI->isUnordered() &&
 1379         Ptr, LoadI->getType(), LoadI->isAtomic(), PredBB, BBIt,
 1379         Ptr, LoadI->getType(), LoadI->isAtomic(), PredBB, BBIt,
 1391             Ptr, LoadI->getType(), LoadI->isAtomic(), SinglePredBB, BBIt,
 1391             Ptr, LoadI->getType(), LoadI->isAtomic(), SinglePredBB, BBIt,
 1430       !isSafeToSpeculativelyExecute(LoadI))
 1431     for (auto I = LoadBB->begin(); &*I != LoadI; ++I)
 1473         LoadI->getType(), LoadedPtr->DoPHITranslation(LoadBB, UnavailablePred),
 1474         LoadI->getName() + ".pr", false, MaybeAlign(LoadI->getAlignment()),
 1474         LoadI->getName() + ".pr", false, MaybeAlign(LoadI->getAlignment()),
 1475         LoadI->getOrdering(), LoadI->getSyncScopeID(),
 1475         LoadI->getOrdering(), LoadI->getSyncScopeID(),
 1477     NewVal->setDebugLoc(LoadI->getDebugLoc());
 1490   PHINode *PN = PHINode::Create(LoadI->getType(), std::distance(PB, PE), "",
 1492   PN->takeName(LoadI);
 1493   PN->setDebugLoc(LoadI->getDebugLoc());
 1510     if (PredV->getType() != LoadI->getType())
 1511       PredV = CastInst::CreateBitOrPointerCast(PredV, LoadI->getType(), "",
 1518     combineMetadataForCSE(PredLoadI, LoadI, true);
 1521   LoadI->replaceAllUsesWith(PN);
 1522   LoadI->eraseFromParent();