Home | History | Annotate | Download | only in IR

Lines Matching defs:ValueT

47 template<typename KeyT, typename ValueT, typename Config>
85 template<typename KeyT, typename ValueT, typename Config =ValueMapConfig<KeyT>>
87 friend class ValueMapCallbackVH<KeyT, ValueT, Config>;
89 using ValueMapCVH = ValueMapCallbackVH<KeyT, ValueT, Config>;
90 using MapT = DenseMap<ValueMapCVH, ValueT, DenseMapInfo<ValueMapCVH>>;
101 using mapped_type = ValueT;
102 using value_type = std::pair<KeyT, ValueT>;
167 ValueT lookup(const KeyT &Val) const {
169 return I != Map.end() ? I->second : ValueT();
175 std::pair<iterator, bool> insert(const std::pair<KeyT, ValueT> &KV) {
180 std::pair<iterator, bool> insert(std::pair<KeyT, ValueT> &&KV) {
209 ValueT &operator[](const KeyT &Key) {
242 template <typename KeyT, typename ValueT, typename Config>
244 friend class ValueMap<KeyT, ValueT, Config>;
247 using ValueMapT = ValueMap<KeyT, ValueT, Config>;
291 ValueT Target(std::move(I->second));
299 template<typename KeyT, typename ValueT, typename Config>
300 struct DenseMapInfo<ValueMapCallbackVH<KeyT, ValueT, Config>> {
301 using VH = ValueMapCallbackVH<KeyT, ValueT, Config>;
334 using ValueT = typename DenseMapT::mapped_type;
346 ValueT& second;
350 operator std::pair<KeyT, ValueT>() const {
386 using ValueT = typename DenseMapT::mapped_type;
400 const ValueT& second;
402 operator std::pair<KeyT, ValueT>() const {