Searched refs:MemoryUse (Results 1 – 14 of 14) sorted by relevance
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | MemorySSA.h | 213 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 D | MemorySSAUpdater.h | 21 // 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 D | MemorySSA.cpp | 452 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 D | MemorySSAUpdater.cpp | 153 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 D | LICM.cpp | 187 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 D | LoopSink.cpp | 249 auto *MemUse = cast<MemoryUse>(NewMemAcc); in sinkInstruction()
|
H A D | GVNHoist.cpp | 598 if (const MemoryUse *MU = dyn_cast<MemoryUse>(&MA)) { in hasMemoryUse()
|
H A D | MemCpyOptimizer.cpp | 321 if (isa<MemoryUse>(End)) { in writtenBetween() 329 if (isa<MemoryUse>(&Acc)) in writtenBetween()
|
H A D | NewGVN.cpp | 2105 if (isa<MemoryUse>(MA)) in markMemoryUsersTouched() 2545 if (MA && !isa<MemoryUse>(MA)) { in processOutgoingEdges()
|
H A D | GVN.cpp | 1491 MSSAU->insertUse(cast<MemoryUse>(NewAccess), /*RenameUses=*/true); in eliminatePartiallyRedundantLoad()
|
H A D | SimpleLoopUnswitch.cpp | 310 dyn_cast_or_null<MemoryUse>(MSSA->getMemoryAccess(Inst))) { in buildPartialInvariantUnswitchConditionalBranch()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | Value.def | 120 HANDLE_MEMORY_VALUE(MemoryUse)
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | InterleavedLoadCombinePass.cpp | 1227 MemoryUse *MSSALoad = cast<MemoryUse>(MSSAU.createMemoryAccessBefore( in combine()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | LoopUtils.cpp | 2038 if (auto *MemUse = dyn_cast_or_null<MemoryUse>(MA)) { in hasPartialIVCondition() 2106 if (isa<MemoryUse>(Current)) in hasPartialIVCondition()
|