Searched defs:PhysRegInterval (Results 1 – 1 of 1) sorted by relevance
144 struct PhysRegInterval { struct145 PhysReg lo_;146 unsigned size;149 PhysReg lo() const { return lo_; } in lo()152 PhysReg hi() const { return PhysReg{lo() + size}; } in hi()154 PhysRegInterval& operator+=(uint32_t stride) in operator +=()160 bool operator!=(const PhysRegInterval& oth) const { return lo_ != oth.lo_ || size != oth.size; } in operator !=()163 static PhysRegInterval from_until(PhysReg first, PhysReg end) { return {first, end - first}; } in from_until()165 bool contains(PhysReg reg) const { return lo() <= reg && reg < hi(); } in contains()167 bool contains(const PhysRegInterval& needle) const in contains()[all …]