Home | History | Annotate | Download | only in Utils

Lines Matching refs:MemoryPhi

210     if (It == PerBlockAccesses.end() || !isa<MemoryPhi>(It->second->front()))
213 auto *Phi = cast<MemoryPhi>(&Accesses->front());
272 if (It == PerBlockAccesses.end() || !isa<MemoryPhi>(It->second->front()))
275 auto *Phi = cast<MemoryPhi>(&Accesses->front());
398 // Determine where our MemoryPhi's should go
405 // Now place MemoryPhi nodes.
409 MemoryPhi *Phi = new MemoryPhi(BB->getContext(), BB, NextID++);
455 MemoryPhi *MemorySSA::createMemoryPhi(BasicBlock *BB) {
456 assert(!getMemoryAccess(BB) && "MemoryPhi already exists for this BB");
458 MemoryPhi *Phi = new MemoryPhi(BB->getContext(), BB, NextID++);
486 [](const MemoryAccess &MA) { return !isa<MemoryPhi>(MA); });
554 if (MemoryPhi *Phi = getMemoryAccess(UseBlock))
567 if (isa<MemoryDef>(RA) || isa<MemoryPhi>(RA))
581 const auto *MP = cast<MemoryPhi>(Replacee);
593 /// \brief If all arguments of a MemoryPHI are defined by the same incoming
595 static MemoryAccess *onlySingleValue(MemoryPhi *MP) {
641 if (MemoryPhi *MP = dyn_cast<MemoryPhi>(MA)) {
722 if (MemoryPhi *MP = getMemoryAccess(&B)) {
727 if (MemoryPhi *P = dyn_cast<MemoryPhi>(U)) {
752 if (auto *P = dyn_cast<MemoryPhi>(U)) {
792 if (MemoryPhi *Phi = getMemoryAccess(&B)) {
795 "Incomplete MemoryPhi Node");
814 MemoryPhi *MemorySSA::getMemoryAccess(const BasicBlock *BB) const {
815 return cast_or_null<MemoryPhi>(getMemoryAccess((const Value *)BB));
864 void MemoryPhi::print(raw_ostream &OS) const {
866 OS << getID() << " = MemoryPhi(";
1063 assert((Result != M || isa<MemoryPhi>(M)) &&
1135 if (!isa<MemoryPhi>(CurrAccess)) {
1244 if (isa<MemoryPhi>(StartingAccess))