/external/llvm/test/Transforms/Util/MemorySSA/ |
D | phi-translation.ll | 23 ; 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 …]
|
D | cyclicphi.ll | 14 ; 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})
|
D | livein.ll | 13 ; CHECK-NOT: 2 = MemoryPhi 27 ; CHECK: 2 = MemoryPhi({left,1},{right,liveOnEntry}) 48 ; CHECK: 4 = MemoryPhi({%0,1},{if.then,2})
|
D | many-dom-backedge.ll | 14 ; 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})
|
D | multi-edges.ll | 16 ; CHECK: 4 = MemoryPhi({entry,1},{Loop.End,3}) 23 ; CHECK: 3 = MemoryPhi({entry,1},{Loop.Body,2},{Loop.Body,2})
|
D | many-doms.ll | 13 ; 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})
|
D | multiple-backedges-hal.ll | 45 ; CHECK: 5 = MemoryPhi({Entry,1},{InnerLoop.Tail,3}) 55 ; CHECK: 4 = MemoryPhi({OuterLoop,2},{InnerLoop,3})
|
D | forward-unreachable.ll | 19 ; CHECK: 3 = MemoryPhi({split1,1},{split2,liveOnEntry},{forwardunreachable,liveOnEntry})
|
D | function-clobber.ll | 49 ; CHECK: 3 = MemoryPhi({%0,1},{if.then,2})
|
D | no-disconnected.ll | 35 ; CHECK: 5 = MemoryPhi({if.then,2},{if.else,4})
|
/external/llvm/lib/Transforms/Utils/ |
D | MemorySSA.cpp | 210 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/ |
D | MemorySSA.h | 158 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/ |
D | MemorySSA.cpp | 96 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/ |
D | Value.def | 59 HANDLE_VALUE(MemoryPhi)
|