Home | History | Annotate | Download | only in src

Lines Matching refs:LiveRange

102 void LiveRange::Verify() const {
112 bool LiveRange::HasOverlap(UseInterval* target) const {
129 LiveRange::LiveRange(int id, Zone* zone)
145 void LiveRange::set_assigned_register(int reg,
155 void LiveRange::MakeSpilled(Zone* zone) {
164 bool LiveRange::HasAllocatedSpillOperand() const {
170 void LiveRange::SetSpillOperand(LOperand* operand) {
178 UsePosition* LiveRange::NextUsePosition(LifetimePosition start) {
189 UsePosition* LiveRange::NextUsePositionRegisterIsBeneficial(
199 UsePosition* LiveRange::NextRegisterPosition(LifetimePosition start) {
208 bool LiveRange::CanBeSpilled(LifetimePosition pos) {
221 UsePosition* LiveRange::FirstPosWithHint() const {
228 LOperand* LiveRange::CreateAssignedOperand(Zone* zone) {
250 UseInterval* LiveRange::FirstSearchIntervalForPosition(
261 void LiveRange::AdvanceLastProcessedMarker(
274 void LiveRange::SplitAt(LifetimePosition position,
275 LiveRange* result,
365 bool LiveRange::ShouldBeAllocatedBefore(const LiveRange* other) const {
379 void LiveRange::ShortenTo(LifetimePosition start) {
388 void LiveRange::EnsureInterval(LifetimePosition start,
413 void LiveRange::AddUseInterval(LifetimePosition start,
443 UsePosition* LiveRange::AddUsePosition(LifetimePosition pos,
469 void LiveRange::ConvertOperands(Zone* zone) {
486 bool LiveRange::CanCover(LifetimePosition position) const {
493 bool LiveRange::Covers(LifetimePosition position) {
509 LifetimePosition LiveRange::FirstIntersection(LiveRange* other) {
601 LiveRange* range = LiveRangeFor(operand_index);
640 LiveRange* LAllocator::FixedLiveRangeFor(int index) {
642 LiveRange* result = fixed_live_ranges_[index];
644 result = new(zone_) LiveRange(FixedLiveRangeID(index), zone_);
653 LiveRange* LAllocator::FixedDoubleLiveRangeFor(int index) {
655 LiveRange* result = fixed_double_live_ranges_[index];
657 result = new(zone_) LiveRange(FixedDoubleLiveRangeID(index), zone_);
666 LiveRange* LAllocator::LiveRangeFor(int index) {
670 LiveRange* result = live_ranges_[index];
672 result = new(zone_) LiveRange(index, zone_);
697 LiveRange* LAllocator::LiveRangeFor(LOperand* operand) {
713 LiveRange* range = LiveRangeFor(operand);
735 LiveRange* range = LiveRangeFor(operand);
800 LiveRange* range = LiveRangeFor(first_output->virtual_register());
953 LiveRange* range = FixedLiveRangeFor(i);
965 LiveRange* range = FixedDoubleLiveRangeFor(i);
1056 LiveRange* live_range = LiveRangeFor(phi->id());
1108 void LAllocator::ResolveControlFlow(LiveRange* range,
1115 LiveRange* pred_cover = NULL;
1116 LiveRange* cur_cover = NULL;
1117 LiveRange* cur_range = range;
1189 LiveRange* first_range = live_ranges()->at(i);
1192 LiveRange* second_range = first_range->next();
1238 LiveRange* cur_range = LiveRangeFor(operand_index);
1309 LiveRange* range = LiveRangeFor(operand_index);
1329 LiveRange* range = LiveRangeFor(operand_index);
1363 LiveRange* range = live_ranges()->at(range_idx);
1375 for (LiveRange* cur = range; cur != NULL; cur = cur->next()) {
1412 LiveRange* cur = range;
1453 LiveRange* range = live_ranges()->at(i);
1505 LiveRange* current = fixed_double_live_ranges_.at(i);
1512 LiveRange* current = fixed_live_ranges_.at(i);
1521 LiveRange* current = unhandled_live_ranges_.RemoveLast();
1552 LiveRange* cur_active = active_live_ranges_.at(i);
1563 LiveRange* cur_inactive = inactive_live_ranges_.at(i);
1633 void LAllocator::AddToActive(LiveRange* range) {
1639 void LAllocator::AddToInactive(LiveRange* range) {
1645 void LAllocator::AddToUnhandledSorted(LiveRange* range) {
1649 LiveRange* cur_range = unhandled_live_ranges_.at(i);
1663 void LAllocator::AddToUnhandledUnsorted(LiveRange* range) {
1671 static int UnhandledSortHelper(LiveRange* const* a, LiveRange* const* b) {
1692 LiveRange* a = unhandled_live_ranges_.at(i - 1);
1693 LiveRange* b = unhandled_live_ranges_.at(i);
1700 void LAllocator::FreeSpillSlot(LiveRange* range) {
1713 LOperand* LAllocator::TryReuseSpillSlot(LiveRange* range) {
1725 void LAllocator::ActiveToHandled(LiveRange* range) {
1733 void LAllocator::ActiveToInactive(LiveRange* range) {
1741 void LAllocator::InactiveToHandled(LiveRange* range) {
1749 void LAllocator::InactiveToActive(LiveRange* range) {
1763 bool LAllocator::TryAllocateFreeReg(LiveRange* current) {
1771 LiveRange* cur_active = active_live_ranges_.at(i);
1777 LiveRange* cur_inactive = inactive_live_ranges_.at(i);
1827 LiveRange* tail = SplitRangeAt(current, pos);
1845 void LAllocator::AllocateBlockedReg(LiveRange* current) {
1863 LiveRange* range = active_live_ranges_[i];
1880 LiveRange* range = inactive_live_ranges_.at(i);
1918 LiveRange* tail = SplitBetween(current,
1938 void LAllocator::SplitAndSpillIntersecting(LiveRange* current) {
1943 LiveRange* range = active_live_ranges_[i];
1957 LiveRange* range = inactive_live_ranges_[i];
1983 LiveRange* LAllocator::SplitRangeAt(LiveRange* range, LifetimePosition pos) {
1994 LiveRange* result = LiveRangeFor(GetVirtualRegister());
2001 LiveRange* LAllocator::SplitBetween(LiveRange* range,
2050 void LAllocator::SpillAfter(LiveRange* range, LifetimePosition pos) {
2051 LiveRange* second_part = SplitRangeAt(range, pos);
2057 void LAllocator::SpillBetween(LiveRange* range,
2061 LiveRange* second_part = SplitRangeAt(range, start);
2068 LiveRange* third_part = SplitBetween(
2085 void LAllocator::Spill(LiveRange* range) {
2088 LiveRange* first = range->TopLevel();
2109 LiveRange* current = live_ranges()->at(i);