/external/compiler-rt/lib/tsan/tests/rtl/ |
D | tsan_test_util.h | 20 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 …]
|
D | tsan_mop.cc | 21 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 …]
|
D | tsan_thread.cc | 18 MemLoc l; in TEST() 29 MemLoc l; in TEST() 35 MemLoc l; in TEST()
|
D | tsan_test_util_posix.cc | 130 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()
|
D | tsan_mutex.cc | 101 MemLoc l; in TEST() 117 MemLoc l; in TEST() 133 MemLoc l; in TEST()
|
D | tsan_test.cc | 22 MemLoc l; in TEST()
|
/external/llvm/lib/Analysis/ |
D | MemoryDependenceAnalysis.cpp | 228 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 …]
|
D | AliasAnalysis.cpp | 429 const MemoryLocation &MemLoc, in callCapturesBefore() argument 436 GetUnderlyingObject(MemLoc.Ptr, I->getModule()->getDataLayout()); in callCapturesBefore()
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | MemoryDependenceAnalysis.cpp | 250 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/ |
D | MemoryDependenceAnalysis.h | 420 MemDepResult getSimplePointerDependencyFrom(const MemoryLocation &MemLoc,
|
D | AliasAnalysis.h | 524 const MemoryLocation &MemLoc, DominatorTree *DT,
|
/external/llvm/lib/Transforms/Scalar/ |
D | DeadStoreElimination.cpp | 523 MemoryLocation MemLoc = MemoryLocation::get(SecondI); in memoryIsNotModifiedBetween() local 550 auto Res = AA->getModRefInfo(I, MemLoc); in memoryIsNotModifiedBetween()
|