Home
last modified time | relevance | path

Searched refs:HashType (Results 1 – 18 of 18) sorted by relevance

/external/llvm-project/lldb/source/Plugins/Language/ObjC/
DCFBasicHash.h19 enum class HashType { set = 0, dict }; enum
30 HashType GetType() const { return m_type; } in GetType()
71 HashType m_type;
DCFBasicHash.cpp59 m_type = static_cast<HashType>(m_ht->bits.keys_offset); in UpdateFor()
93 return (m_type == HashType::dict) + 1; in GetPointerCount()
/external/libchrome/base/containers/
Dmru_cache.h241 template <class KeyType, class ValueType, class HashType>
243 typedef std::unordered_map<KeyType, ValueType, HashType> Type;
249 template <class KeyType, class PayloadType, class HashType = std::hash<KeyType>>
251 : public MRUCacheBase<KeyType, PayloadType, HashType, MRUCacheHashMap> {
254 MRUCacheBase<KeyType, PayloadType, HashType, MRUCacheHashMap>;
/external/angle/src/common/third_party/base/anglebase/containers/
Dmru_cache.h247 template <class KeyType, class ValueType, class HashType>
250 typedef std::unordered_map<KeyType, ValueType, HashType> Type;
256 template <class KeyType, class PayloadType, class HashType = std::hash<KeyType>>
257 class HashingMRUCache : public MRUCacheBase<KeyType, PayloadType, HashType, MRUCacheHashMap>
260 using ParentType = MRUCacheBase<KeyType, PayloadType, HashType, MRUCacheHashMap>;
/external/llvm/include/llvm/ProfileData/
DInstrProfReader.h259 IndexedInstrProf::HashT HashType; variable
267 InstrProfLookupTrait(IndexedInstrProf::HashT HashType, unsigned FormatVersion) in InstrProfLookupTrait() argument
268 : HashType(HashType), FormatVersion(FormatVersion), in InstrProfLookupTrait()
337 IndexedInstrProf::HashT HashType, uint64_t Version);
DInstrProf.h792 const HashT HashType = HashT::MD5; variable
794 inline uint64_t ComputeHash(StringRef K) { return ComputeHash(HashType, K); } in ComputeHash()
802 uint64_t HashType; member
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ProfileData/
DInstrProfReader.h300 IndexedInstrProf::HashT HashType; variable
308 InstrProfLookupTrait(IndexedInstrProf::HashT HashType, unsigned FormatVersion) in InstrProfLookupTrait() argument
309 : HashType(HashType), FormatVersion(FormatVersion) {} in InstrProfLookupTrait()
385 IndexedInstrProf::HashT HashType, uint64_t Version);
DInstrProf.h982 const HashT HashType = HashT::MD5; variable
984 inline uint64_t ComputeHash(StringRef K) { return ComputeHash(HashType, K); } in ComputeHash()
992 uint64_t HashType; member
/external/llvm-project/llvm/include/llvm/ProfileData/
DInstrProfReader.h309 IndexedInstrProf::HashT HashType; variable
317 InstrProfLookupTrait(IndexedInstrProf::HashT HashType, unsigned FormatVersion) in InstrProfLookupTrait() argument
318 : HashType(HashType), FormatVersion(FormatVersion) {} in InstrProfLookupTrait()
395 IndexedInstrProf::HashT HashType, uint64_t Version);
DInstrProf.h991 const HashT HashType = HashT::MD5; variable
993 inline uint64_t ComputeHash(StringRef K) { return ComputeHash(HashType, K); } in ComputeHash()
1001 uint64_t HashType; member
/external/llvm/lib/ProfileData/
DInstrProfReader.cpp460 return IndexedInstrProf::ComputeHash(HashType, K); in ComputeHash()
557 const unsigned char *const Base, IndexedInstrProf::HashT HashType, in InstrProfReaderIndex() argument
562 typename HashTableImpl::InfoType(HashType, Version))); in InstrProfReaderIndex()
651 IndexedInstrProf::HashT HashType = static_cast<IndexedInstrProf::HashT>( in readHeader() local
652 endian::byte_swap<uint64_t, little>(Header->HashType)); in readHeader()
653 if (HashType > IndexedInstrProf::HashT::Last) in readHeader()
661 Start + HashOffset, Cur, Start, HashType, FormatVersion); in readHeader()
DInstrProfWriter.cpp231 Header.HashType = static_cast<uint64_t>(IndexedInstrProf::HashType); in writeImpl()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/
DInstrProfReader.cpp511 return IndexedInstrProf::ComputeHash(HashType, K); in ComputeHash()
609 const unsigned char *const Base, IndexedInstrProf::HashT HashType, in InstrProfReaderIndex() argument
614 typename HashTableImpl::InfoType(HashType, Version))); in InstrProfReaderIndex()
831 IndexedInstrProf::HashT HashType = static_cast<IndexedInstrProf::HashT>( in readHeader() local
832 endian::byte_swap<uint64_t, little>(Header->HashType)); in readHeader()
833 if (HashType > IndexedInstrProf::HashT::Last) in readHeader()
841 Start + HashOffset, Cur, Start, HashType, FormatVersion); in readHeader()
DInstrProfWriter.cpp312 Header.HashType = static_cast<uint64_t>(IndexedInstrProf::HashType); in writeImpl()
/external/llvm-project/llvm/lib/ProfileData/
DInstrProfReader.cpp518 return IndexedInstrProf::ComputeHash(HashType, K); in ComputeHash()
616 const unsigned char *const Base, IndexedInstrProf::HashT HashType, in InstrProfReaderIndex() argument
621 typename HashTableImpl::InfoType(HashType, Version))); in InstrProfReaderIndex()
838 IndexedInstrProf::HashT HashType = static_cast<IndexedInstrProf::HashT>( in readHeader() local
839 endian::byte_swap<uint64_t, little>(Header->HashType)); in readHeader()
840 if (HashType > IndexedInstrProf::HashT::Last) in readHeader()
848 Start + HashOffset, Cur, Start, HashType, FormatVersion); in readHeader()
DInstrProfWriter.cpp316 Header.HashType = static_cast<uint64_t>(IndexedInstrProf::HashType); in writeImpl()
/external/llvm-project/clang/lib/CodeGen/
DCodeGenPGO.cpp90 enum HashType : unsigned char { enum in __anond95592500111::PGOHash
135 void combine(HashType Type);
199 PGOHash::HashType updateCounterMappings(Stmt *S) { in updateCounterMappings()
256 PGOHash::HashType getHashType(PGOHashVersion HashVersion, const Stmt *S) { in DEFINE_NESTABLE_TRAVERSAL()
726 void PGOHash::combine(HashType Type) { in combine()
/external/clang/lib/CodeGen/
DCodeGenPGO.cpp78 enum HashType : unsigned char { enum in __anon18cddda20111::PGOHash
105 void combine(HashType Type);
157 PGOHash::HashType getHashType(const Stmt *S) { in getHashType()
577 void PGOHash::combine(HashType Type) { in combine()