Home
last modified time | relevance | path

Searched refs:getMemoryAccess (Results 1 – 24 of 24) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DMemorySSAUpdater.cpp89 MemoryPhi *Phi = dyn_cast_or_null<MemoryPhi>(MSSA->getMemoryAccess(BB)); in getPreviousDefRecursive()
380 auto *MPhi = MSSA->getMemoryAccess(BBIDF); in insertDef()
487 if (auto *MP = MSSA->getMemoryAccess(S)) in fixupDefs()
517 if (auto *MP = MSSA->getMemoryAccess(S)) in fixupDefs()
532 if (MemoryPhi *MPhi = MSSA->getMemoryAccess(To)) { in removeEdge()
540 if (MemoryPhi *MPhi = MSSA->getMemoryAccess(To)) { in removeDuplicatePhiEdgesBetween()
583 InsnDefining = NewDefMUDI ? MSSA->getMemoryAccess(NewDefMUDI) : nullptr; in getNewDefiningAccessForClone()
632 auto *MPhi = MSSA->getMemoryAccess(Header); in updatePhisWhenInsertingUniqueBackedgeBlock()
721 if (MemoryPhi *MPhi = MSSA->getMemoryAccess(BB)) { in updateForClonedLoop()
733 if (MemoryPhi *MPhi = MSSA->getMemoryAccess(BB)) in updateForClonedLoop()
[all …]
H A DMemorySSA.cpp105 if (MemoryAccess *MA = MSSA->getMemoryAccess(BB)) in emitBasicBlockStartAnnot()
111 if (MemoryAccess *MA = MSSA->getMemoryAccess(I)) in emitInstructionAnnot()
129 if (MemoryAccess *MA = MSSA->getMemoryAccess(BB)) in emitBasicBlockStartAnnot()
135 if (MemoryAccess *MA = MSSA->getMemoryAccess(I)) { in emitInstructionAnnot()
1567 if (auto *P = getMemoryAccess(L->getLoopPreheader())) { in buildMemorySSA()
1717 assert(!getMemoryAccess(BB) && "MemoryPhi already exists for this BB"); in createMemoryPhi()
1944 if (MemoryPhi *Phi = getMemoryAccess(&BB)) { in verifyPrevDefInPhis()
2031 MemoryPhi *Phi = getMemoryAccess(&B); in verifyOrderingDominationAndDefUses()
2054 MemoryUseOrDef *MA = getMemoryAccess(&I); in verifyOrderingDominationAndDefUses()
2540 auto *ClobberMA = MSSA->getMemoryAccess(I); in getClobberingMemoryAccessBase()
H A DLoopInfo.cpp108 if (auto *MUD = MSSAU->getMemorySSA()->getMemoryAccess(I)) in makeLoopInvariant()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DMemCpyOptimizer.cpp375 cast_or_null<MemoryUseOrDef>(MSSA->getMemoryAccess(&*BI)); in tryMergingIntoMemset()
601 if (MemoryUseOrDef *MA = MSSA->getMemoryAccess(P)) { in moveUp()
607 if (MemoryUseOrDef *MA = MSSA->getMemoryAccess(&I)) { in moveUp()
619 if (MemoryUseOrDef *MA = MSSA->getMemoryAccess(I)) { in moveUp()
687 auto *LastDef = cast<MemoryDef>(MSSA->getMemoryAccess(SI)); in processStoreOfLoad()
815 auto *StoreDef = cast<MemoryDef>(MSSA->getMemoryAccess(SI)); in processStore()
907 if (accessedBetween(BAA, DestLoc, MSSA->getMemoryAccess(C), in performCallSlotOptzn()
908 MSSA->getMemoryAccess(cpyStore), &SkippedLifetimeStart)) { in performCallSlotOptzn()
1093 MSSAU->moveBefore(MSSA->getMemoryAccess(SkippedLifetimeStart), in performCallSlotOptzn()
1094 MSSA->getMemoryAccess(C)); in performCallSlotOptzn()
[all …]
H A DLoopInstSimplify.cpp132 if (MemoryAccess *MA = MSSA->getMemoryAccess(&I)) in simplifyLoopInst()
133 if (MemoryAccess *ReplacementMA = MSSA->getMemoryAccess(SimpleI)) in simplifyLoopInst()
H A DNewGVN.cpp894 MemoryUseOrDef *getMemoryAccess(const Instruction *) const;
895 MemoryPhi *getMemoryAccess(const BasicBlock *) const;
977 MemoryUseOrDef *NewGVN::getMemoryAccess(const Instruction *I) const { in getMemoryAccess() function in NewGVN
978 auto *Result = MSSA->getMemoryAccess(I); in getMemoryAccess()
983 MemoryPhi *NewGVN::getMemoryAccess(const BasicBlock *BB) const { in getMemoryAccess() function in NewGVN
984 return MSSA->getMemoryAccess(BB); in getMemoryAccess()
1438 auto *StoreAccess = getMemoryAccess(SI); in performSymbolicStoreEvaluation()
1471 (lookupMemoryLeader(getMemoryAccess(LI)->getDefiningAccess()) == in performSymbolicStoreEvaluation()
1575 MemoryAccess *OriginalAccess = getMemoryAccess(I); in performSymbolicLoadEvaluation()
1678 if (auto *MA = MSSA->getMemoryAccess(CI)) { in performSymbolicCallEvaluation()
[all …]
H A DLoopSink.cpp257 if (MSSAU && MSSAU->getMemorySSA()->getMemoryAccess(&I)) { in sinkInstruction()
289 MSSAU->getMemorySSA()->getMemoryAccess(&I))) in sinkInstruction()
H A DGVNHoist.cpp775 if (MemoryUseOrDef *UD = MSSA->getMemoryAccess(Insn)) in checkSafety()
980 MemoryAccess *OldMA = MSSA->getMemoryAccess(I); in rauw()
1014 MemoryUseOrDef *NewMemAcc = MSSA->getMemoryAccess(Repl); in removeAndReplace()
H A DDeadStoreElimination.cpp1008 MemoryAccess *MA = MSSA.getMemoryAccess(&I); in DSEState()
1872 MemoryAccess *MA = MSSA.getMemoryAccess(DeadInst); in deleteDeadInstruction()
2045 auto *MallocDef = dyn_cast_or_null<MemoryDef>(MSSA.getMemoryAccess(Malloc)); in tryFoldIntoCalloc()
2155 MemoryAccess *LoadAcc = MSSA.getMemoryAccess(ICmpL); in dominatingConditionImpliesValue()
2198 auto *LoadAccess = MSSA.getMemoryAccess(LoadI)->getDefiningAccess(); in storeIsNoop()
H A DLICM.cpp1185 auto MU = cast<MemoryUse>(MSSA->getMemoryAccess(LI)); in canSinkOrHoistInst()
1236 MSSA, cast<MemoryUse>(MSSA->getMemoryAccess(CI)), CurLoop, I, Flags, in canSinkOrHoistInst()
1397 if (MSSAU.getMemorySSA()->getMemoryAccess(&I)) { in cloneInstructionInExitBlock()
1450 MSSAU.getMemorySSA()->getMemoryAccess(&I))) in moveInstructionBefore()
2301 auto *IMD = MSSA->getMemoryAccess(I); in noConflictingReadWrites()
H A DEarlyCSE.cpp1138 auto *EarlierMA = MSSA->getMemoryAccess(EarlierInst); in isSameMemGeneration()
1141 auto *LaterMA = MSSA->getMemoryAccess(LaterInst); in isSameMemGeneration()
H A DSimpleLoopUnswitch.cpp315 dyn_cast_or_null<MemoryUse>(MSSA->getMemoryAccess(Inst))) { in buildPartialInvariantUnswitchConditionalBranch()
2799 MemoryDef *MD = cast<MemoryDef>(MSSAU->getMemorySSA()->getMemoryAccess(GI)); in turnGuardIntoBranch()
H A DGVN.cpp485 assert(MSSA->getMemoryAccess(I) && "Instruction does not access memory"); in addMemoryStateToExp()
2385 MemoryPhi *MPhi = MSSA->getMemoryAccess(BB); in phiTranslateImpl()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DMoveAutoInit.cpp64 MemoryUseOrDef &IMA = *MSSA.getMemoryAccess(I); in usersDominator()
207 MSSAU.moveToPlace(MSSA.getMemoryAccess(Job.first), Job.first->getParent(), in runMoveAutoInit()
H A DLoopUnroll.cpp263 auto *EarlierMA = MSSA->getMemoryAccess(LV.DefI); in getMatchingValue()
H A DBasicBlockUtils.cpp305 MSSAU->getMemorySSA()->getMemoryAccess(PredBB->getTerminator()))) in MergeBlockIntoPredecessor()
H A DLoopUtils.cpp2102 if (MemoryAccess *MA = MSSA.getMemoryAccess(I)) { in hasPartialIVCondition()
H A DSimplifyCFG.cpp398 if (auto *MPhi = MSSAU->getMemorySSA()->getMemoryAccess(Succ)) in addPredecessorToBlock()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DJITLinkRedirectableSymbolManager.cpp91 .getMemoryAccess() in redirect()
H A DEPCIndirectionUtils.cpp157 auto &MemAccess = EPCIU.getExecutorProcessControl().getMemoryAccess(); in createStubs()
211 auto &MemAccess = EPCIU.getExecutorProcessControl().getMemoryAccess(); in updatePointer()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DMemorySSAUpdater.h224 if (MemoryAccess *MA = MSSA->getMemoryAccess(I))
H A DMemorySSA.h720 MemoryUseOrDef *getMemoryAccess(const Instruction *I) const {
724 MemoryPhi *getMemoryAccess(const BasicBlock *BB) const {
1055 MemoryAccess *MA = MSSA->getMemoryAccess(I);
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DInterleavedLoadCombinePass.cpp1189 auto FMA = MSSA.getMemoryAccess(First); in combine()
1191 auto MADef = MSSA.getMemoryAccess(LI)->getDefiningAccess(); in combine()
1227 LI, nullptr, MSSA.getMemoryAccess(InsertionPoint))); in combine()
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
H A DExecutorProcessControl.h138 MemoryAccess &getMemoryAccess() const { in getMemoryAccess() function