Lines Matching defs:UsePosition
262 UsePosition::UsePosition(LifetimePosition pos, InstructionOperand* operand,
286 bool UsePosition::HasHint() const {
292 bool UsePosition::HintRegister(int* register_code) const {
299 UsePosition* use_pos = reinterpret_cast<UsePosition*>(hint_);
325 UsePositionHintType UsePosition::HintTypeForOperand(
348 void UsePosition::SetHint(UsePosition* use_pos) {
354 void UsePosition::ResolveHint(UsePosition* use_pos) {
362 void UsePosition::set_type(UsePositionType type, bool register_beneficial) {
425 for (UsePosition* pos = first_pos_; pos != nullptr; pos = pos->next()) {
474 UsePosition* LiveRange::FirstHintPosition(int* register_index) const {
475 for (UsePosition* pos = first_pos_; pos != nullptr; pos = pos->next()) {
482 UsePosition* LiveRange::NextUsePosition(LifetimePosition start) const {
483 UsePosition* use_pos = last_processed_use_;
495 UsePosition* LiveRange::NextUsePositionRegisterIsBeneficial(
497 UsePosition* pos = NextUsePosition(start);
506 UsePosition* next_use = NextUsePositionRegisterIsBeneficial(start);
511 UsePosition* LiveRange::PreviousUsePositionRegisterIsBeneficial(
513 UsePosition* pos = first_pos();
514 UsePosition* prev = nullptr;
523 UsePosition* LiveRange::NextRegisterPosition(LifetimePosition start) const {
524 UsePosition* pos = NextUsePosition(start);
532 UsePosition
533 for (UsePosition* pos = NextUsePosition(start); pos != nullptr;
545 UsePosition* use_pos = NextRegisterPosition(pos);
608 UsePosition* LiveRange::DetachAt(LifetimePosition position, LiveRange* result,
656 UsePosition* use_after =
660 UsePosition* use_before = nullptr;
711 for (UsePosition* pos = first_pos(); pos != nullptr; pos = pos->next()) {
739 UsePosition* pos = first_pos();
741 UsePosition* other_pos = other->first_pos();
750 for (UsePosition* pos = first_pos(); pos != nullptr; pos = pos->next()) {
927 UsePosition* last_in_splinter = nullptr;
942 UsePosition* last = DetachAt(start, &splinter_temp, zone, ConnectHints);
985 for (UsePosition* pos = splinter()->first_pos(); pos != nullptr;
1152 void TopLevelLiveRange::AddUsePosition(UsePosition* use_pos) {
1155 UsePosition* prev_hint = nullptr;
1156 UsePosition* prev = nullptr;
1157 UsePosition* current = first_pos_;
1207 UsePosition* use_pos = range->first_pos();
1982 UsePosition* LiveRangeBuilder::NewUsePosition(LifetimePosition pos,
1986 return new (allocation_zone()) UsePosition(pos, operand, hint, hint_type);
1990 UsePosition* LiveRangeBuilder::Define(LifetimePosition position,
2005 UsePosition* use_pos =
2012 UsePosition* LiveRangeBuilder::Use(LifetimePosition block_start,
2018 UsePosition* use_pos = nullptr;
2184 UsePositionHintType hint_type = UsePosition::HintTypeForOperand(to);
2185 UsePosition* to_use = nullptr;
2204 UsePosition::HintTypeForOperand(from));
2214 UsePosition* from_use =
2349 UsePosition* use_pos = Define(block_start, &phi->output(), hint,
2350 UsePosition::HintTypeForOperand(*hint));
2413 for (UsePosition* pos = range->first_pos(); pos != nullptr;
2440 UsePosition* use_pos) {
2449 UsePosition* use_pos) {
2581 UsePosition* pos =
2687 const UsePosition* prev_use =
2833 const UsePosition* next_reg = range->NextRegisterPosition(range->Start());
3166 UsePosition* register_use = current->NextRegisterPosition(current->Start());
3327 UsePosition* next_pos = range->NextRegisterPosition(current->Start());
3363 UsePosition* next_pos = range->NextRegisterPosition(current->Start());
3440 UsePosition* pos = range->NextUsePositionRegisterIsBeneficial(next_pos);
3788 for (const UsePosition* use = current->NextUsePosition(block_start);
3957 for (const UsePosition* pos = child->first_pos(); pos != nullptr;