Searched defs:PhysRegInterval (Results 1 – 1 of 1) sorted by relevance
130 struct PhysRegInterval { struct131 PhysReg lo_;132 unsigned size;135 PhysReg lo() const { return lo_; } in lo()138 PhysReg hi() const { return PhysReg{lo() + size}; } in hi()140 PhysRegInterval& operator+=(uint32_t stride) in operator +=()146 bool operator!=(const PhysRegInterval& oth) const { return lo_ != oth.lo_ || size != oth.size; } in operator !=()149 static PhysRegInterval from_until(PhysReg first, PhysReg end) { return {first, end - first}; } in from_until()151 bool contains(PhysReg reg) const { return lo() <= reg && reg < hi(); } in contains()153 bool contains(const PhysRegInterval& needle) const in contains()[all …]