Summary: It pollutes the global namespace otherwise.
Patch by: Bevin Hansson
Reviewers: jonpa
Reviewed By: jonpa
Subscribers: MatzeB, javed.absar, llvm-commits
Differential Revision: https://reviews.llvm.org/D37555
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@313148
91177308-0d34-0410-b5e6-
96231b3b80d8
}
/// A region of an MBB for scheduling.
+namespace {
struct SchedRegion {
/// RegionBegin is the first instruction in the scheduling region, and
/// RegionEnd is either MBB->end() or the scheduling boundary after the
unsigned N) :
RegionBegin(B), RegionEnd(E), NumRegionInstrs(N) {}
};
+} // end anonymous namespace
using MBBRegionsVector = SmallVector<SchedRegion, 16>;