[ModuloSchedule] Make PeelingModuloScheduleExpander inheritable.
authorHendrik Greving <hgreving@google.com>
Fri, 26 Jun 2020 18:45:18 +0000 (11:45 -0700)
committerHendrik Greving <hgreving@google.com>
Tue, 30 Jun 2020 22:56:13 +0000 (15:56 -0700)
commit50ac7ce94f34c5f43b02185ae0c33e150e78b044
treeb60083e470945b495b5069d1f97f2eb689d6c668
parent3dfe1440aecc285992b0f325b13c1b95468f0074
[ModuloSchedule] Make PeelingModuloScheduleExpander inheritable.

Basically a NFC, but allows subclasses access to the entire PeelingModuloScheduleExpander
class. We are doing this to allow backends, particularly one that are not necessarily
upstreamed, to inherit from PeelingModuloScheduleExpander and access its basic structures.

Renames Info into LoopInfo for consistency in PeelingModuloScheduleExpander.

Differential Revision: https://reviews.llvm.org/D82673
llvm/include/llvm/CodeGen/ModuloSchedule.h
llvm/lib/CodeGen/ModuloSchedule.cpp