Lines Matching refs:use_pos
299 UsePosition* use_pos = reinterpret_cast<UsePosition*>(hint_); in HintRegister() local
300 int assigned_register = AssignedRegisterField::decode(use_pos->flags_); in HintRegister()
346 void UsePosition::SetHint(UsePosition* use_pos) { in SetHint() argument
347 DCHECK_NOT_NULL(use_pos); in SetHint()
348 hint_ = use_pos; in SetHint()
352 void UsePosition::ResolveHint(UsePosition* use_pos) { in ResolveHint() argument
353 DCHECK_NOT_NULL(use_pos); in ResolveHint()
355 hint_ = use_pos; in ResolveHint()
476 UsePosition* use_pos = last_processed_use_; in NextUsePosition() local
477 if (use_pos == nullptr || use_pos->pos() > start) { in NextUsePosition()
478 use_pos = first_pos(); in NextUsePosition()
480 while (use_pos != nullptr && use_pos->pos() < start) { in NextUsePosition()
481 use_pos = use_pos->next(); in NextUsePosition()
483 last_processed_use_ = use_pos; in NextUsePosition()
484 return use_pos; in NextUsePosition()
538 UsePosition* use_pos = NextRegisterPosition(pos); in CanBeSpilled() local
539 if (use_pos == nullptr) return true; in CanBeSpilled()
540 return use_pos->pos() > pos.NextStart().End(); in CanBeSpilled()
1147 void TopLevelLiveRange::AddUsePosition(UsePosition* use_pos) { in AddUsePosition() argument
1148 LifetimePosition pos = use_pos->pos(); in AddUsePosition()
1160 use_pos->set_next(first_pos_); in AddUsePosition()
1161 first_pos_ = use_pos; in AddUsePosition()
1163 use_pos->set_next(prev->next()); in AddUsePosition()
1164 prev->set_next(use_pos); in AddUsePosition()
1167 if (prev_hint == nullptr && use_pos->HasHint()) { in AddUsePosition()
1168 current_hint_position_ = use_pos; in AddUsePosition()
1202 UsePosition* use_pos = range->first_pos(); in operator <<() local
1205 while (use_pos != nullptr) { in operator <<()
1206 if (use_pos->HasOperand()) { in operator <<()
1207 pio.op_ = *use_pos->operand(); in operator <<()
1208 os << pio << use_pos->pos() << " "; in operator <<()
1210 use_pos = use_pos->next(); in operator <<()
2011 UsePosition* use_pos = in Define() local
2013 range->AddUsePosition(use_pos); in Define()
2014 return use_pos; in Define()
2024 UsePosition* use_pos = nullptr; in Use() local
2027 use_pos = NewUsePosition(position, unalloc_operand, hint, hint_type); in Use()
2028 range->AddUsePosition(use_pos); in Use()
2031 return use_pos; in Use()
2136 LifetimePosition use_pos; in ProcessInstructions() local
2139 use_pos = curr_position; in ProcessInstructions()
2141 use_pos = curr_position.End(); in ProcessInstructions()
2152 Use(block_start_position, use_pos, input); in ProcessInstructions()
2355 UsePosition* use_pos = Define(block_start, &phi->output(), hint, in ProcessPhis() local
2357 MapPhiHint(hint, use_pos); in ProcessPhis()
2452 UsePosition* use_pos) { in MapPhiHint() argument
2453 DCHECK(!use_pos->IsResolved()); in MapPhiHint()
2454 auto res = phi_hints_.insert(std::make_pair(operand, use_pos)); in MapPhiHint()
2461 UsePosition* use_pos) { in ResolvePhiHint() argument
2465 it->second->ResolveHint(use_pos); in ResolvePhiHint()
3159 LifetimePosition use_pos[RegisterConfiguration::kMaxFPRegisters]; in AllocateBlockedReg() local
3162 use_pos[i] = block_pos[i] = LifetimePosition::MaxPosition(); in AllocateBlockedReg()
3171 block_pos[cur_reg] = use_pos[cur_reg] = in AllocateBlockedReg()
3176 use_pos[cur_reg] = in AllocateBlockedReg()
3187 block_pos[aliased_reg] = use_pos[aliased_reg] = in AllocateBlockedReg()
3190 use_pos[aliased_reg] = in AllocateBlockedReg()
3211 if (use_pos[cur_reg] < range->Start()) continue; in AllocateBlockedReg()
3221 use_pos[cur_reg] = Min(block_pos[cur_reg], use_pos[cur_reg]); in AllocateBlockedReg()
3223 use_pos[cur_reg] = Min(use_pos[cur_reg], next_intersection); in AllocateBlockedReg()
3235 use_pos[aliased_reg] = in AllocateBlockedReg()
3236 Min(block_pos[aliased_reg], use_pos[aliased_reg]); in AllocateBlockedReg()
3238 use_pos[aliased_reg] = Min(use_pos[aliased_reg], next_intersection); in AllocateBlockedReg()
3247 if (use_pos[code] > use_pos[reg]) { in AllocateBlockedReg()
3252 if (use_pos[reg] < register_use->pos()) { in AllocateBlockedReg()