Home
last modified time | relevance | path

Searched refs:MemoryAccess (Results 1 – 22 of 22) sorted by relevance

/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
DMemorySSA.h115 class MemoryAccess; variable
134 using memoryaccess_def_iterator = memoryaccess_def_iterator_base<MemoryAccess>;
136 memoryaccess_def_iterator_base<const MemoryAccess>;
140 class MemoryAccess
142 public ilist_node<MemoryAccess, ilist_tag<MSSAHelpers::AllAccessTag>>,
143 public ilist_node<MemoryAccess, ilist_tag<MSSAHelpers::DefsOnlyTag>> {
146 ilist_node<MemoryAccess, ilist_tag<MSSAHelpers::AllAccessTag>>;
148 ilist_node<MemoryAccess, ilist_tag<MSSAHelpers::DefsOnlyTag>>;
150 MemoryAccess(const MemoryAccess &) = delete;
151 MemoryAccess &operator=(const MemoryAccess &) = delete;
[all …]
DMemorySSAUpdater.h53 using PhiToDefMap = SmallDenseMap<MemoryPhi *, MemoryAccess *>;
192 MemoryAccess *createMemoryAccessInBB(Instruction *I, MemoryAccess *Definition,
207 MemoryAccess *Definition,
210 MemoryAccess *Definition,
211 MemoryAccess *InsertPt);
219 void removeMemoryAccess(MemoryAccess *, bool OptimizePhis = false);
225 if (MemoryAccess *MA = MSSA->getMemoryAccess(I))
253 MemoryAccess *getPreviousDef(MemoryAccess *);
254 MemoryAccess *getPreviousDefInBlock(MemoryAccess *);
255 MemoryAccess *
[all …]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Analysis/
DMemorySSA.cpp116 if (MemoryAccess *MA = MSSA->getMemoryAccess(BB)) in emitBasicBlockStartAnnot()
122 if (MemoryAccess *MA = MSSA->getMemoryAccess(I)) in emitInstructionAnnot()
347 const MemoryAccess *OriginalAccess = nullptr;
353 UpwardsMemoryQuery(const Instruction *Inst, const MemoryAccess *Access) in UpwardsMemoryQuery()
389 checkClobberSanity(const MemoryAccess *Start, MemoryAccess *ClobberAt, in checkClobberSanity()
460 {const_cast<MemoryAccess *>(MA), MAP.second}, in checkClobberSanity()
497 MemoryAccess *First;
498 MemoryAccess *Last;
501 DefPath(const MemoryLocation &Loc, MemoryAccess *First, MemoryAccess *Last, in DefPath()
505 DefPath(const MemoryLocation &Loc, MemoryAccess *Init, in DefPath()
[all …]
DMemorySSAUpdater.cpp43 MemoryAccess *MemorySSAUpdater::getPreviousDefRecursive( in getPreviousDefRecursive()
45 DenseMap<BasicBlock *, TrackingVH<MemoryAccess>> &CachedPreviousDef) { in getPreviousDefRecursive()
59 MemoryAccess *Result = getPreviousDefFromEnd(Pred, CachedPreviousDef); in getPreviousDefRecursive()
68 MemoryAccess *Result = MSSA->createMemoryPhi(BB); in getPreviousDefRecursive()
75 SmallVector<TrackingVH<MemoryAccess>, 8> PhiOps; in getPreviousDefRecursive()
81 MemoryAccess *SingleAccess = nullptr; in getPreviousDefRecursive()
144 MemoryAccess *MemorySSAUpdater::getPreviousDef(MemoryAccess *MA) { in getPreviousDef()
147 DenseMap<BasicBlock *, TrackingVH<MemoryAccess>> CachedPreviousDef; in getPreviousDef()
154 MemoryAccess *MemorySSAUpdater::getPreviousDefInBlock(MemoryAccess *MA) { in getPreviousDefInBlock()
170 return cast<MemoryAccess>(&U); in getPreviousDefInBlock()
[all …]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
DNewGVN.cpp331 const MemoryAccess *getMemoryLeader() const { return RepMemoryAccess; } in getMemoryLeader()
332 void setMemoryLeader(const MemoryAccess *Leader) { RepMemoryAccess = Leader; } in setMemoryLeader()
411 const MemoryAccess *RepMemoryAccess = nullptr;
584 mutable DenseMap<const MemoryAccess *, SmallPtrSet<MemoryAccess *, 2>>
592 DenseMap<const MemoryAccess *, CongruenceClass *> MemoryAccessToClass;
726 const MemoryAccess *) const;
728 const MemoryAccess *) const;
730 const MemoryAccess *) const;
742 CongruenceClass *createMemoryClass(MemoryAccess *MA) { in createMemoryClass()
748 CongruenceClass *ensureLeaderOfMemoryClass(MemoryAccess *MA) { in ensureLeaderOfMemoryClass()
[all …]
DDeadStoreElimination.cpp877 SmallPtrSet<MemoryAccess *, 4> SkipStores;
911 MemoryAccess *MA = MSSA.getMemoryAccess(&I); in get()
1165 SmallVector<MemoryAccess *, 4> WorkList; in isWriteAtEndOfFunction()
1166 SmallPtrSet<MemoryAccess *, 8> Visited; in isWriteAtEndOfFunction()
1167 auto PushMemUses = [&WorkList, &Visited](MemoryAccess *Acc) { in isWriteAtEndOfFunction()
1171 WorkList.push_back(cast<MemoryAccess>(U.getUser())); in isWriteAtEndOfFunction()
1180 MemoryAccess *UseAccess = WorkList[I]; in isWriteAtEndOfFunction()
1338 Optional<MemoryAccess *>
1339 getDomMemoryDef(MemoryDef *KillingDef, MemoryAccess *StartAccess, in getDomMemoryDef()
1348 MemoryAccess *Current = StartAccess; in getDomMemoryDef()
[all …]
DLoopInstSimplify.cpp139 if (MemoryAccess *MA = MSSA->getMemoryAccess(&I)) in simplifyLoopInst()
140 if (MemoryAccess *ReplacementMA = MSSA->getMemoryAccess(SimpleI)) in simplifyLoopInst()
DMemCpyOptimizer.cpp345 for (const MemoryAccess &MA : in accessedBetween()
360 MemoryAccess *Clobber = MSSA->getWalker()->getClobberingMemoryAccess( in writtenBetween()
1356 MemoryAccess *Clobber = MSSA->getWalker()->getClobberingMemoryAccess( in performMemCpyToMemSetOptzn()
1428 MemoryAccess *AnyClobber = MSSA->getWalker()->getClobberingMemoryAccess(MA); in processMemCpy()
1430 const MemoryAccess *DestClobber = in processMemCpy()
1443 MemoryAccess *SrcClobber = MSSA->getWalker()->getClobberingMemoryAccess( in processMemCpy()
1609 MemoryAccess *Clobber = MSSA->getWalker()->getClobberingMemoryAccess( in processByValArgument()
DLICM.cpp467 SmallVector<MemoryAccess *, 8> MSSAInsertPts; in runOnLoop()
1516 MemoryAccess *NewMemAcc = MSSAU->createMemoryAccessInBB( in cloneInstructionInExitBlock()
1876 SmallVectorImpl<MemoryAccess *> &MSSAInsertPts;
1909 SmallVectorImpl<MemoryAccess *> &MSSAIP, PredIteratorCache &PIC, in LoopPromoter()
1949 MemoryAccess *MSSAInsertPoint = MSSAInsertPts[i]; in doExtraRewritesBeforeFinalDeletion()
1950 MemoryAccess *NewMemAcc; in doExtraRewritesBeforeFinalDeletion()
2024 SmallVectorImpl<MemoryAccess *> &MSSAInsertPts, PredIteratorCache &PIC, in promoteLoopAccessesToScalars()
2277 MemoryAccess *PreheaderLoadMemoryAccess = MSSAU->createMemoryAccessInBB( in promoteLoopAccessesToScalars()
2431 MemoryAccess *Source; in pointerInvalidatedByLoopWithMSSA()
DGVNHoist.cpp643 for (const MemoryAccess &MA : *Acc) in hasMemoryUse()
764 MemoryAccess *D = U->getDefiningAccess(); in safeToHoistLdSt()
1013 MemoryAccess *OldMA = MSSA->getMemoryAccess(I); in rauw()
DLoopSink.cpp243 MemoryAccess *NewMemAcc = in sinkInstruction()
DLoopIdiomRecognize.cpp1131 MemoryAccess *NewMemAcc = MSSAU->createMemoryAccessInBB( in processLoopStridedStore()
1365 MemoryAccess *NewMemAcc = MSSAU->createMemoryAccessInBB( in processLoopStoreOfLoopLoad()
DEarlyCSE.cpp1016 MemoryAccess *LaterDef; in isSameMemGeneration()
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
DExecutorProcessControl.h47 class MemoryAccess {
52 virtual ~MemoryAccess();
145 MemoryAccess &getMemoryAccess() const { in getMemoryAccess()
202 MemoryAccess *MemAccess = nullptr;
246 private ExecutorProcessControl::MemoryAccess {
DOrcRPCExecutorProcessControl.h229 class OrcRPCEPCMemoryAccess : public ExecutorProcessControl::MemoryAccess {
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/
DGVNExpression.h270 const MemoryAccess *MemoryLeader;
274 const MemoryAccess *MemoryLeader) in MemoryExpression()
297 const MemoryAccess *getMemoryLeader() const { return MemoryLeader; } in getMemoryLeader()
298 void setMemoryLeader(const MemoryAccess *ML) { MemoryLeader = ML; } in setMemoryLeader()
307 const MemoryAccess *MemoryLeader) in CallExpression()
334 const MemoryAccess *MemoryLeader) in LoadExpression()
338 const MemoryAccess *MemoryLeader) in LoadExpression()
377 const MemoryAccess *MemoryLeader) in StoreExpression()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
DExecutorProcessControl.cpp22 ExecutorProcessControl::MemoryAccess::~MemoryAccess() {} in ~MemoryAccess()
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
Dtsan_rtl.h697 void MemoryAccess(ThreadState *thr, uptr pc, uptr addr,
716 MemoryAccess(thr, pc, addr, kAccessSizeLog, false, false); in MemoryRead()
721 MemoryAccess(thr, pc, addr, kAccessSizeLog, true, false); in MemoryWrite()
726 MemoryAccess(thr, pc, addr, kAccessSizeLog, false, true); in MemoryReadAtomic()
731 MemoryAccess(thr, pc, addr, kAccessSizeLog, true, true); in MemoryWriteAtomic()
Dtsan_rtl.cpp770 MemoryAccess(thr, pc, addr, kAccessSizeLog, kAccessIsWrite, kIsAtomic); in UnalignedMemoryAccess()
864 void MemoryAccess(ThreadState *thr, uptr pc, uptr addr, in MemoryAccess() function
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
DLoopUtils.h34 class MemoryAccess; variable
200 SmallVectorImpl<Instruction *> &, SmallVectorImpl<MemoryAccess *> &,
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPUAnnotateUniformValues.cpp74 const MemoryAccess *MA = MSSA->getWalker()->getClobberingMemoryAccess(Load); in isClobberedInFunction()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
DLoopUtils.cpp1656 SmallVector<MemoryAccess *, 4> AccessesToCheck; in hasPartialIVCondition()
1673 if (MemoryAccess *MA = MSSA.getMemoryAccess(I)) { in hasPartialIVCondition()
1695 SmallVector<MemoryAccess *, 4> AccessesToCheck) in hasPartialIVCondition()
1730 SmallPtrSet<MemoryAccess *, 4> SeenAccesses; in hasPartialIVCondition()
1732 MemoryAccess *Current = AccessesToCheck.pop_back_val(); in hasPartialIVCondition()
1756 AccessesToCheck.push_back(cast<MemoryAccess>(U.getUser())); in hasPartialIVCondition()