Lines Matching refs:Idx
56 IndexType(unsigned Idx) : Index(Idx) {} in IndexType()
59 bool operator== (IndexType Idx) const;
61 bool operator!= (IndexType Idx) const;
63 bool operator< (unsigned Idx) const;
64 bool operator< (IndexType Idx) const;
65 bool operator<= (IndexType Idx) const;
68 bool operator> (IndexType Idx) const;
69 bool operator>= (IndexType Idx) const;
121 MachineInstr *getInstr(IndexType Idx) const;
124 IndexType getPrevIndex(IndexType Idx) const;
125 IndexType getNextIndex(IndexType Idx) const;
175 inline bool HexagonBlockRanges::IndexType::operator== (IndexType Idx) const {
176 return Index == Idx.Index;
183 inline bool HexagonBlockRanges::IndexType::operator!= (IndexType Idx) const {
184 return Index != Idx.Index;
198 inline bool HexagonBlockRanges::IndexType::operator< (unsigned Idx) const {
199 return operator< (IndexType(Idx));
202 inline bool HexagonBlockRanges::IndexType::operator< (IndexType Idx) const {
204 if (Index == Idx.Index)
208 if (Index == None || Idx.Index == None)
212 if (Index == Exit || Idx.Index == Entry)
216 if (Index == Entry || Idx.Index == Exit)
219 return Index < Idx.Index;
222 inline bool HexagonBlockRanges::IndexType::operator<= (IndexType Idx) const {
223 return operator==(Idx) || operator<(Idx);
227 raw_ostream &operator<< (raw_ostream &OS, HexagonBlockRanges::IndexType Idx);