Lines Matching refs:index
23 constexpr explicit Register(int index = kInvalidIndex) : index_(index) {}
25 int index() const { return index_; }
26 bool is_parameter() const { return index() < 0; }
29 static Register FromParameterIndex(int index);
75 if (index() >= 0 && index() < Bytecodes::kShortStarCount) {
77 static_cast<Bytecode>(static_cast<int>(Bytecode::kStar0) - index());
93 return index() == other.index();
96 return index() != other.index();
99 return index() < other.index();
102 return index() <= other.index();
105 return index() > other.index();
108 return index() >= other.index();
124 : first_reg_index_(Register::invalid_value().index()),
126 explicit RegisterList(Register r) : RegisterList(r.index(), 1) {}