Lines Matching refs:KeyT
29 template<typename KeyT, typename ValueT,
30 typename MapType = llvm::DenseMap<KeyT, unsigned>,
31 typename VectorType = std::vector<std::pair<KeyT, ValueT> > >
60 std::pair<KeyT, ValueT> &front() { return Vector.front(); } in front()
61 const std::pair<KeyT, ValueT> &front() const { return Vector.front(); } in front()
62 std::pair<KeyT, ValueT> &back() { return Vector.back(); } in back()
63 const std::pair<KeyT, ValueT> &back() const { return Vector.back(); } in back()
75 ValueT &operator[](const KeyT &Key) {
76 std::pair<KeyT, unsigned> Pair = std::make_pair(Key, 0);
86 ValueT lookup(const KeyT &Key) const { in lookup()
91 std::pair<iterator, bool> insert(const std::pair<KeyT, ValueT> &KV) { in insert() argument
92 std::pair<KeyT, unsigned> Pair = std::make_pair(KV.first, 0); in insert()
103 size_type count(const KeyT &Key) const { in count()
108 iterator find(const KeyT &Key) { in find()
114 const_iterator find(const KeyT &Key) const { in find()
153 size_type erase(const KeyT &Key) { in erase()
168 template <typename KeyT, typename ValueT, typename MapType, typename VectorType>
170 void MapVector<KeyT, ValueT, MapType, VectorType>::remove_if(Function Pred) { in remove_if()
192 template <typename KeyT, typename ValueT, unsigned N>
194 : MapVector<KeyT, ValueT, SmallDenseMap<KeyT, unsigned, N>,
195 SmallVector<std::pair<KeyT, ValueT>, N>> {