Home
last modified time | relevance | path

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

12

/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-project/compiler-rt/lib/tsan/tests/rtl/
Dtsan_test_util.h19 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 …]
Dtsan_mop.cpp20 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 …]
Dtsan_thread.cpp17 MemLoc l; in TEST()
28 MemLoc l; in TEST()
34 MemLoc l; in TEST()
Dtsan_test_util_posix.cpp86 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()
Dtsan_mutex.cpp100 MemLoc l; in TEST()
116 MemLoc l; in TEST()
132 MemLoc l; in TEST()
Dtsan_test.cpp21 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/llvm-project/llvm/lib/Analysis/
DMemoryDependenceAnalysis.cpp257 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 …]
DAliasSetTracker.cpp348 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/
DMemoryDependenceAnalysis.cpp329 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 …]
DAliasSetTracker.cpp353 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/
Dprocess_state.h45 enum MemLoc { CPU, GPU }; enum
46 MemLoc loc;
/external/llvm-project/llvm/lib/CodeGen/
DStackProtector.cpp172 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/
DEarlyCSE.cpp840 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()
DLICM.cpp152 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/
DEarlyCSE.cpp1018 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()
DLICM.cpp169 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/
DMemoryDependenceAnalysis.h420 MemDepResult getSimplePointerDependencyFrom(const MemoryLocation &MemLoc,

12