| /netbsd-src/sys/external/bsd/compiler_rt/dist/lib/tsan/tests/rtl/ |
| H A 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 …]
|
| H A 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 …]
|
| H A D | tsan_thread.cc | 18 MemLoc l; in TEST() 29 MemLoc l; in TEST() 35 MemLoc l; in TEST()
|
| H A D | tsan_test_util_posix.cc | 85 MemLoc::MemLoc(int offset_from_aligned) in MemLoc() function in MemLoc 89 MemLoc::~MemLoc() { in ~MemLoc() 403 void ScopedThread::VptrUpdate(const MemLoc &vptr, in VptrUpdate() 404 const MemLoc &new_val, in VptrUpdate()
|
| H A D | tsan_mutex.cc | 101 MemLoc l; in TEST() 117 MemLoc l; in TEST() 133 MemLoc l; in TEST()
|
| H A D | tsan_test.cc | 22 MemLoc l; in TEST()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/ |
| H A D | MemoryDependenceAnalysis.cpp | 247 const MemoryLocation &MemLoc, bool isLoad, BasicBlock::iterator ScanIt, in getPointerDependencyFrom() argument 260 MemLoc, isLoad, ScanIt, BB, QueryInst, Limit, BatchAA); in getPointerDependencyFrom() 275 const MemoryLocation &MemLoc, bool isLoad, BasicBlock::iterator ScanIt, in getPointerDependencyFrom() argument 278 return getPointerDependencyFrom(MemLoc, isLoad, ScanIt, BB, QueryInst, Limit, in getPointerDependencyFrom() 370 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() 571 if (!isModOrRefSet(BatchAA.getModRefInfo(SI, MemLoc))) in getSimplePointerDependencyFrom() 580 AliasResult R = BatchAA.alias(StoreLoc, MemLoc); in getSimplePointerDependencyFrom() [all …]
|
| H A D | AliasSetTracker.cpp | 346 AliasSet &AliasSetTracker::getAliasSetFor(const MemoryLocation &MemLoc) { in getAliasSetFor() argument 348 Value * const Pointer = const_cast<Value*>(MemLoc.Ptr); in getAliasSetFor() 349 const LocationSize Size = MemLoc.Size; in getAliasSetFor() 350 const AAMDNodes &AAInfo = MemLoc.AATags; in getAliasSetFor()
|
| H A D | AliasAnalysis.cpp | 720 const MemoryLocation &MemLoc, in callCapturesBefore() argument 726 const Value *Object = getUnderlyingObject(MemLoc.Ptr); in callCapturesBefore()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
| H A D | StackProtector.cpp | 173 Optional<MemoryLocation> MemLoc = MemoryLocation::getOrNone(I); in HasAddressTaken() local 174 if (MemLoc.hasValue() && MemLoc->Size.hasValue() && in HasAddressTaken() 175 MemLoc->Size.getValue() > AllocSize) in HasAddressTaken()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/ |
| H A D | EarlyCSE.cpp | 1038 MemoryLocation MemLoc = *MemLocOpt; in isOperatingOnInvariantMemAt() local 1039 if (!AvailableInvariants.count(MemLoc)) in isOperatingOnInvariantMemAt() 1044 return AvailableInvariants.lookup(MemLoc) <= GenAt; in isOperatingOnInvariantMemAt() 1285 MemoryLocation MemLoc = in processNode() local 1288 if (!AvailableInvariants.count(MemLoc)) in processNode() 1289 AvailableInvariants.insert(MemLoc, CurrentGeneration); in processNode() 1395 auto MemLoc = MemoryLocation::get(&Inst); in processNode() local 1396 if (!AvailableInvariants.count(MemLoc)) in processNode() 1397 AvailableInvariants.insert(MemLoc, CurrentGeneration); in processNode()
|
| H A D | LICM.cpp | 170 static bool pointerInvalidatedByLoop(MemoryLocation MemLoc, 2347 static bool pointerInvalidatedByLoop(MemoryLocation MemLoc, in pointerInvalidatedByLoop() argument 2351 bool isInvalidatedAccordingToAST = CurAST->getAliasSetFor(MemLoc).isMod(); in pointerInvalidatedByLoop() 2379 << *(MemLoc.Ptr) << "\n"); in pointerInvalidatedByLoop() 2383 auto Res = AA->getModRefInfo(&I, MemLoc); in pointerInvalidatedByLoop() 2386 << *(MemLoc.Ptr) << "\n"); in pointerInvalidatedByLoop() 2390 LLVM_DEBUG(dbgs() << "Aliasing okay for " << *(MemLoc.Ptr) << "\n"); in pointerInvalidatedByLoop()
|
| H A D | DeadStoreElimination.cpp | 506 MemoryLocation MemLoc = MemoryLocation::get(SecondI); in memoryIsNotModifiedBetween() local 507 auto *MemLocPtr = const_cast<Value *>(MemLoc.Ptr); in memoryIsNotModifiedBetween() 538 if (isModSet(AA.getModRefInfo(I, MemLoc.getWithNewPtr(Ptr)))) in memoryIsNotModifiedBetween()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/ |
| H A D | AliasAnalysis.h | 798 const MemoryLocation &MemLoc, 801 return callCapturesBefore(I, MemLoc, DT, AAQIP); 872 const MemoryLocation &MemLoc, DominatorTree *DT, 936 const MemoryLocation &MemLoc, 938 return AA.callCapturesBefore(I, MemLoc, DT, AAQI);
|
| H A D | MemoryDependenceAnalysis.h | 468 getSimplePointerDependencyFrom(const MemoryLocation &MemLoc, bool isLoad,
|
| H A D | AliasSetTracker.h | 394 AliasSet &getAliasSetFor(const MemoryLocation &MemLoc);
|