Home
last modified time | relevance | path

Searched refs:RemInst (Results 1 – 5 of 5) sorted by relevance

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DDivRemPairs.cpp82 AssertingVH<Instruction> RemInst; member
85 : DivInst(DivInst_), RemInst(RemInst_) { in DivRemPairWorklistEntry()
89 assert(DivInst->getType() == RemInst->getType() && "Types should match."); in DivRemPairWorklistEntry()
105 switch (RemInst->getOpcode()) { in isRemExpanded()
157 Instruction *RemInst = RemPair.second; in getWorklist() local
160 Worklist.emplace_back(DivInst, RemInst); in getWorklist()
196 auto &RemInst = E.RemInst; in optimizeDivRem() local
210 RealRem->setName(RemInst->getName() + ".recomposed"); in optimizeDivRem()
211 RealRem->insertAfter(RemInst); in optimizeDivRem()
212 Instruction *OrigRemInst = RemInst; in optimizeDivRem()
[all …]
/external/llvm-project/llvm/lib/Transforms/Scalar/
DDivRemPairs.cpp84 AssertingVH<Instruction> RemInst; member
87 : DivInst(DivInst_), RemInst(RemInst_) { in DivRemPairWorklistEntry()
91 assert(DivInst->getType() == RemInst->getType() && "Types should match."); in DivRemPairWorklistEntry()
107 switch (RemInst->getOpcode()) { in isRemExpanded()
160 Instruction *RemInst = RemPair.second; in getWorklist() local
163 Worklist.emplace_back(It->second, RemInst); in getWorklist()
199 auto &RemInst = E.RemInst; in optimizeDivRem() local
213 RealRem->setName(RemInst->getName() + ".recomposed"); in optimizeDivRem()
214 RealRem->insertAfter(RemInst); in optimizeDivRem()
215 Instruction *OrigRemInst = RemInst; in optimizeDivRem()
[all …]
/external/llvm-project/llvm/lib/Analysis/
DMemoryDependenceAnalysis.cpp1522 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()
[all …]
/external/llvm/lib/Analysis/
DMemoryDependenceAnalysis.cpp1457 void MemoryDependenceResults::removeInstruction(Instruction *RemInst) { in removeInstruction() argument
1460 NonLocalDepMapType::iterator NLDI = NonLocalDeps.find(RemInst); in removeInstruction()
1465 RemoveFromReverseMap(ReverseNonLocalDeps, Inst, RemInst); in removeInstruction()
1471 LocalDepMapType::iterator LocalDepEntry = LocalDeps.find(RemInst); in removeInstruction()
1475 RemoveFromReverseMap(ReverseLocalDeps, Inst, RemInst); in removeInstruction()
1487 if (RemInst->getType()->isPointerTy()) { in removeInstruction()
1488 RemoveCachedNonLocalPointerDependencies(ValueIsLoadPair(RemInst, false)); in removeInstruction()
1489 RemoveCachedNonLocalPointerDependencies(ValueIsLoadPair(RemInst, true)); in removeInstruction()
1503 if (!RemInst->isTerminator()) in removeInstruction()
1504 NewDirtyVal = MemDepResult::getDirty(&*++RemInst->getIterator()); in removeInstruction()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DMemoryDependenceAnalysis.cpp1542 void MemoryDependenceResults::removeInstruction(Instruction *RemInst) { in removeInstruction() argument
1545 NonLocalDepMapType::iterator NLDI = NonLocalDeps.find(RemInst); in removeInstruction()
1550 RemoveFromReverseMap(ReverseNonLocalDeps, Inst, RemInst); in removeInstruction()
1555 LocalDepMapType::iterator LocalDepEntry = LocalDeps.find(RemInst); in removeInstruction()
1559 RemoveFromReverseMap(ReverseLocalDeps, Inst, RemInst); in removeInstruction()
1571 if (RemInst->getType()->isPointerTy()) { in removeInstruction()
1572 RemoveCachedNonLocalPointerDependencies(ValueIsLoadPair(RemInst, false)); in removeInstruction()
1573 RemoveCachedNonLocalPointerDependencies(ValueIsLoadPair(RemInst, true)); in removeInstruction()
1586 if (!RemInst->isTerminator()) in removeInstruction()
1587 NewDirtyVal = MemDepResult::getDirty(&*++RemInst->getIterator()); in removeInstruction()
[all …]