/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-project/compiler-rt/lib/tsan/tests/rtl/ |
D | tsan_test_util.h | 19 class MemLoc { 21 explicit MemLoc(int offset_from_aligned = 0); 22 explicit MemLoc(void *const real_addr) : loc_(real_addr) { } in MemLoc() function 23 ~MemLoc(); 27 MemLoc(const MemLoc&); 28 void operator = (const MemLoc&); 74 void Read(const MemLoc &ml, int size, bool expect_race = false) { 77 void Write(const MemLoc &ml, int size, bool expect_race = false) { 80 void Read1(const MemLoc &ml, bool expect_race = false) { 82 void Read2(const MemLoc &ml, bool expect_race = false) { [all …]
|
D | tsan_mop.cpp | 20 MemLoc l; in TEST() 26 MemLoc l1, l2; in TEST() 33 MemLoc l; in TEST() 40 MemLoc l; in TEST() 47 MemLoc l; in TEST() 54 MemLoc l; in TEST() 60 MemLoc l; in TEST() 71 MemLoc l; in TEST() 90 MemLoc l; in TEST() 109 MemLoc l; in TEST() [all …]
|
D | tsan_thread.cpp | 17 MemLoc l; in TEST() 28 MemLoc l; in TEST() 34 MemLoc l; in TEST()
|
D | tsan_test_util_posix.cpp | 86 MemLoc::MemLoc(int offset_from_aligned) in MemLoc() function in MemLoc 90 MemLoc::~MemLoc() { in ~MemLoc() 424 void ScopedThread::VptrUpdate(const MemLoc &vptr, in VptrUpdate() 425 const MemLoc &new_val, in VptrUpdate()
|
D | tsan_mutex.cpp | 100 MemLoc l; in TEST() 116 MemLoc l; in TEST() 132 MemLoc l; in TEST()
|
D | tsan_test.cpp | 21 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/llvm-project/llvm/lib/Analysis/ |
D | MemoryDependenceAnalysis.cpp | 257 const MemoryLocation &MemLoc, bool isLoad, BasicBlock::iterator ScanIt, in getPointerDependencyFrom() argument 269 MemLoc, isLoad, ScanIt, BB, QueryInst, Limit); in getPointerDependencyFrom() 369 const MemoryLocation &MemLoc, bool isLoad, BasicBlock::iterator ScanIt, in getSimplePointerDependencyFrom() argument 459 if (BatchAA.isMustAlias(ArgLoc, MemLoc)) in getSimplePointerDependencyFrom() 467 AliasResult R = BatchAA.alias(Loc, MemLoc); in getSimplePointerDependencyFrom() 513 AliasResult R = BatchAA.alias(LoadLoc, MemLoc); in getSimplePointerDependencyFrom() 575 if (!isModOrRefSet(BatchAA.getModRefInfo(SI, MemLoc))) in getSimplePointerDependencyFrom() 584 AliasResult R = BatchAA.alias(StoreLoc, MemLoc); in getSimplePointerDependencyFrom() 602 const Value *AccessPtr = getUnderlyingObject(MemLoc.Ptr); in getSimplePointerDependencyFrom() 620 ModRefInfo MR = BatchAA.getModRefInfo(Inst, MemLoc); in getSimplePointerDependencyFrom() [all …]
|
D | AliasSetTracker.cpp | 348 AliasSet &AliasSetTracker::getAliasSetFor(const MemoryLocation &MemLoc) { in getAliasSetFor() argument 350 Value * const Pointer = const_cast<Value*>(MemLoc.Ptr); in getAliasSetFor() 351 const LocationSize Size = MemLoc.Size; in getAliasSetFor() 352 const AAMDNodes &AAInfo = MemLoc.AATags; in getAliasSetFor()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | MemoryDependenceAnalysis.cpp | 329 const MemoryLocation &MemLoc, bool isLoad, BasicBlock::iterator ScanIt, in getPointerDependencyFrom() argument 342 MemLoc, isLoad, ScanIt, BB, QueryInst, Limit, OBB); in getPointerDependencyFrom() 442 const MemoryLocation &MemLoc, bool isLoad, BasicBlock::iterator ScanIt, in getSimplePointerDependencyFrom() argument 539 if (AA.isMustAlias(MemoryLocation(II->getArgOperand(1)), MemLoc)) in getSimplePointerDependencyFrom() 579 AliasResult R = AA.alias(LoadLoc, MemLoc); in getSimplePointerDependencyFrom() 641 if (!isModOrRefSet(AA.getModRefInfo(SI, MemLoc))) in getSimplePointerDependencyFrom() 650 AliasResult R = AA.alias(StoreLoc, MemLoc); in getSimplePointerDependencyFrom() 668 const Value *AccessPtr = GetUnderlyingObject(MemLoc.Ptr, DL); in getSimplePointerDependencyFrom() 686 ModRefInfo MR = AA.getModRefInfo(Inst, MemLoc); in getSimplePointerDependencyFrom() 689 MR = AA.callCapturesBefore(Inst, MemLoc, &DT, OBB); in getSimplePointerDependencyFrom() [all …]
|
D | AliasSetTracker.cpp | 353 AliasSet &AliasSetTracker::getAliasSetFor(const MemoryLocation &MemLoc) { in getAliasSetFor() argument 355 Value * const Pointer = const_cast<Value*>(MemLoc.Ptr); in getAliasSetFor() 356 const LocationSize Size = MemLoc.Size; in getAliasSetFor() 357 const AAMDNodes &AAInfo = MemLoc.AATags; in getAliasSetFor()
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | process_state.h | 45 enum MemLoc { CPU, GPU }; enum 46 MemLoc loc;
|
/external/llvm-project/llvm/lib/CodeGen/ |
D | StackProtector.cpp | 172 Optional<MemoryLocation> MemLoc = MemoryLocation::getOrNone(I); in HasAddressTaken() local 173 if (MemLoc.hasValue() && MemLoc->Size.hasValue() && in HasAddressTaken() 174 MemLoc->Size.getValue() > AllocSize) in HasAddressTaken()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | EarlyCSE.cpp | 840 MemoryLocation MemLoc = *MemLocOpt; in isOperatingOnInvariantMemAt() local 841 if (!AvailableInvariants.count(MemLoc)) in isOperatingOnInvariantMemAt() 846 return AvailableInvariants.lookup(MemLoc) <= GenAt; in isOperatingOnInvariantMemAt() 996 MemoryLocation MemLoc = MemoryLocation::getForArgument(CI, 1, TLI); in processNode() local 998 if (!AvailableInvariants.count(MemLoc)) in processNode() 999 AvailableInvariants.insert(MemLoc, CurrentGeneration); in processNode() 1102 auto MemLoc = MemoryLocation::get(Inst); in processNode() local 1103 if (!AvailableInvariants.count(MemLoc)) in processNode() 1104 AvailableInvariants.insert(MemLoc, CurrentGeneration); in processNode()
|
D | LICM.cpp | 152 static bool pointerInvalidatedByLoop(MemoryLocation MemLoc, 2250 static bool pointerInvalidatedByLoop(MemoryLocation MemLoc, in pointerInvalidatedByLoop() argument 2254 bool isInvalidatedAccordingToAST = CurAST->getAliasSetFor(MemLoc).isMod(); in pointerInvalidatedByLoop() 2282 << *(MemLoc.Ptr) << "\n"); in pointerInvalidatedByLoop() 2286 auto Res = AA->getModRefInfo(&I, MemLoc); in pointerInvalidatedByLoop() 2289 << *(MemLoc.Ptr) << "\n"); in pointerInvalidatedByLoop() 2293 LLVM_DEBUG(dbgs() << "Aliasing okay for " << *(MemLoc.Ptr) << "\n"); in pointerInvalidatedByLoop()
|
/external/llvm-project/llvm/lib/Transforms/Scalar/ |
D | EarlyCSE.cpp | 1018 MemoryLocation MemLoc = *MemLocOpt; in isOperatingOnInvariantMemAt() local 1019 if (!AvailableInvariants.count(MemLoc)) in isOperatingOnInvariantMemAt() 1024 return AvailableInvariants.lookup(MemLoc) <= GenAt; in isOperatingOnInvariantMemAt() 1252 MemoryLocation MemLoc = in processNode() local 1255 if (!AvailableInvariants.count(MemLoc)) in processNode() 1256 AvailableInvariants.insert(MemLoc, CurrentGeneration); in processNode() 1362 auto MemLoc = MemoryLocation::get(&Inst); in processNode() local 1363 if (!AvailableInvariants.count(MemLoc)) in processNode() 1364 AvailableInvariants.insert(MemLoc, CurrentGeneration); in processNode()
|
D | LICM.cpp | 169 static bool pointerInvalidatedByLoop(MemoryLocation MemLoc, 2247 static bool pointerInvalidatedByLoop(MemoryLocation MemLoc, in pointerInvalidatedByLoop() argument 2251 bool isInvalidatedAccordingToAST = CurAST->getAliasSetFor(MemLoc).isMod(); in pointerInvalidatedByLoop() 2279 << *(MemLoc.Ptr) << "\n"); in pointerInvalidatedByLoop() 2283 auto Res = AA->getModRefInfo(&I, MemLoc); in pointerInvalidatedByLoop() 2286 << *(MemLoc.Ptr) << "\n"); in pointerInvalidatedByLoop() 2290 LLVM_DEBUG(dbgs() << "Aliasing okay for " << *(MemLoc.Ptr) << "\n"); in pointerInvalidatedByLoop()
|
/external/llvm/include/llvm/Analysis/ |
D | MemoryDependenceAnalysis.h | 420 MemDepResult getSimplePointerDependencyFrom(const MemoryLocation &MemLoc,
|