/openbsd/gnu/llvm/compiler-rt/lib/tsan/tests/rtl/ |
H A D | tsan_test_util.h | 26 class MemLoc { 28 explicit MemLoc(int offset_from_aligned = 0); 29 explicit MemLoc(void *const real_addr) : loc_(real_addr) { } in MemLoc() function 30 ~MemLoc(); 34 MemLoc(const MemLoc&); 35 void operator = (const MemLoc&); 87 void Read1(const MemLoc &ml, bool expect_race = false) { 89 void Read2(const MemLoc &ml, bool expect_race = false) { 91 void Read4(const MemLoc &ml, bool expect_race = false) { 93 void Read8(const MemLoc &ml, bool expect_race = false) { [all …]
|
H A D | tsan_mop.cpp | 20 MemLoc l; in TEST_F() 33 MemLoc l; in TEST_F() 40 MemLoc l; in TEST_F() 47 MemLoc l; in TEST_F() 54 MemLoc l; in TEST_F() 60 MemLoc l; in TEST_F() 71 MemLoc l; in TEST_F() 90 MemLoc l; in TEST_F() 109 MemLoc l; in TEST_F() 170 MemLoc l; in TEST_F() [all …]
|
H A D | tsan_thread.cpp | 17 MemLoc l; in TEST_F() 28 MemLoc l; in TEST_F() 34 MemLoc l; in TEST_F()
|
H A D | tsan_test_util_posix.cpp | 87 MemLoc::MemLoc(int offset_from_aligned) in MemLoc() function in MemLoc 91 MemLoc::~MemLoc() { in ~MemLoc() 421 void ScopedThread::VptrUpdate(const MemLoc &vptr, in VptrUpdate() 422 const MemLoc &new_val, in VptrUpdate()
|
H A D | tsan_mutex.cpp | 100 MemLoc l; in TEST_F() 116 MemLoc l; in TEST_F() 132 MemLoc l; in TEST_F()
|
H A D | tsan_test.cpp | 21 MemLoc l; in TEST_F()
|
/openbsd/gnu/llvm/llvm/lib/Analysis/ |
H A D | MemoryDependenceAnalysis.cpp | 254 MemLoc, isLoad, ScanIt, BB, QueryInst, Limit, BatchAA); in getPointerDependencyFrom() 450 if (BatchAA.isMustAlias(ArgLoc, MemLoc)) in getSimplePointerDependencyFrom() 458 AliasResult R = BatchAA.alias(Loc, MemLoc); in getSimplePointerDependencyFrom() 504 AliasResult R = BatchAA.alias(LoadLoc, MemLoc); in getSimplePointerDependencyFrom() 572 AliasResult R = BatchAA.alias(StoreLoc, MemLoc); in getSimplePointerDependencyFrom() 597 if (isa<SelectInst>(Inst) && MemLoc.Ptr == Inst) in getSimplePointerDependencyFrom() 613 ModRefInfo MR = BatchAA.getModRefInfo(Inst, MemLoc); in getSimplePointerDependencyFrom() 616 MR = BatchAA.callCapturesBefore(Inst, MemLoc, &DT); in getSimplePointerDependencyFrom() 673 MemoryLocation MemLoc; in getDependency() local 674 ModRefInfo MR = GetLocation(QueryInst, MemLoc, TLI); in getDependency() [all …]
|
H A D | AliasSetTracker.cpp | 318 AliasSet &AliasSetTracker::getAliasSetFor(const MemoryLocation &MemLoc) { in getAliasSetFor() argument 320 Value * const Pointer = const_cast<Value*>(MemLoc.Ptr); in getAliasSetFor() 321 const LocationSize Size = MemLoc.Size; in getAliasSetFor() 322 const AAMDNodes &AAInfo = MemLoc.AATags; in getAliasSetFor()
|
H A D | AliasAnalysis.cpp | 648 const MemoryLocation &MemLoc, in callCapturesBefore() argument 654 const Value *Object = getUnderlyingObject(MemLoc.Ptr); in callCapturesBefore()
|
/openbsd/gnu/llvm/llvm/lib/CodeGen/ |
H A D | StackProtector.cpp | 176 std::optional<MemoryLocation> MemLoc = MemoryLocation::getOrNone(I); in HasAddressTaken() local 177 if (MemLoc && MemLoc->Size.hasValue() && in HasAddressTaken() 179 TypeSize::getFixed(MemLoc->Size.getValue()))) in HasAddressTaken()
|
/openbsd/gnu/llvm/llvm/include/llvm/Analysis/ |
H A D | AliasAnalysis.h | 517 const MemoryLocation &MemLoc, 520 return callCapturesBefore(I, MemLoc, DT, AAQIP); 595 const MemoryLocation &MemLoc, DominatorTree *DT, 662 const MemoryLocation &MemLoc, 664 return AA.callCapturesBefore(I, MemLoc, DT, AAQI);
|
H A D | MemoryDependenceAnalysis.h | 462 getSimplePointerDependencyFrom(const MemoryLocation &MemLoc, bool isLoad,
|
H A D | AliasSetTracker.h | 353 AliasSet &getAliasSetFor(const MemoryLocation &MemLoc);
|
/openbsd/gnu/llvm/llvm/lib/Transforms/Scalar/ |
H A D | EarlyCSE.cpp | 1078 MemoryLocation MemLoc = *MemLocOpt; in isOperatingOnInvariantMemAt() local 1079 if (!AvailableInvariants.count(MemLoc)) in isOperatingOnInvariantMemAt() 1084 return AvailableInvariants.lookup(MemLoc) <= GenAt; in isOperatingOnInvariantMemAt() 1334 MemoryLocation MemLoc = in processNode() local 1337 if (!AvailableInvariants.count(MemLoc)) in processNode() 1338 AvailableInvariants.insert(MemLoc, CurrentGeneration); in processNode() 1459 auto MemLoc = MemoryLocation::get(&Inst); in processNode() local 1460 if (!AvailableInvariants.count(MemLoc)) in processNode() 1461 AvailableInvariants.insert(MemLoc, CurrentGeneration); in processNode()
|
H A D | DeadStoreElimination.cpp | 420 MemoryLocation MemLoc; in memoryIsNotModifiedBetween() local 422 MemLoc = MemoryLocation::getForDest(MemSet); in memoryIsNotModifiedBetween() 424 MemLoc = MemoryLocation::get(SecondI); in memoryIsNotModifiedBetween() 426 auto *MemLocPtr = const_cast<Value *>(MemLoc.Ptr); in memoryIsNotModifiedBetween() 457 if (isModSet(AA.getModRefInfo(I, MemLoc.getWithNewPtr(Ptr)))) in memoryIsNotModifiedBetween()
|