Home
last modified time | relevance | path

Searched refs:MemLoc (Results 1 – 20 of 20) sorted by relevance

/external/compiler-rt/lib/tsan/tests/rtl/
Dtsan_test_util.h20 class MemLoc {
22 explicit MemLoc(int offset_from_aligned = 0);
23 explicit MemLoc(void *const real_addr) : loc_(real_addr) { } in MemLoc() function
24 ~MemLoc();
28 MemLoc(const MemLoc&);
29 void operator = (const MemLoc&);
75 void Read(const MemLoc &ml, int size, bool expect_race = false) {
78 void Write(const MemLoc &ml, int size, bool expect_race = false) {
81 void Read1(const MemLoc &ml, bool expect_race = false) {
83 void Read2(const MemLoc &ml, bool expect_race = false) {
[all …]
Dtsan_mop.cc21 MemLoc l; in TEST()
27 MemLoc l1, l2; in TEST()
34 MemLoc l; in TEST()
41 MemLoc l; in TEST()
48 MemLoc l; in TEST()
55 MemLoc l; in TEST()
61 MemLoc l; in TEST()
72 MemLoc l; in TEST()
91 MemLoc l; in TEST()
110 MemLoc l; in TEST()
[all …]
Dtsan_thread.cc18 MemLoc l; in TEST()
29 MemLoc l; in TEST()
35 MemLoc l; in TEST()
Dtsan_test_util_posix.cc130 MemLoc::MemLoc(int offset_from_aligned) in MemLoc() function in MemLoc
134 MemLoc::~MemLoc() { in ~MemLoc()
448 void ScopedThread::VptrUpdate(const MemLoc &vptr, in VptrUpdate()
449 const MemLoc &new_val, in VptrUpdate()
Dtsan_mutex.cc101 MemLoc l; in TEST()
117 MemLoc l; in TEST()
133 MemLoc l; in TEST()
Dtsan_test.cc22 MemLoc l; in TEST()
/external/llvm/lib/Analysis/
DMemoryDependenceAnalysis.cpp228 static bool isLoadLoadClobberIfExtendedToFullWidth(const MemoryLocation &MemLoc, in isLoadLoadClobberIfExtendedToFullWidth() argument
236 MemLocBase = GetPointerBaseWithConstantOffset(MemLoc.Ptr, MemLocOffs, DL); in isLoadLoadClobberIfExtendedToFullWidth()
239 MemLocBase, MemLocOffs, MemLoc.Size, LI); in isLoadLoadClobberIfExtendedToFullWidth()
329 const MemoryLocation &MemLoc, bool isLoad, BasicBlock::iterator ScanIt, in getPointerDependencyFrom() argument
341 return getSimplePointerDependencyFrom(MemLoc, isLoad, ScanIt, BB, QueryInst); in getPointerDependencyFrom()
396 const MemoryLocation &MemLoc, bool isLoad, BasicBlock::iterator ScanIt, in getSimplePointerDependencyFrom() argument
489 if (AA.isMustAlias(MemoryLocation(II->getArgOperand(1)), MemLoc)) in getSimplePointerDependencyFrom()
530 AliasResult R = AA.alias(LoadLoc, MemLoc); in getSimplePointerDependencyFrom()
542 isLoadLoadClobberIfExtendedToFullWidth(MemLoc, MemLocBase, in getSimplePointerDependencyFrom()
605 if (AA.getModRefInfo(SI, MemLoc) == MRI_NoModRef) in getSimplePointerDependencyFrom()
[all …]
DAliasAnalysis.cpp429 const MemoryLocation &MemLoc, in callCapturesBefore() argument
436 GetUnderlyingObject(MemLoc.Ptr, I->getModule()->getDataLayout()); in callCapturesBefore()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DMemoryDependenceAnalysis.cpp330 const MemoryLocation &MemLoc, bool isLoad, BasicBlock::iterator ScanIt, in getPointerDependencyFrom() argument
342 MemLoc, isLoad, ScanIt, BB, QueryInst, Limit); in getPointerDependencyFrom()
442 const MemoryLocation &MemLoc, bool isLoad, BasicBlock::iterator ScanIt, in getSimplePointerDependencyFrom() argument
448 return getSimplePointerDependencyFrom(MemLoc, isLoad, ScanIt, BB, QueryInst, in getSimplePointerDependencyFrom()
537 if (AA.isMustAlias(MemoryLocation(II->getArgOperand(1)), MemLoc)) in getSimplePointerDependencyFrom()
577 AliasResult R = AA.alias(LoadLoc, MemLoc); in getSimplePointerDependencyFrom()
639 if (!isModOrRefSet(AA.getModRefInfo(SI, MemLoc))) in getSimplePointerDependencyFrom()
648 AliasResult R = AA.alias(StoreLoc, MemLoc); in getSimplePointerDependencyFrom()
666 const Value *AccessPtr = GetUnderlyingObject(MemLoc.Ptr, DL); in getSimplePointerDependencyFrom()
684 ModRefInfo MR = AA.getModRefInfo(Inst, MemLoc); in getSimplePointerDependencyFrom()
[all …]
DAliasAnalysis.cpp551 const MemoryLocation &MemLoc, in callCapturesBefore() argument
558 GetUnderlyingObject(MemLoc.Ptr, I->getModule()->getDataLayout()); in callCapturesBefore()
/external/tensorflow/tensorflow/core/common_runtime/
Dprocess_state.h45 enum MemLoc { CPU, GPU }; enum
46 MemLoc loc;
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DEarlyCSE.cpp704 MemoryLocation MemLoc = *MemLocOpt; in isOperatingOnInvariantMemAt() local
705 if (!AvailableInvariants.count(MemLoc)) in isOperatingOnInvariantMemAt()
710 return AvailableInvariants.lookup(MemLoc) <= GenAt; in isOperatingOnInvariantMemAt()
859 MemoryLocation MemLoc = MemoryLocation::getForArgument(CI, 1, TLI); in processNode() local
861 if (!AvailableInvariants.count(MemLoc)) in processNode()
862 AvailableInvariants.insert(MemLoc, CurrentGeneration); in processNode()
965 auto MemLoc = MemoryLocation::get(Inst); in processNode() local
966 if (!AvailableInvariants.count(MemLoc)) in processNode()
967 AvailableInvariants.insert(MemLoc, CurrentGeneration); in processNode()
DDeadStoreElimination.cpp594 MemoryLocation MemLoc = MemoryLocation::get(SecondI); in memoryIsNotModifiedBetween() local
621 if (isModSet(AA->getModRefInfo(I, MemLoc))) in memoryIsNotModifiedBetween()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/
DARMParallelDSP.cpp524 for (auto &MemLoc : MAC->MemLocs) { in AreAliased() local
525 if (isModOrRefSet(intersectModRef(AA->getModRefInfo(I, MemLoc), in AreAliased()
/external/llvm/include/llvm/Analysis/
DMemoryDependenceAnalysis.h420 MemDepResult getSimplePointerDependencyFrom(const MemoryLocation &MemLoc,
DAliasAnalysis.h524 const MemoryLocation &MemLoc, DominatorTree *DT,
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DMemoryDependenceAnalysis.h454 MemDepResult getSimplePointerDependencyFrom(const MemoryLocation &MemLoc,
DAliasAnalysis.h678 const MemoryLocation &MemLoc, DominatorTree *DT,
/external/llvm/lib/Transforms/Scalar/
DDeadStoreElimination.cpp523 MemoryLocation MemLoc = MemoryLocation::get(SecondI); in memoryIsNotModifiedBetween() local
550 auto Res = AA->getModRefInfo(I, MemLoc); in memoryIsNotModifiedBetween()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinter.cpp847 bool MemLoc = MI->getOperand(0).isReg() && MI->getOperand(1).isImm(); in emitDebugValueComment() local
848 int64_t Offset = MemLoc ? MI->getOperand(1).getImm() : 0; in emitDebugValueComment()
893 MemLoc = true; in emitDebugValueComment()
902 if (MemLoc) in emitDebugValueComment()
907 if (MemLoc) in emitDebugValueComment()