Home
last modified time | relevance | path

Searched refs:MemoryUse (Results 1 – 14 of 14) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DMemorySSA.h213 friend class MemoryUse; variable
313 class MemoryUse final : public MemoryUseOrDef {
317 MemoryUse(LLVMContext &C, MemoryAccess *DMA, Instruction *MI, BasicBlock *BB)
361 struct OperandTraits<MemoryUse> : public FixedNumOperandTraits<MemoryUse, 1> {};
362 DEFINE_TRANSPARENT_OPERAND_ACCESSORS(MemoryUse, MemoryAccess)
429 if (auto *MU = dyn_cast<MemoryUse>(MUD))
430 return OperandTraits<MemoryUse>::op_begin(MU);
435 if (auto *MU = dyn_cast<MemoryUse>(MUD))
436 return OperandTraits<MemoryUse>::op_end(MU);
441 if (const auto *MU = dyn_cast<MemoryUse>(MUD))
[all …]
H A DMemorySSAUpdater.h21 // Call insertDef or insertUse depending on whether it's a MemoryUse or a
86 void insertUse(MemoryUse *Use, bool RenameUses = false);
272 // the clone involved simplifications that may have: (1) turned a MemoryUse
274 // a MemoryDef into a MemoryUse or an instruction that MemorySSA has no
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DMemorySSA.cpp452 if (const auto *MU = dyn_cast<MemoryUse>(MA)) { in checkClobberSanity()
557 assert(!isa<MemoryUse>(Desc.Last) && "Uses don't exist in my world"); in walkToPhiOrClobber()
942 if (auto *MU = dyn_cast<MemoryUse>(Start)) in findClobber()
1379 auto *MU = dyn_cast<MemoryUse>(&MA); in optimizeUsesInBlock()
1633 if (!isa<MemoryUse>(NewAccess)) { in insertIntoListsForBlock()
1642 if (!isa<MemoryUse>(NewAccess)) { in insertIntoListsForBlock()
1655 if (!isa<MemoryUse>(What)) { in insertIntoListsBefore()
1735 assert((!Definition || !isa<MemoryUse>(Definition)) && in createDefinedAccess()
1789 Use = isa<MemoryUse>(Template); in createNewAccess()
1828 MUD = new MemoryUse(I->getContext(), nullptr, I, I->getParent()); in createNewAccess()
[all …]
H A DMemorySSAUpdater.cpp153 if (!isa<MemoryUse>(MA)) { in getPreviousDefInBlock()
162 if (!isa<MemoryUse>(U)) in getPreviousDefInBlock()
238 void MemorySSAUpdater::insertUse(MemoryUse *MU, bool RenameUses) { in insertUse()
334 return !isa<MemoryUse>(Usr) && Usr != MD; in insertDef()
580 if (!InsnDefining || isa<MemoryUse>(InsnDefining)) { in getNewDefiningAccessForClone()
1158 insertUse(cast<MemoryUse>(What), /*RenameUses=*/true); in applyInsertUpdates()
1302 if (!isa<MemoryUse>(MA) && !MA->use_empty()) { in wireOldPredecessorsToNewImmediatePredecessor()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLICM.cpp187 static bool pointerInvalidatedByLoop(MemorySSA *MSSA, MemoryUse *MU,
192 MemoryUse &MU);
1189 auto MU = cast<MemoryUse>(MSSA->getMemoryAccess(LI)); in canSinkOrHoistInst()
1249 MSSA, cast<MemoryUse>(MSSA->getMemoryAccess(CI)), CurLoop, I, in canSinkOrHoistInst()
1301 if (const auto *MU = dyn_cast<MemoryUse>(&MA)) { in canSinkOrHoistInst()
1303 const_cast<MemoryUse *>(MU)); in canSinkOrHoistInst()
1473 auto *MemUse = cast<MemoryUse>(NewMemAcc); in cloneInstructionInExitBlock()
2250 MemoryUse *NewMemUse = cast<MemoryUse>(PreheaderLoadMemoryAccess); in promoteLoopAccessesToScalars()
2346 static bool pointerInvalidatedByLoop(MemorySSA *MSSA, MemoryUse *MU, in pointerInvalidatedByLoop()
2397 bool pointerInvalidatedByBlock(BasicBlock &BB, MemorySSA &MSSA, MemoryUse &MU) { in pointerInvalidatedByBlock()
H A DLoopSink.cpp249 auto *MemUse = cast<MemoryUse>(NewMemAcc); in sinkInstruction()
H A DGVNHoist.cpp598 if (const MemoryUse *MU = dyn_cast<MemoryUse>(&MA)) { in hasMemoryUse()
H A DMemCpyOptimizer.cpp321 if (isa<MemoryUse>(End)) { in writtenBetween()
329 if (isa<MemoryUse>(&Acc)) in writtenBetween()
H A DNewGVN.cpp2105 if (isa<MemoryUse>(MA)) in markMemoryUsersTouched()
2545 if (MA && !isa<MemoryUse>(MA)) { in processOutgoingEdges()
H A DGVN.cpp1491 MSSAU->insertUse(cast<MemoryUse>(NewAccess), /*RenameUses=*/true); in eliminatePartiallyRedundantLoad()
H A DSimpleLoopUnswitch.cpp310 dyn_cast_or_null<MemoryUse>(MSSA->getMemoryAccess(Inst))) { in buildPartialInvariantUnswitchConditionalBranch()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DValue.def120 HANDLE_MEMORY_VALUE(MemoryUse)
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DInterleavedLoadCombinePass.cpp1227 MemoryUse *MSSALoad = cast<MemoryUse>(MSSAU.createMemoryAccessBefore( in combine()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopUtils.cpp2038 if (auto *MemUse = dyn_cast_or_null<MemoryUse>(MA)) { in hasPartialIVCondition()
2106 if (isa<MemoryUse>(Current)) in hasPartialIVCondition()