Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DDivRemPairs.cpp82 Instruction *RemInst = RemPair.second; in optimizeDivRem() local
89 if (HasDivRemOp && RemInst->getParent() == DivInst->getParent()) in optimizeDivRem()
92 bool DivDominates = DT.dominates(DivInst, RemInst); in optimizeDivRem()
93 if (!DivDominates && !DT.dominates(RemInst, DivInst)) in optimizeDivRem()
100 RemInst->moveAfter(DivInst); in optimizeDivRem()
102 DivInst->moveAfter(RemInst); in optimizeDivRem()
108 Value *X = RemInst->getOperand(0); in optimizeDivRem()
109 Value *Y = RemInst->getOperand(1); in optimizeDivRem()
144 DivInst->moveBefore(RemInst); in optimizeDivRem()
145 Mul->insertAfter(RemInst); in optimizeDivRem()
[all …]
/external/swiftshader/third_party/LLVM/lib/Analysis/
DMemoryDependenceAnalysis.cpp1262 void MemoryDependenceAnalysis::removeInstruction(Instruction *RemInst) { in removeInstruction() argument
1265 NonLocalDepMapType::iterator NLDI = NonLocalDeps.find(RemInst); in removeInstruction()
1271 RemoveFromReverseMap(ReverseNonLocalDeps, Inst, RemInst); in removeInstruction()
1277 LocalDepMapType::iterator LocalDepEntry = LocalDeps.find(RemInst); in removeInstruction()
1281 RemoveFromReverseMap(ReverseLocalDeps, Inst, RemInst); in removeInstruction()
1293 if (RemInst->getType()->isPointerTy()) { in removeInstruction()
1294 RemoveCachedNonLocalPointerDependencies(ValueIsLoadPair(RemInst, false)); in removeInstruction()
1295 RemoveCachedNonLocalPointerDependencies(ValueIsLoadPair(RemInst, true)); in removeInstruction()
1309 if (!RemInst->isTerminator()) in removeInstruction()
1310 NewDirtyVal = MemDepResult::getDirty(++BasicBlock::iterator(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-7.0/llvm/lib/Analysis/
DMemoryDependenceAnalysis.cpp1525 void MemoryDependenceResults::removeInstruction(Instruction *RemInst) { in removeInstruction() argument
1528 NonLocalDepMapType::iterator NLDI = NonLocalDeps.find(RemInst); in removeInstruction()
1533 RemoveFromReverseMap(ReverseNonLocalDeps, Inst, RemInst); in removeInstruction()
1538 LocalDepMapType::iterator LocalDepEntry = LocalDeps.find(RemInst); in removeInstruction()
1542 RemoveFromReverseMap(ReverseLocalDeps, Inst, RemInst); in removeInstruction()
1554 if (RemInst->getType()->isPointerTy()) { in removeInstruction()
1555 RemoveCachedNonLocalPointerDependencies(ValueIsLoadPair(RemInst, false)); in removeInstruction()
1556 RemoveCachedNonLocalPointerDependencies(ValueIsLoadPair(RemInst, true)); in removeInstruction()
1569 if (!RemInst->isTerminator()) in removeInstruction()
1570 NewDirtyVal = MemDepResult::getDirty(&*++RemInst->getIterator()); in removeInstruction()
[all …]