Lines Matching refs:OtherStore
1516 auto OtherStoreIsMergeable = [&](StoreInst *OtherStore) -> bool { in mergeStoreIntoSuccessor() argument
1517 if (!OtherStore || in mergeStoreIntoSuccessor()
1518 OtherStore->getPointerOperand() != SI.getPointerOperand()) in mergeStoreIntoSuccessor()
1522 auto *OSVTy = OtherStore->getValueOperand()->getType(); in mergeStoreIntoSuccessor()
1524 SI.hasSameSpecialState(OtherStore); in mergeStoreIntoSuccessor()
1529 StoreInst *OtherStore = nullptr; in mergeStoreIntoSuccessor() local
1540 OtherStore = dyn_cast<StoreInst>(BBI); in mergeStoreIntoSuccessor()
1541 if (!OtherStoreIsMergeable(OtherStore)) in mergeStoreIntoSuccessor()
1555 OtherStore = dyn_cast<StoreInst>(BBI); in mergeStoreIntoSuccessor()
1556 if (OtherStoreIsMergeable(OtherStore)) in mergeStoreIntoSuccessor()
1576 Value *MergedVal = OtherStore->getValueOperand(); in mergeStoreIntoSuccessor()
1579 OtherStore->getDebugLoc()); in mergeStoreIntoSuccessor()
1584 Builder.SetInsertPoint(OtherStore); in mergeStoreIntoSuccessor()
1598 NewSI->mergeDIAssignID({&SI, OtherStore}); in mergeStoreIntoSuccessor()
1603 NewSI->setAAMetadata(AATags.merge(OtherStore->getAAMetadata())); in mergeStoreIntoSuccessor()
1607 eraseInstFromFunction(*OtherStore); in mergeStoreIntoSuccessor()