Searched defs:OrderMap (Results 1 – 4 of 4) sorted by relevance
54 struct OrderMap { struct55 DenseMap<const Value *, std::pair<unsigned, bool>> IDs;56 unsigned LastGlobalConstantID = 0;57 unsigned LastGlobalValueID = 0;61 bool isGlobalConstant(unsigned ID) const { in isGlobalConstant()65 bool isGlobalValue(unsigned ID) const { in isGlobalValue()69 unsigned size() const { return IDs.size(); } in size()70 std::pair<unsigned, bool> &operator[](const Value *V) { return IDs[V]; } in operator []()72 std::pair<unsigned, bool> lookup(const Value *V) const { in lookup()76 void index(const Value *V) { in index()
51 struct OrderMap { struct52 DenseMap<const Value *, std::pair<unsigned, bool>> IDs;53 unsigned LastGlobalValueID = 0;57 bool isGlobalValue(unsigned ID) const { in isGlobalValue()61 unsigned size() const { return IDs.size(); } in size()62 std::pair<unsigned, bool> &operator[](const Value *V) { return IDs[V]; } in operator []()64 std::pair<unsigned, bool> lookup(const Value *V) const { in lookup()68 void index(const Value *V) { in index()
249 return OrderMap; in generateInstructionOrderMap() local
99 using OrderMap = MapVector<const Value *, unsigned>; global() typedef