HomeSort by relevance Sort by last modified time
    Searched refs:MemoryPhi (Results 1 - 11 of 11) sorted by null

  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
MemorySSAUpdater.cpp 78 MemoryPhi *Phi = dyn_cast_or_null<MemoryPhi>(MSSA->getMemoryAccess(BB));
171 if (MemoryPhi *UsePhi = dyn_cast<MemoryPhi>(&*U)) {
185 MemoryAccess *MemorySSAUpdater::tryRemoveTrivialPhi(MemoryPhi *Phi,
228 // Set every incoming edge {BB, MP->getBlock()} of MemoryPhi MP to NewDef.
229 static void setMemoryPhiValueForBlock(MemoryPhi *MP, const BasicBlock *BB,
318 MemoryPhi *Phi = dyn_cast_or_null<MemoryPhi>(MP);
337 if (MemoryPhi *Phi = dyn_cast<MemoryPhi>(NewDef)
    [all...]
MemorySSA.cpp 433 assert(isa<MemoryPhi>(MA));
438 // If ClobberAt is a MemoryPhi, we can assume something above it acted as a
440 assert((isa<MemoryPhi>(ClobberAt) || FoundClobber) &&
453 /// MemoryPhi.
481 const MemoryAccess *getWalkTarget(const MemoryPhi *From) const {
529 assert(isa<MemoryPhi>(Desc.Last) &&
534 void addSearches(MemoryPhi *Phi, SmallVectorImpl<ListIndex> &PausedSearches,
616 addSearches(cast<MemoryPhi>(Res.Result), PausedSearches, PathIndex);
691 OptznResult tryOptimizePhi(MemoryPhi *Phi, MemoryAccess *Start,
720 MemoryPhi *Current = Phi
    [all...]
  /external/llvm/include/llvm/Transforms/Utils/
MemorySSA.h 146 /// MemoryAccess. For MemoryPhi nodes, this walks arguments. For
158 friend class MemoryPhi;
286 /// MemoryDef/MemoryPhi.
327 /// valid reaching MemoryDef/MemoryPHI along each path to the phi node.
329 /// a MemoryPhi's operands.
354 class MemoryPhi final : public MemoryAccess {
363 MemoryPhi(LLVMContext &C, BasicBlock *BB, unsigned Ver, unsigned NumPreds = 0)
452 static inline bool classof(const MemoryPhi *) { return true; }
487 template <> struct OperandTraits<MemoryPhi> : public HungoffOperandTraits<2> {};
488 DEFINE_TRANSPARENT_OPERAND_ACCESSORS(MemoryPhi, MemoryAccess
    [all...]
  /external/llvm/lib/Transforms/Utils/
MemorySSA.cpp 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")
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
MemorySSAUpdater.h 69 SmallSet<AssertingVH<MemoryPhi>, 8> NonOptPhis;
221 MemoryAccess *tryRemoveTrivialPhi(MemoryPhi *Phi, RangeType &Operands);
MemorySSA.h 167 /// MemoryAccess. For MemoryPhi nodes, this walks arguments. For
203 friend class MemoryPhi;
375 /// MemoryDef/MemoryPhi.
432 /// valid reaching MemoryDef/MemoryPHI along each path to the phi node.
434 /// a MemoryPhi's operands.
459 class MemoryPhi final : public MemoryAccess {
467 MemoryPhi(LLVMContext &C, BasicBlock *BB, unsigned Ver, unsigned NumPreds = 0)
570 // MemoryPhi must have at least two incoming values, otherwise the MemoryPhi
591 "Cannot remove all incoming blocks in a MemoryPhi.")
    [all...]
  /external/llvm/unittests/Transforms/Utils/
MemorySSA.cpp 71 // updating by creating an access for the load and a memoryphi.
96 MemoryPhi *MP = MSSA.createMemoryPhi(Merge);
105 EXPECT_TRUE(isa<MemoryPhi>(DefiningAccess));
136 EXPECT_TRUE(isa<MemoryPhi>(DefiningAccess));
139 MemoryPhi *MP = cast<MemoryPhi>(DefiningAccess);
182 EXPECT_TRUE(isa<MemoryPhi>(DefiningAccess));
  /external/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/
MemorySSA.cpp 98 // MemoryPHI should already exist.
99 MemoryPhi *MP = MSSA.getMemoryAccess(Merge);
106 EXPECT_TRUE(isa<MemoryPhi>(DefiningAccess));
144 // MemoryPHI should not already exist.
145 MemoryPhi *MP = MSSA.getMemoryAccess(Merge);
168 // MemoryPHI should not already exist.
177 MemoryPhi *MergePhi =
178 dyn_cast<MemoryPhi>(SecondLoadAccess->getDefiningAccess());
193 MergePhi = dyn_cast<MemoryPhi>(SecondLoadAccess->getDefiningAccess());
234 // MemoryPHI should not already exist
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
EarlyCSE.cpp 611 // Optimize MemoryPhi nodes that may become redundant by having all the
613 SmallSetVector<MemoryPhi *, 4> PhisToCheck;
616 // Process MemoryPhi nodes in FIFO order using a ever-growing vector since
623 if (MemoryPhi *MP = dyn_cast<MemoryPhi>(U))
628 for (MemoryPhi *MP : PhisToCheck) {
    [all...]
GVNHoist.cpp     [all...]
NewGVN.cpp 296 using MemoryMemberType = MemoryPhi;
601 DenseMap<const MemoryPhi *, MemoryPhiState> MemoryPhiState;
735 // Value number an Instruction or MemoryPhi.
736 void valueNumberMemoryPhi(MemoryPhi *);
    [all...]

Completed in 4857 milliseconds