Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ADT/
H A DDenseSet.h63 using key_type = ValueT;
64 using value_type = ValueT;
101 bool erase(const ValueT &V) { in erase()
118 using value_type = ValueT;
126 ValueT &operator*() { return I->getFirst(); }
148 using value_type = ValueT;
267 template <typename ValueT, typename ValueInfoT = DenseMapInfo<ValueT>>
269 ValueT, DenseMap<ValueT, detail::DenseSetEmpty, ValueInfoT,
273 detail::DenseSetImpl<ValueT,
288 ValueT, SmallDenseMap<ValueT, detail::DenseSetEmpty, InlineBuckets,
[all …]
H A DSparseSet.h55 template<typename ValueT>
120 template<typename ValueT,
129 using DenseT = SmallVector<ValueT, 8>;
138 using value_type = ValueT;
139 using reference = ValueT &;
140 using const_reference = const ValueT &;
141 using pointer = ValueT *;
142 using const_pointer = const ValueT *;
265 ValueT &operator[](const KeyT &Key) {
266 return *insert(ValueT(Key)).first;
[all …]
H A DDenseMap.h40 template <typename KeyT, typename ValueT>
42 using std::pair<KeyT, ValueT>::pair;
46 ValueT &getSecond() { return std::pair<KeyT, ValueT>::second; } in getSecond()
47 const ValueT &getSecond() const { return std::pair<KeyT, ValueT>::second; } in getSecond()
67 using mapped_type = ValueT;
132 P->getSecond().~ValueT(); in clear()
201 return ValueT(); in lookup()
341 ValueT &operator[](KeyT &&Key) {
368 P->getSecond().~ValueT(); in destroyAll()
414 B->getSecond().~ValueT(); in moveFromOldBuckets()
[all …]
H A DMapVector.h34 template<typename KeyT, typename ValueT,
36 typename VectorType = std::vector<std::pair<KeyT, ValueT>>>
98 ValueT &operator[](const KeyT &Key) {
103 Vector.push_back(std::make_pair(Key, ValueT()));
110 ValueT lookup(const KeyT &Key) const { in lookup()
111 static_assert(std::is_copy_constructible<ValueT>::value, in lookup()
114 return Pos == Map.end()? ValueT() : Vector[Pos->second].second; in lookup()
129 std::pair<iterator, bool> insert(std::pair<KeyT, ValueT> &&KV) { in insert()
231 template <typename KeyT, typename ValueT, unsigned N>
233 : MapVector<KeyT, ValueT, SmallDenseMap<KeyT, unsigned, N>,
[all …]
H A DTypeSwitch.h60 template <typename ValueT, typename CastT>
62 decltype(std::declval<ValueT &>().template dyn_cast<CastT>());
66 template <typename CastT, typename ValueT>
68 ValueT value,
70 is_detected<has_dyn_cast_t, ValueT, CastT>::value> * = nullptr) {
76 template <typename CastT, typename ValueT>
78 ValueT value,
80 !is_detected<has_dyn_cast_t, ValueT, CastT>::value> * = nullptr) {
H A DSparseMultiSet.h82 template<typename ValueT,
99 ValueT Data;
126 SparseSetValFunctor<KeyT, ValueT, KeyFunctorT> ValIndexOf;
134 unsigned sparseIndex(const ValueT &Val) const { in sparseIndex()
185 using value_type = ValueT;
186 using reference = ValueT &;
187 using const_reference = const ValueT &;
188 using pointer = ValueT *;
189 using const_pointer = const ValueT *;
224 using value_type = ValueT;
[all …]
H A DAllocatorList.h87 template <class ValueT, class IteratorBase>
89 : public iterator_adaptor_base<IteratorImpl<ValueT, IteratorBase>,
91 std::bidirectional_iterator_tag, ValueT> {
97 iterator_adaptor_base<IteratorImpl<ValueT, IteratorBase>, IteratorBase,
98 std::bidirectional_iterator_tag, ValueT>;
101 using value_type = ValueT;
102 using pointer = ValueT *;
103 using reference = ValueT &;
H A DHashing.h448 template <typename ValueT>
449 std::enable_if_t<is_hashable_data<ValueT>::value, hash_code>
450 hash_combine_range_impl(ValueT *first, ValueT *last) {
H A DSTLExtras.h874 template <typename ValueT, typename... IterTs>
876 : public iterator_facade_base<concat_iterator<ValueT, IterTs...>,
877 std::forward_iterator_tag, ValueT> {
922 template <size_t Index> ValueT *getHelper() const {
937 ValueT *(concat_iterator::*GetHelperFns[])() const = {
942 if (ValueT *P = (this->*GetHelperFn)())
964 ValueT &operator*() const {
980 template <typename ValueT, typename... RangeTs> class concat_range {
983 concat_iterator<ValueT,
1010 template <typename ValueT, typename... RangeTs>
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DValueMap.h99 using mapped_type = ValueT;
100 using value_type = std::pair<KeyT, ValueT>;
165 ValueT lookup(const KeyT &Val) const { in lookup()
167 return I != Map.end() ? I->second : ValueT(); in lookup()
207 ValueT &operator[](const KeyT &Key) {
242 friend class ValueMap<KeyT, ValueT, Config>;
289 ValueT Target(std::move(I->second));
346 ValueT& second;
350 operator std::pair<KeyT, ValueT>() const {
402 const ValueT& second;
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/
H A DHashTable.h34 template <typename ValueT> class HashTable;
36 template <typename ValueT>
38 : public iterator_facade_base<HashTableIterator<ValueT>,
41 friend HashTable<ValueT>;
72 const std::pair<uint32_t, ValueT> &operator*() const {
79 using iterator_facade_base<HashTableIterator<ValueT>,
97 const HashTable<ValueT> *Map;
102 template <typename ValueT>
112 using const_iterator = HashTableIterator<ValueT>;
148 const ValueT *Value; in load()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
H A DLLVMSPSSerializers.h23 template <typename SPSValueT, typename ValueT>
25 StringMap<ValueT>> {
27 static size_t size(const StringMap<ValueT> &M) { in size()
34 static bool serialize(SPSOutputBuffer &OB, const StringMap<ValueT> &M) { in serialize()
45 static bool deserialize(SPSInputBuffer &IB, StringMap<ValueT> &M) { in deserialize()
54 ValueT V; in deserialize()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/
H A DBlotMapVector.h22 template <class KeyT, class ValueT> class BlotMapVector {
28 using VectorTy = std::vector<std::pair<KeyT, ValueT>>;
55 ValueT &operator[](const KeyT &Arg) {
61 Vector.push_back(std::make_pair(Arg, ValueT()));
67 std::pair<iterator, bool> insert(const std::pair<KeyT, ValueT> &InsertPair) { in insert()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineInstrBundle.h93 template <typename ValueT>
95 : public iterator_facade_base<MIBundleOperandIteratorBase<ValueT>,
96 std::forward_iterator_tag, ValueT> {
145 ValueT &operator*() const { return *OpI; }
146 ValueT *operator->() const { return &*OpI; }
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/PBQP/
H A DCostAllocator.h28 template <typename ValueT> class ValuePool {
30 using PoolRef = std::shared_ptr<const ValueT>;
41 const ValueT &getValue() const { return Value; } in getValue()
45 ValueT Value;
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Support/
H A DYAMLParser.h328 template <class BaseT, class ValueT> class basic_collection_iterator {
331 using value_type = ValueT;
339 ValueT *operator->() const {
344 ValueT &operator*() const {
350 operator ValueT *() const {
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/
H A DOrcRPCTPCServer.h491 using ValueT = decltype(std::declval<WriteT>().Value); in handleWriteUInt() local
493 *jitTargetAddressToPointer<ValueT *>(W.Address) = W.Value; in handleWriteUInt()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchersInternal.h1757 template <typename T, typename ValueT>
1766 explicit ValueEqualsMatcher(const ValueT &ExpectedValue)
1774 ValueT ExpectedValue;
H A DASTMatchers.h5391 template <typename ValueT>
5393 void(internal::AllNodeBaseTypes), ValueT>
5394 equals(const ValueT &Value) { in equals()
5396 void(internal::AllNodeBaseTypes), ValueT>( in equals()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaExprObjC.cpp1014 QualType ValueT = Method->parameters()[0]->getType(); in BuildObjCDictionaryLiteral() local
1015 const PointerType *PtrValue = ValueT->getAs<PointerType>(); in BuildObjCDictionaryLiteral()
1022 << 0 << ValueT in BuildObjCDictionaryLiteral()
1082 QualType ValueT = ValuesT->castAs<PointerType>()->getPointeeType(); in BuildObjCDictionaryLiteral() local
1098 = CheckObjCCollectionLiteralElement(*this, Element.Value, ValueT); in BuildObjCDictionaryLiteral()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h77 template <typename ValueT> struct DenseMapInfo;
78 template <typename ValueT, typename ValueInfoT> class DenseSet;