Home
last modified time | relevance | path

Searched refs:MemoryUseOrDef (Results 1 – 13 of 13) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DMemorySSAUpdater.h128 void moveBefore(MemoryUseOrDef *What, MemoryUseOrDef *Where);
129 void moveAfter(MemoryUseOrDef *What, MemoryUseOrDef *Where);
130 void moveToPlace(MemoryUseOrDef *What, BasicBlock *BB,
198 MemoryUseOrDef *createMemoryAccessBefore(Instruction *I,
200 MemoryUseOrDef *InsertPt);
204 MemoryUseOrDef *createMemoryAccessAfter(Instruction *I,
244 void moveTo(MemoryUseOrDef *What, BasicBlock *BB, WhereType Where);
H A DMemorySSA.h214 friend class MemoryUseOrDef; variable
253 class MemoryUseOrDef : public MemoryAccess {
285 MemoryUseOrDef(LLVMContext &C, MemoryAccess *DMA, unsigned Vty,
294 ~MemoryUseOrDef() = default;
313 class MemoryUse final : public MemoryUseOrDef {
318 : MemoryUseOrDef(C, DMA, MemoryUseVal, deleteMe, MI, BB,
373 class MemoryDef final : public MemoryUseOrDef {
381 : MemoryUseOrDef(C, DMA, MemoryDefVal, deleteMe, MI, BB,
427 struct OperandTraits<MemoryUseOrDef> {
428 static Use *op_begin(MemoryUseOrDef *MUD) {
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DMemorySSAUpdater.cpp576 assert(DefMUDI && "Found MemoryUseOrDef with no Instruction."); in getNewDefiningAccessForClone()
604 if (const MemoryUseOrDef *MUD = dyn_cast<MemoryUseOrDef>(&MA)) {
1129 cast<MemoryUseOrDef>(Usr)->resetOptimized(); in applyInsertUpdates()
1141 void MemorySSAUpdater::moveTo(MemoryUseOrDef *What, BasicBlock *BB, in applyInsertUpdates()
1166 void MemorySSAUpdater::moveBefore(MemoryUseOrDef *What, MemoryUseOrDef *Where) { in moveTo()
1171 void MemorySSAUpdater::moveAfter(MemoryUseOrDef *What, MemoryUseOrDef *Where) { in moveTo()
1175 void MemorySSAUpdater::moveToPlace(MemoryUseOrDef *Wha in moveTo()
[all...]
H A DMemorySSA.cpp163 MemoryLocOrCall(MemoryUseOrDef *MUD) in MemoryLocOrCall()
165 MemoryLocOrCall(const MemoryUseOrDef *MUD) in MemoryLocOrCall()
327 static bool instructionClobbersQuery(MemoryDef *MD, const MemoryUseOrDef *MU, in instructionClobbersQuery()
340 bool MemorySSAUtil::defClobbersUseOrDef(MemoryDef *MD, const MemoryUseOrDef *MU, in defClobbersUseOrDef()
1050 if (auto *MUD = dyn_cast<MemoryUseOrDef>(MA)) in invalidateInfo()
1088 if (auto *MUD = dyn_cast<MemoryUseOrDef>(MA)) in invalidateInfo()
1129 if (MemoryUseOrDef *MUD = dyn_cast<MemoryUseOrDef>(&L)) { in renameBlock()
1225 if (auto *UseOrDef = dyn_cast<MemoryUseOrDef>(AI)) in markUnreachableAsLiveOnEntry()
1541 MemoryUseOrDef *MUD = createNewAccess(&I, &BAA); in buildMemorySSA()
1694 void MemorySSA::moveTo(MemoryUseOrDef *What, BasicBlock *BB, in moveTo()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DMemCpyOptimizer.cpp295 const MemoryUseOrDef *Start, in accessedBetween()
296 const MemoryUseOrDef *End, in accessedBetween()
301 Instruction *I = cast<MemoryUseOrDef>(MA).getMemoryInst(); in accessedBetween()
319 MemoryLocation Loc, const MemoryUseOrDef *Start, in writtenBetween()
320 const MemoryUseOrDef *End) { in writtenBetween()
332 cast<MemoryUseOrDef>(&Acc)->getMemoryInst(); in writtenBetween()
379 MemoryUseOrDef *MemInsertPoint = nullptr; in tryMergingIntoMemset()
381 auto *CurrentAcc = cast_or_null<MemoryUseOrDef>( in tryMergingIntoMemset()
607 MemoryUseOrDef *MemInsertPoint = nullptr; in moveUp()
608 if (MemoryUseOrDef *MA = MSSAU->getMemorySSA()->getMemoryAccess(P)) { in moveUp()
[all …]
H A DGVNHoist.cpp319 MemoryUseOrDef *U, InsKind K, int &NBBsOnAllPaths);
485 MemoryUseOrDef *NewMemAcc);
488 void raMPHIuw(MemoryUseOrDef *NewMemAcc);
707 const Instruction *OldPt, MemoryUseOrDef *U, in safeToHoistLdSt()
725 if (auto *UD = dyn_cast<MemoryUseOrDef>(D)) in safeToHoistLdSt()
777 if (MemoryUseOrDef *UD = MSSA->getMemoryAccess(Insn)) in checkSafety()
974 MemoryUseOrDef *NewMemAcc) { in rauw()
998 void GVNHoist::raMPHIuw(MemoryUseOrDef *NewMemAcc) { in raMPHIuw()
1016 MemoryUseOrDef *NewMemAcc = MSSA->getMemoryAccess(Repl); in removeAndReplace()
H A DLoopSink.cpp272 if (MemoryUseOrDef *OldMemAcc = cast_or_null<MemoryUseOrDef>( in sinkInstruction()
H A DDeadStoreElimination.cpp1197 Instruction *UseInst = cast<MemoryUseOrDef>(UseAccess)->getMemoryInst(); in isWriteAtEndOfFunction()
1355 if (!MSSA.isLiveOnEntryDef(Current) && isa<MemoryUseOrDef>(Current)) in getDomMemoryDef()
1356 dbgs() << " (" << *cast<MemoryUseOrDef>(Current)->getMemoryInst() in getDomMemoryDef()
1421 if (auto *UseOrDef = dyn_cast<MemoryUseOrDef>(U.getUser())) in getDomMemoryDef()
1536 Instruction *UseInst = cast<MemoryUseOrDef>(UseAccess)->getMemoryInst(); in getDomMemoryDef()
1555 if (isNoopIntrinsic(cast<MemoryUseOrDef>(UseAccess)->getMemoryInst())) { in getDomMemoryDef()
H A DLICM.cpp1137 const auto *MUD = cast<MemoryUseOrDef>(&Acc); in isOnlyMemoryAccess()
1149 MemoryUseOrDef *MA) { in getClobberingMemoryAccess()
1514 if (MemoryUseOrDef *OldMemAcc = cast_or_null<MemoryUseOrDef>( in moveInstructionBefore()
2277 if (const auto *MUD = dyn_cast<MemoryUseOrDef>(&Access)) in foreachMemoryAccess()
H A DNewGVN.cpp558 DenseMap<const Instruction *, MemoryUseOrDef *> TempToMemory;
868 MemoryUseOrDef *getMemoryAccess(const Instruction *) const;
889 return isa<MemoryUseOrDef>(MA) in MemoryToDFSNum()
890 ? InstrToDFSNum(cast<MemoryUseOrDef>(MA)->getMemoryInst()) in MemoryToDFSNum()
939 MemoryUseOrDef *NewGVN::getMemoryAccess(const Instruction *I) const { in getMemoryAccess()
3238 if (auto *FirstMUD = dyn_cast<MemoryUseOrDef>(KV.first)) { in verifyMemoryCongruency()
3239 auto *SecondMUD = dyn_cast<MemoryUseOrDef>(KV.second->getMemoryLeader()); in verifyMemoryCongruency()
H A DGVN.cpp2066 const MemoryUseOrDef *FirstNonDom = nullptr; in processAssumeIntrinsic()
2076 if (auto *Current = dyn_cast<MemoryUseOrDef>(&Acc)) in processAssumeIntrinsic()
2087 const_cast<MemoryUseOrDef *>(FirstNonDom)) in processAssumeIntrinsic()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DMoveAutoInit.cpp66 MemoryUseOrDef &IMA = *MSSA.getMemoryAccess(I); in usersDominator()
83 if (auto *M = dyn_cast<MemoryUseOrDef>(MA)) { in usersDominator()
H A DBasicBlockUtils.cpp307 if (MemoryUseOrDef *MUD = cast_or_null<MemoryUseOrDef>( in MergeBlockIntoPredecessor()