Searched refs:MemoryPhi (Results 1 – 11 of 11) sorted by relevance
199 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 …]
456 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 …]
208 friend class MemoryPhi; variable487 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 …]
53 using PhiToDefMap = SmallDenseMap<MemoryPhi *, MemoryAccess *>;65 SmallSet<AssertingVH<MemoryPhi>, 8> NonOptPhis;262 MemoryAccess *tryRemoveTrivialPhi(MemoryPhi *Phi);264 MemoryAccess *tryRemoveTrivialPhi(MemoryPhi *Phi, RangeType &Operands);
300 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 …]
1030 SmallPtrSet<MemoryPhi *, 4> UsePhis; in raMPHIuw()1032 if (MemoryPhi *Phi = dyn_cast<MemoryPhi>(U)) in raMPHIuw()1035 for (MemoryPhi *Phi : UsePhis) { in raMPHIuw()
1185 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()
236 if (auto *MemPhi = dyn_cast<MemoryPhi>(DefiningAccess)) in buildPartialInvariantUnswitchConditionalBranch()975 if (!isa<MemoryPhi>(*Defs->begin()) || (++Defs->begin() != Defs->end())) in unswitchAllTrivialConditions()
1022 if (auto *MemPhi = dyn_cast<MemoryPhi>(DefiningAccess)) { in emitPreheaderBranchOnCondition()
1176 if (isa<MemoryPhi>(&Acc)) in isOnlyMemoryAccess()
119 HANDLE_MEMORY_VALUE(MemoryPhi)