| /llvm-project-15.0.7/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()
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | MemoryDependenceAnalysis.cpp | 255 MemLoc, isLoad, ScanIt, BB, QueryInst, Limit, BatchAA); in getPointerDependencyFrom() 451 if (BatchAA.isMustAlias(ArgLoc, MemLoc)) in getSimplePointerDependencyFrom() 459 AliasResult R = BatchAA.alias(Loc, MemLoc); in getSimplePointerDependencyFrom() 505 AliasResult R = BatchAA.alias(LoadLoc, MemLoc); in getSimplePointerDependencyFrom() 564 if (!isModOrRefSet(BatchAA.getModRefInfo(SI, MemLoc))) in getSimplePointerDependencyFrom() 573 AliasResult R = BatchAA.alias(StoreLoc, MemLoc); in getSimplePointerDependencyFrom() 609 ModRefInfo MR = BatchAA.getModRefInfo(Inst, MemLoc); in getSimplePointerDependencyFrom() 612 MR = BatchAA.callCapturesBefore(Inst, MemLoc, &DT); in getSimplePointerDependencyFrom() 669 MemoryLocation MemLoc; in getDependency() local 670 ModRefInfo MR = GetLocation(QueryInst, MemLoc, TLI); in getDependency() [all …]
|
| H A D | AliasSetTracker.cpp | 317 AliasSet &AliasSetTracker::getAliasSetFor(const MemoryLocation &MemLoc) { in getAliasSetFor() argument 319 Value * const Pointer = const_cast<Value*>(MemLoc.Ptr); in getAliasSetFor() 320 const LocationSize Size = MemLoc.Size; in getAliasSetFor() 321 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()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | StackProtector.cpp | 169 Optional<MemoryLocation> MemLoc = MemoryLocation::getOrNone(I); in HasAddressTaken() local 170 if (MemLoc && MemLoc->Size.hasValue() && in HasAddressTaken() 172 TypeSize::getFixed(MemLoc->Size.getValue()))) in HasAddressTaken()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | EarlyCSE.cpp | 1051 MemoryLocation MemLoc = *MemLocOpt; in isOperatingOnInvariantMemAt() local 1052 if (!AvailableInvariants.count(MemLoc)) in isOperatingOnInvariantMemAt() 1057 return AvailableInvariants.lookup(MemLoc) <= GenAt; in isOperatingOnInvariantMemAt() 1307 MemoryLocation MemLoc = in processNode() local 1310 if (!AvailableInvariants.count(MemLoc)) in processNode() 1311 AvailableInvariants.insert(MemLoc, CurrentGeneration); in processNode() 1425 auto MemLoc = MemoryLocation::get(&Inst); in processNode() local 1426 if (!AvailableInvariants.count(MemLoc)) in processNode() 1427 AvailableInvariants.insert(MemLoc, CurrentGeneration); in processNode()
|
| H A D | DeadStoreElimination.cpp | 407 MemoryLocation MemLoc; in memoryIsNotModifiedBetween() local 409 MemLoc = MemoryLocation::getForDest(MemSet); in memoryIsNotModifiedBetween() 411 MemLoc = MemoryLocation::get(SecondI); in memoryIsNotModifiedBetween() 413 auto *MemLocPtr = const_cast<Value *>(MemLoc.Ptr); in memoryIsNotModifiedBetween() 444 if (isModSet(AA.getModRefInfo(I, MemLoc.getWithNewPtr(Ptr)))) in memoryIsNotModifiedBetween()
|
| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | AliasAnalysis.h | 853 const MemoryLocation &MemLoc, 856 return callCapturesBefore(I, MemLoc, DT, AAQIP); 927 const MemoryLocation &MemLoc, DominatorTree *DT, 994 const MemoryLocation &MemLoc, 996 return AA.callCapturesBefore(I, MemLoc, DT, AAQI);
|
| H A D | MemoryDependenceAnalysis.h | 456 getSimplePointerDependencyFrom(const MemoryLocation &MemLoc, bool isLoad,
|
| H A D | AliasSetTracker.h | 387 AliasSet &getAliasSetFor(const MemoryLocation &MemLoc);
|