Searched refs:OtherStore (Results 1 – 4 of 4) sorted by relevance
1324 StoreInst *OtherStore = nullptr; in SimplifyStoreAtEndOfBlock() local1336 OtherStore = dyn_cast<StoreInst>(BBI); in SimplifyStoreAtEndOfBlock()1337 if (!OtherStore || OtherStore->getOperand(1) != SI.getOperand(1) || in SimplifyStoreAtEndOfBlock()1338 !SI.isSameOperationAs(OtherStore)) in SimplifyStoreAtEndOfBlock()1352 if ((OtherStore = dyn_cast<StoreInst>(BBI))) { in SimplifyStoreAtEndOfBlock()1353 if (OtherStore->getOperand(1) != SI.getOperand(1) || in SimplifyStoreAtEndOfBlock()1354 !SI.isSameOperationAs(OtherStore)) in SimplifyStoreAtEndOfBlock()1376 Value *MergedVal = OtherStore->getOperand(0); in SimplifyStoreAtEndOfBlock()1380 PN->addIncoming(OtherStore->getOperand(0), OtherBB); in SimplifyStoreAtEndOfBlock()1393 NewSI->setDebugLoc(OtherStore->getDebugLoc()); in SimplifyStoreAtEndOfBlock()[all …]
1477 StoreInst *OtherStore = nullptr; in mergeStoreIntoSuccessor() local1489 OtherStore = dyn_cast<StoreInst>(BBI); in mergeStoreIntoSuccessor()1490 if (!OtherStore || OtherStore->getOperand(1) != SI.getOperand(1) || in mergeStoreIntoSuccessor()1491 !SI.isSameOperationAs(OtherStore)) in mergeStoreIntoSuccessor()1505 if ((OtherStore = dyn_cast<StoreInst>(BBI))) { in mergeStoreIntoSuccessor()1506 if (OtherStore->getOperand(1) != SI.getOperand(1) || in mergeStoreIntoSuccessor()1507 !SI.isSameOperationAs(OtherStore)) in mergeStoreIntoSuccessor()1528 Value *MergedVal = OtherStore->getOperand(0); in mergeStoreIntoSuccessor()1531 OtherStore->getDebugLoc()); in mergeStoreIntoSuccessor()1535 PN->addIncoming(OtherStore->getOperand(0), OtherBB); in mergeStoreIntoSuccessor()[all …]
1541 StoreInst *OtherStore = nullptr; in mergeStoreIntoSuccessor() local1553 OtherStore = dyn_cast<StoreInst>(BBI); in mergeStoreIntoSuccessor()1554 if (!OtherStore || OtherStore->getOperand(1) != SI.getOperand(1) || in mergeStoreIntoSuccessor()1555 !SI.isSameOperationAs(OtherStore)) in mergeStoreIntoSuccessor()1569 if ((OtherStore = dyn_cast<StoreInst>(BBI))) { in mergeStoreIntoSuccessor()1570 if (OtherStore->getOperand(1) != SI.getOperand(1) || in mergeStoreIntoSuccessor()1571 !SI.isSameOperationAs(OtherStore)) in mergeStoreIntoSuccessor()1592 Value *MergedVal = OtherStore->getOperand(0); in mergeStoreIntoSuccessor()1595 OtherStore->getDebugLoc()); in mergeStoreIntoSuccessor()1599 PN->addIncoming(OtherStore->getOperand(0), OtherBB); in mergeStoreIntoSuccessor()[all …]
16666 if (auto *OtherStore = dyn_cast<StoreSDNode>(*UseIter)) { in getStoreMergeCandidates() local16669 if (CandidateMatch(OtherStore, Ptr, PtrDiff) && in getStoreMergeCandidates()16670 !OverLimitInDependenceCheck(OtherStore, RootNode)) in getStoreMergeCandidates()16671 StoreNodes.push_back(MemOpLink(OtherStore, PtrDiff)); in getStoreMergeCandidates()