Lines Matching defs:OrderMap
30 struct OrderMap { struct
31 DenseMap<const Value *, std::pair<unsigned, bool>> IDs;
32 unsigned LastGlobalConstantID;
33 unsigned LastGlobalValueID;
35 OrderMap() : LastGlobalConstantID(0), LastGlobalValueID(0) {} in OrderMap() argument
37 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()
49 void index(const Value *V) { in index()