Home
last modified time | relevance | path

Searched refs:MemoryPhi (Results 1 – 11 of 11) sorted by relevance

/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DMemorySSAUpdater.cpp199 if (MemoryPhi *UsePhi = dyn_cast<MemoryPhi>(&*U)) in recursePhi()
285 if (MemoryPhi *Phi = cast_or_null<MemoryPhi>(MP)) in insertUse()
448 MemoryPhi *Phi = dyn_cast_or_null<MemoryPhi>(MP); in insertDef()
455 MemoryPhi *Phi = dyn_cast_or_null<MemoryPhi>(MP); in insertDef()
474 if (MemoryPhi *Phi = dyn_cast<MemoryPhi>(NewDef)) in fixupDefs()
598 MemoryPhi *DefPhi = cast<MemoryPhi>(InsnDefining); in getNewDefiningAccessForClone()
718 MemoryPhi *IncPhi = cast<MemoryPhi>(IncomingAccess); in updateForClonedLoop()
1140 if (MemoryPhi *UsrPhi = dyn_cast<MemoryPhi>(Usr)) { in applyInsertUpdates()
1170 if (MemoryPhi *PhiUser = dyn_cast<MemoryPhi>(U)) in moveTo()
1311 if (MemoryPhi *MP = dyn_cast<MemoryPhi>(MA)) { in removeMemoryAccess()
[all …]
H A DMemorySSA.cpp456 assert(isa<MemoryPhi>(MA)); in checkClobberSanity()
593 assert(isa<MemoryPhi>(Desc.Last) && in walkToPhiOrClobber()
805 MemoryPhi *Current = Phi; in tryOptimizePhi()
1605 if (isa<MemoryPhi>(NewAccess)) { in insertIntoListsForBlock()
1682 if (isa<MemoryPhi>(What)) { in moveTo()
1698 MemoryPhi *Phi = new MemoryPhi(BB->getContext(), BB, NextID++); in createMemoryPhi()
1971 MemoryPhi *Phi = getMemoryAccess(&B); in verifyOrderingDominationAndDefUses()
2129 if (MemoryPhi *MP = dyn_cast<MemoryPhi>(Dominatee.getUser())) { in dominates()
2175 void MemoryPhi::print(raw_ostream &OS) const { in print()
2534 void MemoryPhi::deleteMe(DerivedUser *Self) { in deleteMe()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DMemorySSA.h208 friend class MemoryPhi; variable
487 class MemoryPhi final : public MemoryAccess {
670 assert((isa<MemoryDef>(this) || isa<MemoryPhi>(this)) &&
674 return cast<MemoryPhi>(this)->getID();
704 DEFINE_TRANSPARENT_OPERAND_ACCESSORS(MemoryPhi, MemoryAccess)
729 MemoryPhi *getMemoryAccess(const BasicBlock *BB) const {
858 MemoryPhi *createMemoryPhi(BasicBlock *BB);
1102 MemoryPhi *MP = dyn_cast<MemoryPhi>(Access);
1111 if (const MemoryPhi *MP = dyn_cast<MemoryPhi>(Access))
1119 if (const MemoryPhi *MP = dyn_cast<MemoryPhi>(Access)) {
[all …]
H A DMemorySSAUpdater.h53 using PhiToDefMap = SmallDenseMap<MemoryPhi *, MemoryAccess *>;
65 SmallSet<AssertingVH<MemoryPhi>, 8> NonOptPhis;
262 MemoryAccess *tryRemoveTrivialPhi(MemoryPhi *Phi);
264 MemoryAccess *tryRemoveTrivialPhi(MemoryPhi *Phi, RangeType &Operands);
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DNewGVN.cpp300 using MemoryMemberType = MemoryPhi;
605 DenseMap<const MemoryPhi *, MemoryPhiState> MemoryPhiState;
778 void valueNumberMemoryPhi(MemoryPhi *);
869 MemoryPhi *getMemoryAccess(const BasicBlock *) const;
960 auto *MP = dyn_cast<MemoryPhi>(V); in getBlockForValue()
1645 if (auto *MP = dyn_cast<MemoryPhi>(From)) { in setMemoryClass()
2131 return getMinDFSOfRange<const MemoryPhi>(CC->memory()); in getNextMemoryLeader()
2867 const MemoryPhi *MP = cast<MemoryPhi>(&Def); in initializeCongruenceClasses()
3001 void NewGVN::valueNumberMemoryPhi(MemoryPhi *MP) { in valueNumberMemoryPhi()
3129 auto *MP = cast<MemoryPhi>(EndDef); in singleReachablePHIPath()
[all …]
H A DGVNHoist.cpp1030 SmallPtrSet<MemoryPhi *, 4> UsePhis; in raMPHIuw()
1032 if (MemoryPhi *Phi = dyn_cast<MemoryPhi>(U)) in raMPHIuw()
1035 for (MemoryPhi *Phi : UsePhis) { in raMPHIuw()
H A DDeadStoreElimination.cpp1185 if (isa<MemoryPhi>(UseAccess)) in isWriteAtEndOfFunction()
1382 if (isa<MemoryPhi>(Current)) { in getDomMemoryDef()
1513 if (isa<MemoryPhi>(UseAccess)) { in getDomMemoryDef()
1854 if (auto PhiAccess = dyn_cast<MemoryPhi>(Current)) { in storeIsNoop()
1942 if (isa<MemoryPhi>(EarlierAccess)) { in eliminateDeadStores()
1944 for (Value *V : cast<MemoryPhi>(EarlierAccess)->incoming_values()) { in eliminateDeadStores()
H A DSimpleLoopUnswitch.cpp236 if (auto *MemPhi = dyn_cast<MemoryPhi>(DefiningAccess)) in buildPartialInvariantUnswitchConditionalBranch()
975 if (!isa<MemoryPhi>(*Defs->begin()) || (++Defs->begin() != Defs->end())) in unswitchAllTrivialConditions()
H A DLoopUnswitch.cpp1022 if (auto *MemPhi = dyn_cast<MemoryPhi>(DefiningAccess)) { in emitPreheaderBranchOnCondition()
H A DLICM.cpp1176 if (isa<MemoryPhi>(&Acc)) in isOnlyMemoryAccess()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DValue.def119 HANDLE_MEMORY_VALUE(MemoryPhi)