Searched defs:NodeOrdering (Results 1 – 1 of 1) sorted by relevance
62 struct NodeOrdering { struct63 NodeOrdering() : LastNum(0) {} in NodeOrdering() function65 void insert(const GepNode *N) { Map.insert(std::make_pair(N, ++LastNum)); } in insert()66 void clear() { Map.clear(); } in clear()68 bool operator()(const GepNode *N1, const GepNode *N2) const { in operator ()()75 std::map<const GepNode *, unsigned> Map;76 unsigned LastNum;