Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
H A DMemorySSA.h210 friend class MemoryUse; variable
323 class MemoryUse final : public MemoryUseOrDef {
327 MemoryUse(LLVMContext &C, MemoryAccess *DMA, Instruction *MI, BasicBlock *BB)
367 struct OperandTraits<MemoryUse> : public FixedNumOperandTraits<MemoryUse, 1> {};
368 DEFINE_TRANSPARENT_OPERAND_ACCESSORS(MemoryUse, MemoryAccess)
434 if (auto *MU = dyn_cast<MemoryUse>(MUD))
435 return OperandTraits<MemoryUse>::op_begin(MU);
440 if (auto *MU = dyn_cast<MemoryUse>(MUD))
441 return OperandTraits<MemoryUse>::op_end(MU);
446 if (const auto *MU = dyn_cast<MemoryUse>(MUD))
[all …]
H A DMemorySSAUpdater.h88 void insertUse(MemoryUse *Use, bool RenameUses = false);
/netbsd-src/external/apache2/llvm/dist/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 …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DMemorySSA.cpp449 if (const auto *MU = dyn_cast<MemoryUse>(MA)) { in checkClobberSanity()
559 assert(!isa<MemoryUse>(Desc.Last) && "Uses don't exist in my world"); in walkToPhiOrClobber()
955 if (auto *MU = dyn_cast<MemoryUse>(Start)) in findClobber()
1363 auto *MU = dyn_cast<MemoryUse>(&MA); in optimizeUsesInBlock()
1613 if (!isa<MemoryUse>(NewAccess)) { in insertIntoListsForBlock()
1622 if (!isa<MemoryUse>(NewAccess)) { in insertIntoListsForBlock()
1635 if (!isa<MemoryUse>(What)) { in insertIntoListsBefore()
1715 assert((!Definition || !isa<MemoryUse>(Definition)) && in createDefinedAccess()
1766 Use = isa<MemoryUse>(Template); in createNewAccess()
1798 MUD = new MemoryUse(I->getContext(), nullptr, I, I->getParent()); in createNewAccess()
[all …]
H A DMemorySSAUpdater.cpp160 if (!isa<MemoryUse>(MA)) { in getPreviousDefInBlock()
169 if (!isa<MemoryUse>(U)) in getPreviousDefInBlock()
245 void MemorySSAUpdater::insertUse(MemoryUse *MU, bool RenameUses) { in insertUse()
334 return !isa<MemoryUse>(Usr) && Usr != MD; in insertDef()
584 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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DLICM.cpp173 static bool pointerInvalidatedByLoopWithMSSA(MemorySSA *MSSA, MemoryUse *MU,
177 MemoryUse &MU);
1201 MSSA, cast<MemoryUse>(MSSA->getMemoryAccess(LI)), CurLoop, I, *Flags); in canSinkOrHoistInst()
1256 MSSA, cast<MemoryUse>(MSSA->getMemoryAccess(CI)), CurLoop, I, in canSinkOrHoistInst()
1329 if (const auto *MU = dyn_cast<MemoryUse>(&MA)) { in canSinkOrHoistInst()
1494 auto *MemUse = cast<MemoryUse>(NewMemAcc); in cloneInstructionInExitBlock()
2247 MemoryUse *NewMemUse = cast<MemoryUse>(PreheaderLoadMemoryAccess); in promoteLoopAccessesToScalars()
2394 bool pointerInvalidatedByLoopWithMSSA(MemorySSA *MSSA, MemoryUse *MU, in pointerInvalidatedByLoopWithMSSA()
2441 MemoryUse &MU) { in pointerInvalidatedByBlockWithMSSA()
H A DLoopSink.cpp249 auto *MemUse = cast<MemoryUse>(NewMemAcc); in sinkInstruction()
H A DGVNHoist.cpp644 if (const MemoryUse *MU = dyn_cast<MemoryUse>(&MA)) { in hasMemoryUse()
H A DLoopUnswitch.cpp1012 auto *MemA = dyn_cast_or_null<MemoryUse>(MSSA->getMemoryAccess(I)); in emitPreheaderBranchOnCondition()
H A DNewGVN.cpp2068 if (isa<MemoryUse>(MA)) in markMemoryUsersTouched()
2512 if (MA && !isa<MemoryUse>(MA)) { in processOutgoingEdges()
H A DGVN.cpp1212 MSSAU->insertUse(cast<MemoryUse>(NewAccess), /*RenameUses=*/true); in eliminatePartiallyRedundantLoad()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DValue.def117 HANDLE_MEMORY_VALUE(MemoryUse)
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DInterleavedLoadCombinePass.cpp1229 MemoryUse *MSSALoad = cast<MemoryUse>(MSSAU.createMemoryAccessBefore( in combine()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DLoopUtils.cpp1758 if (auto *MemUse = dyn_cast_or_null<MemoryUse>(MA)) { in hasPartialIVCondition()
1826 if (isa<MemoryUse>(Current)) in hasPartialIVCondition()