Lines Matching refs:Idx
57 IndexType(unsigned Idx) : Index(Idx) {} in IndexType()
63 bool operator== (IndexType Idx) const;
65 bool operator!= (IndexType Idx) const;
67 bool operator< (unsigned Idx) const;
68 bool operator< (IndexType Idx) const;
69 bool operator<= (IndexType Idx) const;
72 bool operator> (IndexType Idx) const;
73 bool operator>= (IndexType Idx) const;
129 MachineInstr *getInstr(IndexType Idx) const;
132 IndexType getPrevIndex(IndexType Idx) const;
133 IndexType getNextIndex(IndexType Idx) const;
186 inline bool HexagonBlockRanges::IndexType::operator== (IndexType Idx) const {
187 return Index == Idx.Index;
194 inline bool HexagonBlockRanges::IndexType::operator!= (IndexType Idx) const {
195 return Index != Idx.Index;
209 inline bool HexagonBlockRanges::IndexType::operator< (unsigned Idx) const {
210 return operator< (IndexType(Idx));
213 inline bool HexagonBlockRanges::IndexType::operator< (IndexType Idx) const {
215 if (Index == Idx.Index)
219 if (Index == None || Idx.Index == None)
223 if (Index == Exit || Idx.Index == Entry)
227 if (Index == Entry || Idx.Index == Exit)
230 return Index < Idx.Index;
233 inline bool HexagonBlockRanges::IndexType::operator<= (IndexType Idx) const {
234 return operator==(Idx) || operator<(Idx);
237 raw_ostream &operator<< (raw_ostream &OS, HexagonBlockRanges::IndexType Idx);