Lines Matching refs:RemInst
1522 void MemoryDependenceResults::removeInstruction(Instruction *RemInst) { in removeInstruction() argument
1525 NonLocalDepMapType::iterator NLDI = NonLocalDeps.find(RemInst); in removeInstruction()
1530 RemoveFromReverseMap(ReverseNonLocalDeps, Inst, RemInst); in removeInstruction()
1535 LocalDepMapType::iterator LocalDepEntry = LocalDeps.find(RemInst); in removeInstruction()
1539 RemoveFromReverseMap(ReverseLocalDeps, Inst, RemInst); in removeInstruction()
1550 if (RemInst->getType()->isPointerTy()) { in removeInstruction()
1551 RemoveCachedNonLocalPointerDependencies(ValueIsLoadPair(RemInst, false)); in removeInstruction()
1552 RemoveCachedNonLocalPointerDependencies(ValueIsLoadPair(RemInst, true)); in removeInstruction()
1556 auto toRemoveIt = NonLocalDefsCache.find(RemInst); in removeInstruction()
1558 assert(isa<LoadInst>(RemInst) && in removeInstruction()
1561 ReverseNonLocalDefsCache.find(DepV)->second.erase(RemInst); in removeInstruction()
1576 if (!RemInst->isTerminator()) in removeInstruction()
1577 NewDirtyVal = MemDepResult::getDirty(&*++RemInst->getIterator()); in removeInstruction()
1579 ReverseDepMapType::iterator ReverseDepIt = ReverseLocalDeps.find(RemInst); in removeInstruction()
1582 assert(!ReverseDepIt->second.empty() && !RemInst->isTerminator() && in removeInstruction()
1586 assert(InstDependingOnRemInst != RemInst && in removeInstruction()
1610 ReverseDepIt = ReverseNonLocalDeps.find(RemInst); in removeInstruction()
1613 assert(I != RemInst && "Already removed NonLocalDep info for RemInst"); in removeInstruction()
1620 if (Entry.getResult().getInst() != RemInst) in removeInstruction()
1644 ReverseNonLocalPtrDeps.find(RemInst); in removeInstruction()
1650 assert(P.getPointer() != RemInst && in removeInstruction()
1660 if (Entry.getResult().getInst() != RemInst) in removeInstruction()
1685 PV.invalidateValue(RemInst); in removeInstruction()
1687 assert(!NonLocalDeps.count(RemInst) && "RemInst got reinserted?"); in removeInstruction()
1688 LLVM_DEBUG(verifyRemoved(RemInst)); in removeInstruction()