[DeLICM] Remove AllElements. NFC.

It is not used and will not be used (anymore) in future commits.

llvm-svn: 298522
This commit is contained in:
Michael Kruse 2017-03-22 17:18:39 +00:00
parent 3eb1ec9767
commit 29143ec3f7
1 changed files with 0 additions and 14 deletions

View File

@ -701,10 +701,6 @@ protected:
/// Cached version of the schedule and domains.
isl::union_map Schedule;
/// Set of all referenced elements.
/// { Element[] -> Element[] }
isl::union_set AllElements;
/// Combined access relations of all MemoryKind::Array READ accesses.
/// { DomainRead[] -> Element[] }
isl::union_map AllReads;
@ -945,16 +941,6 @@ protected:
// { DomainWrite[] -> Element[] }
auto AllWrites =
give(isl_union_map_union(AllMustWrites.copy(), AllMayWrites.copy()));
// { Element[] }
AllElements = makeEmptyUnionSet();
foreachElt(AllWrites, [this](isl::map Write) {
auto Space = give(isl_map_get_space(Write.keep()));
auto EltSpace = give(isl_space_range(Space.take()));
auto EltUniv = give(isl_set_universe(EltSpace.take()));
AllElements =
give(isl_union_set_add_set(AllElements.take(), EltUniv.take()));
});
}
/// Print the current state of all MemoryAccesses to @p.