Home
last modified time | relevance | path

Searched refs:MSSA (Results 1 – 3 of 3) sorted by relevance

/external/llvm/unittests/Transforms/Utils/
DMemorySSA.cpp45 MemorySSA MSSA; member
50 BAA(Test.DL, Test.TLI, AC, &DT), MSSA(*Test.F, &AA, &DT) { in TestAnalyses()
52 Walker = MSSA.getWalker(); in TestAnalyses()
88 MemorySSA &MSSA = Analyses->MSSA; in TEST_F() local
93 EXPECT_EQ(MSSA.getMemoryAccess(Merge), nullptr); in TEST_F()
96 MemoryPhi *MP = MSSA.createMemoryPhi(Merge); in TEST_F()
97 MemoryDef *StoreAccess = cast<MemoryDef>(MSSA.getMemoryAccess(StoreInst)); in TEST_F()
99 MP->addIncoming(MSSA.getLiveOnEntryDef(), Right); in TEST_F()
103 MSSA.createMemoryAccessInBB(LoadInst, MP, Merge, MemorySSA::Beginning)); in TEST_F()
106 MSSA.verifyMemorySSA(); in TEST_F()
[all …]
/external/llvm/lib/Transforms/Utils/
DMemorySSA.cpp72 const MemorySSA *MSSA; member in llvm::MemorySSAAnnotatedWriter
75 MemorySSAAnnotatedWriter(const MemorySSA *M) : MSSA(M) {} in MemorySSAAnnotatedWriter()
79 if (MemoryAccess *MA = MSSA->getMemoryAccess(BB)) in emitBasicBlockStartAnnot()
85 if (MemoryAccess *MA = MSSA->getMemoryAccess(I)) in emitInstructionAnnot()
302 MemorySSA::MemorySSA(MemorySSA &&MSSA) in MemorySSA() argument
303 : AA(MSSA.AA), DT(MSSA.DT), F(MSSA.F), in MemorySSA()
304 ValueToMemoryAccess(std::move(MSSA.ValueToMemoryAccess)), in MemorySSA()
305 PerBlockAccesses(std::move(MSSA.PerBlockAccesses)), in MemorySSA()
306 LiveOnEntryDef(std::move(MSSA.LiveOnEntryDef)), in MemorySSA()
307 Walker(std::move(MSSA.Walker)), NextID(MSSA.NextID) { in MemorySSA()
[all …]
/external/llvm/include/llvm/Transforms/Utils/
DMemorySSA.h674 MemorySSA &getMSSA() { return *MSSA; }
675 const MemorySSA &getMSSA() const { return *MSSA; }
683 std::unique_ptr<MemorySSA> MSSA;
752 MemorySSA *MSSA;