Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DMemorySSAUpdater.cpp94 MemoryPhi *Phi = dyn_cast_or_null<MemoryPhi>(MSSA->getMemoryAccess(BB)); in getPreviousDefRecursive()
197 if (MemoryPhi *UsePhi = dyn_cast<MemoryPhi>(&*U)) in recursePhi()
207 MemoryAccess *MemorySSAUpdater::tryRemoveTrivialPhi(MemoryPhi *Phi) { in tryRemoveTrivialPhi()
213 MemoryAccess *MemorySSAUpdater::tryRemoveTrivialPhi(MemoryPhi *Phi, in tryRemoveTrivialPhi()
283 if (MemoryPhi *Phi = cast_or_null<MemoryPhi>(MP)) in insertUse()
289 static void setMemoryPhiValueForBlock(MemoryPhi *MP, const BasicBlock *BB, in setMemoryPhiValueForBlock()
319 !(isa<MemoryPhi>(DefBefore) && in insertDef()
372 if (const auto *RealPHI = cast_or_null<MemoryPhi>(VH)) in insertDef()
378 SmallVector<AssertingVH<MemoryPhi>, 4> NewInsertedPHIs; in insertDef()
445 MemoryPhi *Phi = dyn_cast_or_null<MemoryPhi>(MP); in insertDef()
[all …]
DMemorySSA.cpp467 assert(isa<MemoryPhi>(MA)); in checkClobberSanity()
484 assert((isa<MemoryPhi>(ClobberAt) || FoundClobber) && in checkClobberSanity()
526 const MemoryAccess *getWalkTarget(const MemoryPhi *From) const { in getWalkTarget()
591 assert(isa<MemoryPhi>(Desc.Last) && in walkToPhiOrClobber()
596 void addSearches(MemoryPhi *Phi, SmallVectorImpl<ListIndex> &PausedSearches, in addSearches()
690 addSearches(cast<MemoryPhi>(Res.Result), PausedSearches, PathIndex); in getBlockingAccess()
765 OptznResult tryOptimizePhi(MemoryPhi *Phi, MemoryAccess *Start, in tryOptimizePhi()
794 MemoryPhi *Current = Phi; in tryOptimizePhi()
902 auto *DefChainPhi = cast<MemoryPhi>(DefChainEnd); in tryOptimizePhi()
955 OptznResult OptRes = tryOptimizePhi(cast<MemoryPhi>(FirstDesc.Last), in findClobber()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DMemorySSA.h206 friend class MemoryPhi; variable
482 class MemoryPhi final : public MemoryAccess {
490 MemoryPhi(LLVMContext &C, BasicBlock *BB, unsigned Ver, unsigned NumPreds = 0)
666 assert((isa<MemoryDef>(this) || isa<MemoryPhi>(this)) &&
670 return cast<MemoryPhi>(this)->getID();
699 template <> struct OperandTraits<MemoryPhi> : public HungoffOperandTraits<2> {};
700 DEFINE_TRANSPARENT_OPERAND_ACCESSORS(MemoryPhi, MemoryAccess)
725 MemoryPhi *getMemoryAccess(const BasicBlock *BB) const {
726 return cast_or_null<MemoryPhi>(ValueToMemoryAccess.lookup(cast<Value>(BB)));
856 MemoryPhi *createMemoryPhi(BasicBlock *BB);
[all …]
DMemorySSAUpdater.h65 using PhiToDefMap = SmallDenseMap<MemoryPhi *, MemoryAccess *>;
79 SmallSet<AssertingVH<MemoryPhi>, 8> NonOptPhis;
278 MemoryAccess *tryRemoveTrivialPhi(MemoryPhi *Phi);
280 MemoryAccess *tryRemoveTrivialPhi(MemoryPhi *Phi, RangeType &Operands);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DNewGVN.cpp298 using MemoryMemberType = MemoryPhi;
603 DenseMap<const MemoryPhi *, MemoryPhiState> MemoryPhiState;
738 void valueNumberMemoryPhi(MemoryPhi *);
836 MemoryPhi *getMemoryAccess(const BasicBlock *) const;
912 MemoryPhi *NewGVN::getMemoryAccess(const BasicBlock *BB) const { in getMemoryAccess()
927 auto *MP = dyn_cast<MemoryPhi>(V); in getBlockForValue()
1678 if (auto *MP = dyn_cast<MemoryPhi>(From)) { in setMemoryClass()
2166 return getMinDFSOfRange<const MemoryPhi>(CC->memory()); in getNextMemoryLeader()
2710 if (MemAccess && !isa<MemoryPhi>(MemAccess->getDefiningAccess()) && in makePossiblePHIOfOps()
2886 const MemoryPhi *MP = cast<MemoryPhi>(&Def); in initializeCongruenceClasses()
[all …]
DGVNHoist.cpp939 SmallPtrSet<MemoryPhi *, 4> UsePhis; in raMPHIuw()
941 if (MemoryPhi *Phi = dyn_cast<MemoryPhi>(U)) in raMPHIuw()
944 for (MemoryPhi *Phi : UsePhis) { in raMPHIuw()
DLICM.cpp1072 if (isa<MemoryPhi>(&Acc)) in isOnlyMemoryAccess()
DSimpleLoopUnswitch.cpp893 if (!isa<MemoryPhi>(*Defs->begin()) || (++Defs->begin() != Defs->end())) in unswitchAllTrivialConditions()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DValue.def59 HANDLE_VALUE(MemoryPhi)
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DValue.def103 HANDLE_MEMORY_VALUE(MemoryPhi)