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

References

lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
  569   if (!LI.isUnordered())
  572   if (LI.use_empty())
  576   if (LI.getPointerOperand()->isSwiftError())
  579   Type *Ty = LI.getType();
  593           peekThroughBitcast(LI.getPointerOperand(), /*OneUseOnly=*/true))) {
  594     if (all_of(LI.users(), [&LI](User *U) {
  594     if (all_of(LI.users(), [&LI](User *U) {
  596           return SI && SI->getPointerOperand() != &LI &&
  600           IC, LI,
  601           Type::getIntNTy(LI.getContext(), DL.getTypeStoreSizeInBits(Ty)));
  603       for (auto UI = LI.user_begin(), UE = LI.user_end(); UI != UE;) {
  603       for (auto UI = LI.user_begin(), UE = LI.user_end(); UI != UE;) {
  609       assert(LI.use_empty() && "Failed to remove all users of the load!");
  611       return &LI;
  619   if (LI.hasOneUse())
  620     if (auto* CI = dyn_cast<CastInst>(LI.user_back()))
  622         if (!LI.isAtomic() || isSupportedAtomicType(CI->getDestTy())) {
  623           LoadInst *NewLoad = combineLoadToNewType(IC, LI, CI->getDestTy());
  626           return &LI;