Home
last modified time | relevance | path

Searched refs:ValueT (Results 1 – 11 of 11) sorted by relevance

/external/llvm/include/llvm/ADT/
DSparseSet.h36 template<typename ValueT>
38 unsigned operator()(const ValueT &Val) { in operator()
88 template<typename ValueT,
90 typename KeyFunctorT = SparseSetFunctor<ValueT> >
92 typedef SmallVector<ValueT, 8> DenseT;
104 typedef ValueT value_type;
105 typedef ValueT &reference;
106 typedef const ValueT &const_reference;
107 typedef ValueT *pointer;
108 typedef const ValueT *const_pointer;
[all …]
DDenseSet.h25 template<typename ValueT, typename ValueInfoT = DenseMapInfo<ValueT> >
27 typedef DenseMap<ValueT, char, ValueInfoT> MapTy;
43 bool count(const ValueT &V) const { in count()
47 bool erase(const ValueT &V) { in erase()
67 typedef ValueT value_type;
74 ValueT& operator*() { return I->first; }
75 ValueT* operator->() { return &I->first; }
87 typedef ValueT value_type;
94 const ValueT& operator*() { return I->first; }
95 const ValueT* operator->() { return &I->first; }
[all …]
DValueMap.h38 template<typename KeyT, typename ValueT, typename Config>
75 template<typename KeyT, typename ValueT, typename Config =ValueMapConfig<KeyT> >
77 friend class ValueMapCallbackVH<KeyT, ValueT, Config>;
78 typedef ValueMapCallbackVH<KeyT, ValueT, Config> ValueMapCVH;
79 typedef DenseMap<ValueMapCVH, ValueT, DenseMapInfo<ValueMapCVH> > MapT;
87 typedef ValueT mapped_type;
88 typedef std::pair<KeyT, ValueT> value_type;
126 ValueT lookup(const KeyT &Val) const { in lookup()
133 std::pair<iterator, bool> insert(const std::pair<KeyT, ValueT> &KV) { in insert()
158 ValueT &operator[](const KeyT &Key) {
[all …]
DDenseMap.h31 template<typename KeyT, typename ValueT,
36 template<typename KeyT, typename ValueT,
39 typedef std::pair<KeyT, ValueT> BucketT;
47 typedef ValueT mapped_type;
70 P->second.~ValueT(); in ~DenseMap()
80 typedef DenseMapIterator<KeyT, ValueT, KeyInfoT> iterator;
81 typedef DenseMapIterator<KeyT, ValueT,
120 P->second.~ValueT(); in clear()
171 ValueT lookup(const KeyT &Val) const { in lookup()
175 return ValueT(); in lookup()
[all …]
DHashing.h416 typedef typename std::iterator_traits<InputIteratorT>::value_type ValueT;
458 template <typename ValueT>
459 typename enable_if<is_hashable_data<ValueT>, hash_code>::type
460 hash_combine_range_impl(ValueT *first, ValueT *last) {
DStringMap.h22 template<typename ValueT>
24 template<typename ValueT>
/external/llvm/include/llvm/Support/
DYAMLParser.h264 template <class BaseT, class ValueT>
266 : public std::iterator<std::forward_iterator_tag, ValueT> {
271 ValueT *operator ->() const {
276 ValueT &operator *() const {
282 operator ValueT*() const {
/external/llvm/include/llvm/
DModule.h33 template<typename KeyT, typename ValueT, typename KeyInfoT> class DenseMap;
/external/clang/lib/Sema/
DSemaExprObjC.cpp786 QualType ValueT = DictionaryWithObjectsMethod->param_begin()[0]->getType(); in BuildObjCDictionaryLiteral() local
787 const PointerType *PtrValue = ValueT->getAs<PointerType>(); in BuildObjCDictionaryLiteral()
794 << 0 << ValueT in BuildObjCDictionaryLiteral()
798 ValueT = PtrValue->getPointeeType(); in BuildObjCDictionaryLiteral()
861 = CheckObjCCollectionLiteralElement(*this, Elements[I].Value, ValueT); in BuildObjCDictionaryLiteral()
/external/llvm/lib/Transforms/Scalar/
DObjCARC.cpp57 template<class KeyT, class ValueT>
64 typedef std::vector<std::pair<KeyT, ValueT> > VectorTy;
91 ValueT &operator[](const KeyT &Arg) { in operator []()
97 Vector.push_back(std::make_pair(Arg, ValueT())); in operator []()
104 insert(const std::pair<KeyT, ValueT> &InsertPair) { in insert()
/external/clang/include/clang/Sema/
DSema.h47 template <typename ValueT> struct DenseMapInfo;
48 template <typename ValueT, typename ValueInfoT> class DenseSet;