Home
last modified time | relevance | path

Searched refs:OtherStore (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp1480 StoreInst *OtherStore = nullptr; in mergeStoreIntoSuccessor() local
1492 OtherStore = dyn_cast<StoreInst>(BBI); in mergeStoreIntoSuccessor()
1493 if (!OtherStore || OtherStore->getOperand(1) != SI.getOperand(1) || in mergeStoreIntoSuccessor()
1494 !SI.isSameOperationAs(OtherStore)) in mergeStoreIntoSuccessor()
1508 if ((OtherStore = dyn_cast<StoreInst>(BBI))) { in mergeStoreIntoSuccessor()
1509 if (OtherStore->getOperand(1) != SI.getOperand(1) || in mergeStoreIntoSuccessor()
1510 !SI.isSameOperationAs(OtherStore)) in mergeStoreIntoSuccessor()
1531 Value *MergedVal = OtherStore->getOperand(0); in mergeStoreIntoSuccessor()
1538 PN->addIncoming(OtherStore->getOperand(0), OtherBB); in mergeStoreIntoSuccessor()
1554 NewSI->setAAMetadata(AATags.merge(OtherStore->getAAMetadata())); in mergeStoreIntoSuccessor()
[all …]
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp18163 if (auto *OtherStore = dyn_cast<StoreSDNode>(*UseIter)) { in getStoreMergeCandidates() local
18166 if (CandidateMatch(OtherStore, Ptr, PtrDiff) && in getStoreMergeCandidates()
18167 !OverLimitInDependenceCheck(OtherStore, RootNode)) in getStoreMergeCandidates()
18168 StoreNodes.push_back(MemOpLink(OtherStore, PtrDiff)); in getStoreMergeCandidates()