Searched defs:OrderMap (Results 1 – 2 of 2) sorted by relevance
30 struct OrderMap { struct31 DenseMap<const Value *, std::pair<unsigned, bool>> IDs;32 unsigned LastGlobalConstantID;33 unsigned LastGlobalValueID;35 OrderMap() : LastGlobalConstantID(0), LastGlobalValueID(0) {} in OrderMap() function37 bool isGlobalConstant(unsigned ID) const { in isGlobalConstant()40 bool isGlobalValue(unsigned ID) const { in isGlobalValue()44 unsigned size() const { return IDs.size(); } in size()45 std::pair<unsigned, bool> &operator[](const Value *V) { return IDs[V]; } in operator []()46 std::pair<unsigned, bool> lookup(const Value *V) const { in lookup()[all …]
55 struct OrderMap { struct56 DenseMap<const Value *, std::pair<unsigned, bool>> IDs;58 unsigned size() const { return IDs.size(); } in size()59 std::pair<unsigned, bool> &operator[](const Value *V) { return IDs[V]; } in operator []()60 std::pair<unsigned, bool> lookup(const Value *V) const { in lookup()63 void index(const Value *V) { in index()