Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/include/llvm/Analysis/
H A DMemorySSA.h212 friend class MemoryUse; variable
312 class MemoryUse final : public MemoryUseOrDef {
316 MemoryUse(LLVMContext &C, MemoryAccess *DMA, Instruction *MI, BasicBlock *BB)
360 struct OperandTraits<MemoryUse> : public FixedNumOperandTraits<MemoryUse, 1> {};
361 DEFINE_TRANSPARENT_OPERAND_ACCESSORS(MemoryUse, MemoryAccess)
428 if (auto *MU = dyn_cast<MemoryUse>(MUD))
429 return OperandTraits<MemoryUse>::op_begin(MU);
434 if (auto *MU = dyn_cast<MemoryUse>(MUD))
435 return OperandTraits<MemoryUse>::op_end(MU);
440 if (const auto *MU = dyn_cast<MemoryUse>(MUD))
[all …]
H A DMemorySSAUpdater.h86 void insertUse(MemoryUse *Use, bool RenameUses = false);
/openbsd-src/gnu/llvm/llvm/docs/
H A DMemorySSA.rst48 - ``MemoryUse``
76 inside ``MemorySSA``, whereas ``Instruction``\ s are mapped to ``MemoryUse``\ s
84 ``MemoryUse``\ s are operations which use but don't modify memory. An example of
85 a ``MemoryUse`` is a ``load``, or a ``readonly`` function call.
107 by either ``b`` or ``c`` (or both). And finally, ``MemoryUse(x)`` means
110 and ``MemoryUse(x)`` are in the same loop, the use can't
146 ; MemoryUse(5)
150 ; MemoryUse(1)
177 - ``MemoryUse(5)`` notes that ``load i8, i8* %p1`` is a use of memory, and that
181 - ``MemoryUse(1)`` notes that ``load i8, i8* %p3`` is just a user of memory,
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DMemorySSA.cpp455 if (const auto *MU = dyn_cast<MemoryUse>(MA)) { in checkClobberSanity()
560 assert(!isa<MemoryUse>(Desc.Last) && "Uses don't exist in my world"); in walkToPhiOrClobber()
945 if (auto *MU = dyn_cast<MemoryUse>(Start)) in findClobber()
1361 auto *MU = dyn_cast<MemoryUse>(&MA); in optimizeUsesInBlock()
1601 if (!isa<MemoryUse>(NewAccess)) { in insertIntoListsForBlock()
1610 if (!isa<MemoryUse>(NewAccess)) { in insertIntoListsForBlock()
1623 if (!isa<MemoryUse>(What)) { in insertIntoListsBefore()
1703 assert((!Definition || !isa<MemoryUse>(Definition)) && in createDefinedAccess()
1755 Use = isa<MemoryUse>(Template); in createNewAccess()
1794 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()
583 else if (!InsnDefining || isa<MemoryUse>(InsnDefining)) { in getNewDefiningAccessForClone()
1183 insertUse(cast<MemoryUse>(What), /*RenameUses=*/true); in moveTo()
1327 if (!isa<MemoryUse>(MA) && !MA->use_empty()) { in removeMemoryAccess()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DLICM.cpp164 static bool pointerInvalidatedByLoop(MemorySSA *MSSA, MemoryUse *MU,
168 MemoryUse &MU);
1180 MSSA, cast<MemoryUse>(MSSA->getMemoryAccess(LI)), CurLoop, I, Flags); in canSinkOrHoistInst()
1230 MSSA, cast<MemoryUse>(MSSA->getMemoryAccess(CI)), CurLoop, I, in canSinkOrHoistInst()
1274 if (const auto *MU = dyn_cast<MemoryUse>(&MA)) { in canSinkOrHoistInst()
1449 auto *MemUse = cast<MemoryUse>(NewMemAcc); in cloneInstructionInExitBlock()
2235 MemoryUse *NewMemUse = cast<MemoryUse>(PreheaderLoadMemoryAccess); in promoteLoopAccessesToScalars()
2331 static bool pointerInvalidatedByLoop(MemorySSA *MSSA, MemoryUse *MU, in pointerInvalidatedByLoop()
2377 bool pointerInvalidatedByBlock(BasicBlock &BB, MemorySSA &MSSA, MemoryUse &MU) { in pointerInvalidatedByBlock()
H A DLoopSink.cpp235 auto *MemUse = cast<MemoryUse>(NewMemAcc); in sinkInstruction()
H A DGVNHoist.cpp646 if (const MemoryUse *MU = dyn_cast<MemoryUse>(&MA)) { in hasMemoryUse()
H A DMemCpyOptimizer.cpp364 if (isa<MemoryUse>(End)) { in writtenBetween()
372 if (isa<MemoryUse>(&Acc)) in writtenBetween()
H A DNewGVN.cpp2098 if (isa<MemoryUse>(MA)) in markMemoryUsersTouched()
2542 if (MA && !isa<MemoryUse>(MA)) { in processOutgoingEdges()
H A DGVN.cpp1343 MSSAU->insertUse(cast<MemoryUse>(NewAccess), /*RenameUses=*/true); in eliminatePartiallyRedundantLoad()
H A DSimpleLoopUnswitch.cpp268 dyn_cast_or_null<MemoryUse>(MSSA->getMemoryAccess(Inst))) { in buildPartialInvariantUnswitchConditionalBranch()
/openbsd-src/gnu/llvm/llvm/include/llvm/IR/
H A DValue.def119 HANDLE_MEMORY_VALUE(MemoryUse)
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DInterleavedLoadCombinePass.cpp1225 MemoryUse *MSSALoad = cast<MemoryUse>(MSSAU.createMemoryAccessBefore( in combine()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DLoopUtils.cpp1743 if (auto *MemUse = dyn_cast_or_null<MemoryUse>(MA)) { in hasPartialIVCondition()
1811 if (isa<MemoryUse>(Current)) in hasPartialIVCondition()