Searched refs:MemoryAccess (Results 1 - 15 of 15) sorted by relevance

/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DMemorySSAUpdater.h53 using PhiToDefMap = SmallDenseMap<MemoryPhi *, MemoryAccess *>;
178 /// Create a MemoryAccess in MemorySSA at a specified point in a block,
181 /// Returns the new MemoryAccess.
188 /// It will return the new MemoryAccess.
189 /// Note: If a MemoryAccess already exists for I, this function will make it
191 MemoryAccess *createMemoryAccessInBB(Instruction *I, MemoryAccess *Definition,
195 /// Create a MemoryAccess in MemorySSA before or after an existing
196 /// MemoryAccess.
198 /// Returns the new MemoryAccess
[all...]
H A DMemorySSA.h113 class MemoryAccess;
126 // Used to signify what the default invalid ID is for MemoryAccess's
132 using memoryaccess_def_iterator = memoryaccess_def_iterator_base<MemoryAccess>;
134 memoryaccess_def_iterator_base<const MemoryAccess>;
138 class MemoryAccess class in inherits:DerivedUser,ilist_node,ilist_node
140 public ilist_node<MemoryAccess, ilist_tag<MSSAHelpers::AllAccessTag>>,
141 public ilist_node<MemoryAccess, ilist_tag<MSSAHelpers::DefsOnlyTag>> {
144 ilist_node<MemoryAccess, ilist_tag<MSSAHelpers::AllAccessTag>>;
146 ilist_node<MemoryAccess, ilist_tag<MSSAHelpers::DefsOnlyTag>>;
148 MemoryAccess(cons
219 MemoryAccess(LLVMContext &C, unsigned Vty, DeleteValueTy DeleteValue, function in class:llvm::MemoryAccess
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DMemorySSAUpdater.cpp43 MemoryAccess *MemorySSAUpdater::getPreviousDefRecursive(
45 DenseMap<BasicBlock *, TrackingVH<MemoryAccess>> &CachedPreviousDef) {
59 MemoryAccess *Result = getPreviousDefFromEnd(Pred, CachedPreviousDef);
68 MemoryAccess *Result = MSSA->createMemoryPhi(BB);
75 SmallVector<TrackingVH<MemoryAccess>, 8> PhiOps;
81 MemoryAccess *SingleAccess = nullptr;
144 MemoryAccess *MemorySSAUpdater::getPreviousDef(MemoryAccess *MA) {
147 DenseMap<BasicBlock *, TrackingVH<MemoryAccess>> CachedPreviousDef;
154 MemoryAccess *MemorySSAUpdate
[all...]
H A DMemorySSA.cpp109 if (MemoryAccess *MA = MSSA->getMemoryAccess(BB))
115 if (MemoryAccess *MA = MSSA->getMemoryAccess(I))
344 // The MemoryAccess we actually got called with, used to test local domination
345 const MemoryAccess *OriginalAccess = nullptr;
351 UpwardsMemoryQuery(const Instruction *Inst, const MemoryAccess *Access)
390 /// \param Start The MemoryAccess that we want to walk from.
400 checkClobberSanity(const MemoryAccess *Start, MemoryAccess *ClobberAt,
469 upward_defs_begin({const_cast<MemoryAccess *>(MA), MAP.second},
503 MemoryAccess *Firs
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DNewGVN.cpp277 // For memory, we also track a representative MemoryAccess, and a set of memory
330 const MemoryAccess *getMemoryLeader() const { return RepMemoryAccess; }
331 void setMemoryLeader(const MemoryAccess *Leader) { RepMemoryAccess = Leader; }
411 const MemoryAccess *RepMemoryAccess = nullptr;
557 // Map from temporary operation to MemoryAccess.
584 mutable DenseMap<const MemoryAccess *, SmallPtrSet<MemoryAccess *, 2>>
589 // We could use the congruence class machinery, but the MemoryAccess's are
592 DenseMap<const MemoryAccess *, CongruenceClass *> MemoryAccessToClass;
688 const MemoryAccess *) cons
[all...]
H A DDeadStoreElimination.cpp1501 SmallPtrSet<MemoryAccess *, 4> SkipStores;
1532 MemoryAccess *MA = MSSA.getMemoryAccess(&I);
1637 SmallVector<MemoryAccess *, 4> WorkList;
1638 SmallPtrSet<MemoryAccess *, 8> Visited;
1639 auto PushMemUses = [&WorkList, &Visited](MemoryAccess *Acc) {
1643 WorkList.push_back(cast<MemoryAccess>(U.getUser()));
1652 MemoryAccess *UseAccess = WorkList[I];
1739 Optional<MemoryAccess *>
1740 getDomMemoryDef(MemoryDef *KillingDef, MemoryAccess *Current,
1743 MemoryAccess *DomAcces
[all...]
H A DLoopInstSimplify.cpp139 if (MemoryAccess *MA = MSSA->getMemoryAccess(&I))
140 if (MemoryAccess *ReplacementMA = MSSA->getMemoryAccess(SimpleI))
H A DLICM.cpp378 SmallVector<MemoryAccess *, 8> MSSAInsertPts;
1020 /// Return true if I is the only Instruction with a MemoryAccess in L.
1361 // Create a new MemoryAccess and let MemorySSA set its defining access.
1362 MemoryAccess *NewMemAcc = MSSAU->createMemoryAccessInBB(
1708 SmallVectorImpl<MemoryAccess *> &MSSAInsertPts;
1739 SmallVectorImpl<MemoryAccess *> &MSSAIP, PredIteratorCache &PIC,
1779 MemoryAccess *MSSAInsertPoint = MSSAInsertPts[i];
1780 MemoryAccess *NewMemAcc;
1841 SmallVectorImpl<MemoryAccess *> &MSSAInsertPts, PredIteratorCache &PIC,
2093 MemoryAccess *PreheaderLoadMemoryAcces
[all...]
H A DGVNHoist.cpp396 for (const MemoryAccess &MA : *Acc)
529 MemoryAccess *D = U->getDefiningAccess();
919 MemoryAccess *OldMA = MSSA->getMemoryAccess(I);
1024 // should move the MemoryAccess.
H A DLoopIdiomRecognize.cpp983 MemoryAccess *NewMemAcc = MSSAU->createMemoryAccessInBB(
1153 MemoryAccess *NewMemAcc = MSSAU->createMemoryAccessInBB(
H A DEarlyCSE.cpp826 // by also checking the MemorySSA MemoryAccess on the instruction. Initial
840 MemoryAccess *LaterDef;
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/
H A DGVNExpression.h265 const MemoryAccess *MemoryLeader;
269 const MemoryAccess *MemoryLeader)
292 const MemoryAccess *getMemoryLeader() const { return MemoryLeader; }
293 void setMemoryLeader(const MemoryAccess *ML) { MemoryLeader = ML; }
302 const MemoryAccess *MemoryLeader)
329 const MemoryAccess *MemoryLeader)
333 const MemoryAccess *MemoryLeader)
372 const MemoryAccess *MemoryLeader)
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DLoopUtils.h32 class MemoryAccess;
166 SmallVectorImpl<Instruction *> &, SmallVectorImpl<MemoryAccess *> &,
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_rtl.h723 void MemoryAccess(ThreadState *thr, uptr pc, uptr addr,
742 MemoryAccess(thr, pc, addr, kAccessSizeLog, false, false);
747 MemoryAccess(thr, pc, addr, kAccessSizeLog, true, false);
752 MemoryAccess(thr, pc, addr, kAccessSizeLog, false, true);
757 MemoryAccess(thr, pc, addr, kAccessSizeLog, true, true);
H A Dtsan_rtl.cpp734 MemoryAccess(thr, pc, addr, kAccessSizeLog, kAccessIsWrite, kIsAtomic);
828 void MemoryAccess(ThreadState *thr, uptr pc, uptr addr, function in namespace:__tsan
831 DPrintf2("#%d: MemoryAccess: @%p %p size=%d"

Completed in 289 milliseconds