Home
last modified time | relevance | path

Searched refs:DepWrite (Results 1 – 3 of 3) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DDeadStoreElimination.cpp348 Instruction *DepWrite, in isOverwrite() argument
427 auto &IM = IOL[DepWrite]; in isOverwrite()
540 Instruction *DepWrite, in isPossibleSelfRead() argument
569 MemoryLocation DepReadLoc = getLocForRead(DepWrite, TLI); in isPossibleSelfRead()
1144 Instruction *DepWrite = InstDep.getInst(); in eliminateDeadStores() local
1145 if (!hasAnalyzableMemoryWrite(DepWrite, *TLI)) in eliminateDeadStores()
1147 MemoryLocation DepLoc = getLocForWrite(DepWrite); in eliminateDeadStores()
1160 size_t DepIndex = InstrOrdering.lookup(DepWrite); in eliminateDeadStores()
1182 if (isRemovable(DepWrite) && in eliminateDeadStores()
1183 !isPossibleSelfRead(Inst, Loc, DepWrite, *TLI, *AA)) { in eliminateDeadStores()
[all …]
/external/llvm/lib/Transforms/Scalar/
DDeadStoreElimination.cpp306 Instruction *DepWrite, in isOverwrite() argument
383 auto &IM = IOL[DepWrite]; in isOverwrite()
479 Instruction *DepWrite, in isPossibleSelfRead() argument
498 MemoryLocation DepReadLoc = getLocForRead(DepWrite, TLI); in isPossibleSelfRead()
921 Instruction *DepWrite = InstDep.getInst(); in eliminateDeadStores() local
922 MemoryLocation DepLoc = getLocForWrite(DepWrite, *AA); in eliminateDeadStores()
930 if (isRemovable(DepWrite) && in eliminateDeadStores()
931 !isPossibleSelfRead(Inst, Loc, DepWrite, *TLI, *AA)) { in eliminateDeadStores()
935 DepWrite, IOL); in eliminateDeadStores()
938 << *DepWrite << "\n KILLER: " << *Inst << '\n'); in eliminateDeadStores()
[all …]
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DDeadStoreElimination.cpp391 Instruction *DepWrite, AliasAnalysis &AA) { in isPossibleSelfRead() argument
408 AliasAnalysis::Location DepReadLoc = getLocForRead(DepWrite, AA); in isPossibleSelfRead()
488 Instruction *DepWrite = InstDep.getInst(); in runOnBasicBlock() local
489 AliasAnalysis::Location DepLoc = getLocForWrite(DepWrite, *AA); in runOnBasicBlock()
497 if (isRemovable(DepWrite) && isCompleteOverwrite(Loc, DepLoc, *AA) && in runOnBasicBlock()
498 !isPossibleSelfRead(Inst, Loc, DepWrite, *AA)) { in runOnBasicBlock()
500 << *DepWrite << "\n KILLER: " << *Inst << '\n'); in runOnBasicBlock()
503 DeleteDeadInstruction(DepWrite, *MD); in runOnBasicBlock()
523 if (DepWrite == &BB.front()) break; in runOnBasicBlock()
526 if (AA->getModRefInfo(DepWrite, Loc) & AliasAnalysis::Ref) in runOnBasicBlock()
[all …]