Home
last modified time | relevance | path

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

/external/llvm/test/Transforms/Util/MemorySSA/
Dphi-translation.ll23 ; CHECK: 3 = MemoryPhi({entry,1},{if.then,2})
48 ; CHECK: 6 = MemoryPhi({entry,1},{if.then,2})
55 ; CHECK: 5 = MemoryPhi({if.then,2},{phi.3,3})
64 ; CHECK: 7 = MemoryPhi({phi.2,4},{phi.3,3})
94 ; CHECK: 6 = MemoryPhi({a,2},{b,3})
101 ; CHECK: 7 = MemoryPhi({a,2},{b,3})
108 ; 8 = MemoryPhi({c,4},{d,5})
123 ; CHECK: 7 = MemoryPhi({%0,1},{loop.3,4})
130 ; CHECK: 6 = MemoryPhi({loop.1,2},{loop.3,4})
137 ; CHECK: 5 = MemoryPhi({loop.1,2},{loop.2,3})
[all …]
Dcyclicphi.ll14 ; CHECK: 3 = MemoryPhi({%0,liveOnEntry},{bb77,2})
28 ; CHECK: 2 = MemoryPhi({bb26,3},{bb68,1})
44 ; CHECK: 3 = MemoryPhi({%0,liveOnEntry},{bb77,2})
58 ; CHECK: 2 = MemoryPhi({bb26,3},{bb68,1})
74 ; CHECK: 4 = MemoryPhi({%0,liveOnEntry},{bb77,2})
90 ; CHECK: 3 = MemoryPhi({bb26,4},{bb68,1})
105 ; CHECK: 3 = MemoryPhi({%0,liveOnEntry},{bb77,2})
121 ; CHECK: 2 = MemoryPhi({bb26,3},{bb68,1})
Dlivein.ll13 ; CHECK-NOT: 2 = MemoryPhi
27 ; CHECK: 2 = MemoryPhi({left,1},{right,liveOnEntry})
48 ; CHECK: 4 = MemoryPhi({%0,1},{if.then,2})
Dmany-dom-backedge.ll14 ; CHECK: 9 = MemoryPhi({entry,liveOnEntry},{sw.epilog,6})
44 ; CHECK: 10 = MemoryPhi({loopbegin,9},{sw.almostexit,6})
57 ; CHECK: 8 = MemoryPhi({sw.default,5},{sw.bb3,4},{sw.bb,1},{sw.bb1,2},{sw.bb2,3})
Dmulti-edges.ll16 ; CHECK: 4 = MemoryPhi({entry,1},{Loop.End,3})
23 ; CHECK: 3 = MemoryPhi({entry,1},{Loop.Body,2},{Loop.Body,2})
Dmany-doms.ll13 ; CHECK: 8 = MemoryPhi({entry,liveOnEntry},{sw.epilog,6})
55 ; CHECK: 7 = MemoryPhi({sw.default,5},{sw.bb,1},{sw.bb1,2},{sw.bb2,3},{sw.bb3,4})
Dmultiple-backedges-hal.ll45 ; CHECK: 5 = MemoryPhi({Entry,1},{InnerLoop.Tail,3})
55 ; CHECK: 4 = MemoryPhi({OuterLoop,2},{InnerLoop,3})
Dforward-unreachable.ll19 ; CHECK: 3 = MemoryPhi({split1,1},{split2,liveOnEntry},{forwardunreachable,liveOnEntry})
Dfunction-clobber.ll49 ; CHECK: 3 = MemoryPhi({%0,1},{if.then,2})
Dno-disconnected.ll35 ; CHECK: 5 = MemoryPhi({if.then,2},{if.else,4})
/external/llvm/lib/Transforms/Utils/
DMemorySSA.cpp210 if (It == PerBlockAccesses.end() || !isa<MemoryPhi>(It->second->front())) in renameBlock()
213 auto *Phi = cast<MemoryPhi>(&Accesses->front()); in renameBlock()
272 if (It == PerBlockAccesses.end() || !isa<MemoryPhi>(It->second->front())) in markUnreachableAsLiveOnEntry()
275 auto *Phi = cast<MemoryPhi>(&Accesses->front()); in markUnreachableAsLiveOnEntry()
409 MemoryPhi *Phi = new MemoryPhi(BB->getContext(), BB, NextID++); in buildMemorySSA()
455 MemoryPhi *MemorySSA::createMemoryPhi(BasicBlock *BB) { in createMemoryPhi()
458 MemoryPhi *Phi = new MemoryPhi(BB->getContext(), BB, NextID++); in createMemoryPhi()
486 [](const MemoryAccess &MA) { return !isa<MemoryPhi>(MA); }); in createMemoryAccessInBB()
554 if (MemoryPhi *Phi = getMemoryAccess(UseBlock)) in findDominatingDef()
567 if (isa<MemoryDef>(RA) || isa<MemoryPhi>(RA)) in findDominatingDef()
[all …]
/external/llvm/include/llvm/Transforms/Utils/
DMemorySSA.h158 friend class MemoryPhi; variable
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)
507 MemoryPhi *getMemoryAccess(const BasicBlock *BB) const;
538 MemoryPhi *createMemoryPhi(BasicBlock *BB);
790 MemoryPhi *MP = dyn_cast<MemoryPhi>(Access);
798 if (MemoryPhi *MP = dyn_cast<MemoryPhi>(Access))
[all …]
/external/llvm/unittests/Transforms/Utils/
DMemorySSA.cpp96 MemoryPhi *MP = MSSA.createMemoryPhi(Merge); in TEST_F()
105 EXPECT_TRUE(isa<MemoryPhi>(DefiningAccess)); in TEST_F()
136 EXPECT_TRUE(isa<MemoryPhi>(DefiningAccess)); in TEST_F()
139 MemoryPhi *MP = cast<MemoryPhi>(DefiningAccess); in TEST_F()
182 EXPECT_TRUE(isa<MemoryPhi>(DefiningAccess)); in TEST_F()
/external/llvm/include/llvm/IR/
DValue.def59 HANDLE_VALUE(MemoryPhi)