Home | History | Annotate | Download | only in src

Lines Matching defs:LiveRange

125 void LiveRange::Verify() const {
135 bool LiveRange::HasOverlap(UseInterval* target) const {
152 LiveRange::LiveRange(int id)
169 void LiveRange::set_assigned_register(int reg, RegisterKind register_kind) {
177 void LiveRange::MakeSpilled() {
186 bool LiveRange::HasAllocatedSpillOperand() const {
191 void LiveRange::SetSpillOperand(LOperand* operand) {
199 UsePosition* LiveRange::NextUsePosition(LifetimePosition start) {
210 UsePosition* LiveRange::NextUsePositionRegisterIsBeneficial(
220 UsePosition* LiveRange::NextRegisterPosition(LifetimePosition start) {
229 bool LiveRange::CanBeSpilled(LifetimePosition pos) {
241 UsePosition* LiveRange::FirstPosWithHint() const {
248 LOperand* LiveRange::CreateAssignedOperand() {
270 UseInterval* LiveRange::FirstSearchIntervalForPosition(
281 void LiveRange::AdvanceLastProcessedMarker(
294 void LiveRange::SplitAt(LifetimePosition position, LiveRange* result) {
373 bool LiveRange::ShouldBeAllocatedBefore(const LiveRange* other) const {
387 void LiveRange::ShortenTo(LifetimePosition start) {
396 void LiveRange::EnsureInterval(LifetimePosition start, LifetimePosition end) {
419 void LiveRange::AddUseInterval(LifetimePosition start, LifetimePosition end) {
447 UsePosition* LiveRange::AddUsePosition(LifetimePosition pos,
472 void LiveRange::ConvertOperands() {
489 bool LiveRange::CanCover(LifetimePosition position) const {
496 bool LiveRange::Covers(LifetimePosition position) {
512 LifetimePosition LiveRange::FirstIntersection(LiveRange* other) {
607 LiveRange* range = LiveRangeFor(operand_index);
646 LiveRange* LAllocator::FixedLiveRangeFor(int index) {
648 LiveRange* result = fixed_live_ranges_[index];
650 result = new LiveRange(FixedLiveRangeID(index));
659 LiveRange* LAllocator::FixedDoubleLiveRangeFor(int index) {
661 LiveRange* result = fixed_double_live_ranges_[index];
663 result = new LiveRange(FixedDoubleLiveRangeID(index));
672 LiveRange* LAllocator::LiveRangeFor(int index) {
676 LiveRange* result = live_ranges_[index];
678 result = new LiveRange(index);
703 LiveRange* LAllocator::LiveRangeFor(LOperand* operand) {
719 LiveRange* range = LiveRangeFor(operand);
741 LiveRange* range = LiveRangeFor(operand);
804 LiveRange* range = LiveRangeFor(first_output->VirtualRegister());
953 LiveRange* range = FixedLiveRangeFor(i);
964 LiveRange* range = FixedDoubleLiveRangeFor(i);
1034 LiveRange* live_range = LiveRangeFor(phi->id());
1081 void LAllocator::ResolveControlFlow(LiveRange* range,
1088 LiveRange* pred_cover = NULL;
1089 LiveRange* cur_cover = NULL;
1090 LiveRange* cur_range = range;
1159 LiveRange* first_range = live_ranges()->at(i);
1162 LiveRange* second_range = first_range->next();
1208 LiveRange* cur_range = LiveRangeFor(operand_index);
1278 LiveRange* range = LiveRangeFor(operand_index);
1298 LiveRange* range = LiveRangeFor(operand_index);
1332 LiveRange* range = live_ranges()->at(range_idx);
1344 for (LiveRange* cur = range; cur != NULL; cur = cur->next()) {
1381 LiveRange* cur = range;
1422 LiveRange* range = live_ranges()->at(i);
1476 LiveRange* current = fixed_double_live_ranges_.at(i);
1483 LiveRange* current = fixed_live_ranges_.at(i);
1492 LiveRange* current = unhandled_live_ranges_.RemoveLast();
1522 LiveRange* cur_active = active_live_ranges_.at(i);
1533 LiveRange* cur_inactive = inactive_live_ranges_.at(i);
1626 void LAllocator::AddToActive(LiveRange* range) {
1632 void LAllocator::AddToInactive(LiveRange* range) {
1638 void LAllocator::AddToUnhandledSorted(LiveRange* range) {
1642 LiveRange* cur_range = unhandled_live_ranges_.at(i);
1656 void LAllocator::AddToUnhandledUnsorted(LiveRange* range) {
1664 static int UnhandledSortHelper(LiveRange* const* a, LiveRange* const* b) {
1685 LiveRange* a = unhandled_live_ranges_.at(i - 1);
1686 LiveRange* b = unhandled_live_ranges_.at(i);
1693 void LAllocator::FreeSpillSlot(LiveRange* range) {
1706 LOperand* LAllocator::TryReuseSpillSlot(LiveRange* range) {
1718 void LAllocator::ActiveToHandled(LiveRange* range) {
1726 void LAllocator::ActiveToInactive(LiveRange* range) {
1734 void LAllocator::InactiveToHandled(LiveRange* range) {
1742 void LAllocator::InactiveToActive(LiveRange* range) {
1756 bool LAllocator::TryAllocateFreeReg(LiveRange* current) {
1764 LiveRange* cur_active = active_live_ranges_.at(i);
1770 LiveRange* cur_inactive = inactive_live_ranges_.at(i);
1820 LiveRange* tail = SplitAt(current, pos);
1837 void LAllocator::AllocateBlockedReg(LiveRange* current) {
1855 LiveRange* range = active_live_ranges_[i];
1872 LiveRange* range = inactive_live_ranges_.at(i);
1910 LiveRange* tail = SplitBetween(current,
1930 void LAllocator::SplitAndSpillIntersecting(LiveRange* current) {
1935 LiveRange* range = active_live_ranges_[i];
1949 LiveRange* range = inactive_live_ranges_[i];
1975 LiveRange* LAllocator::SplitAt(LiveRange* range, LifetimePosition pos) {
1986 LiveRange* result = LiveRangeFor(next_virtual_register_++);
1992 LiveRange* LAllocator::SplitBetween(LiveRange* range,
2039 void LAllocator::SpillAfter(LiveRange* range, LifetimePosition pos) {
2040 LiveRange* second_part = SplitAt(range, pos);
2045 void LAllocator::SpillBetween(LiveRange* range,
2049 LiveRange* second_part = SplitAt(range, start);
2055 LiveRange* third_part = SplitBetween(
2072 void LAllocator::Spill(LiveRange* range) {
2075 LiveRange* first = range->TopLevel();
2096 LiveRange* current = live_ranges()->at(i);