mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-25 15:19:14 +00:00
LiveInterval: Use range based for loops for subregister ranges.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223991 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -640,6 +640,14 @@ namespace llvm {
|
||||
return const_subrange_iterator(nullptr);
|
||||
}
|
||||
|
||||
iterator_range<subrange_iterator> subranges() {
|
||||
return make_range(subrange_begin(), subrange_end());
|
||||
}
|
||||
|
||||
iterator_range<const_subrange_iterator> subranges() const {
|
||||
return make_range(subrange_begin(), subrange_end());
|
||||
}
|
||||
|
||||
/// Creates a new empty subregister live range. The range is added at the
|
||||
/// beginning of the subrange list; subrange iterators stay valid.
|
||||
SubRange *createSubRange(BumpPtrAllocator &Allocator, unsigned LaneMask) {
|
||||
|
||||
Reference in New Issue
Block a user