Home
last modified time | relevance | path

Searched refs:MemLoc (Results 1 – 12 of 12) 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/lib/Analysis/
DMemoryDependenceAnalysis.cpp250 isLoadLoadClobberIfExtendedToFullWidth(const AliasAnalysis::Location &MemLoc, in isLoadLoadClobberIfExtendedToFullWidth() argument
260 MemLocBase = GetPointerBaseWithConstantOffset(MemLoc.Ptr, MemLocOffs, *TD); in isLoadLoadClobberIfExtendedToFullWidth()
263 getLoadLoadClobberFullWidthSize(MemLocBase, MemLocOffs, MemLoc.Size, in isLoadLoadClobberIfExtendedToFullWidth()
339 getPointerDependencyFrom(const AliasAnalysis::Location &MemLoc, bool isLoad, in getPointerDependencyFrom() argument
369 MemLoc)) in getPointerDependencyFrom()
386 AliasAnalysis::AliasResult R = AA->alias(LoadLoc, MemLoc); in getPointerDependencyFrom()
398 isLoadLoadClobberIfExtendedToFullWidth(MemLoc, MemLocBase, in getPointerDependencyFrom()
446 if (AA->getModRefInfo(SI, MemLoc) == AliasAnalysis::NoModRef) in getPointerDependencyFrom()
454 AliasAnalysis::AliasResult R = AA->alias(StoreLoc, MemLoc); in getPointerDependencyFrom()
473 const Value *AccessPtr = GetUnderlyingObject(MemLoc.Ptr, TD); in getPointerDependencyFrom()
[all …]
/external/llvm/include/llvm/Analysis/
DMemoryDependenceAnalysis.h420 MemDepResult getSimplePointerDependencyFrom(const MemoryLocation &MemLoc,
DAliasAnalysis.h524 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()