Home
last modified time | relevance | path

Searched refs:hash_code (Results 1 – 25 of 76) sorted by relevance

1234

/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ADT/
H A DHashing.h72 class hash_code {
78 hash_code() = default;
81 hash_code(size_t value) : value(value) {} in hash_code() function
86 friend bool operator==(const hash_code &lhs, const hash_code &rhs) {
89 friend bool operator!=(const hash_code &lhs, const hash_code &rhs) {
94 friend size_t hash_value(const hash_code &code) { return code.value; } in hash_value()
105 std::enable_if_t<is_integral_or_enum<T>::value, hash_code> hash_value(T value);
110 template <typename T> hash_code hash_value(const T *ptr);
114 hash_code hash_value(const std::pair<T, U> &arg);
118 hash_code hash_value(const std::tuple<Ts...> &arg);
[all …]
H A DDenseMapInfo.h345 template <> struct DenseMapInfo<hash_code> {
346 static inline hash_code getEmptyKey() { return hash_code(-1); }
347 static inline hash_code getTombstoneKey() { return hash_code(-2); }
348 static unsigned getHashValue(hash_code val) { return val; }
349 static bool isEqual(hash_code LHS, hash_code RHS) { return LHS == RHS; }
H A DAPFloat.h407 friend hash_code hash_value(const IEEEFloat &Arg);
593 hash_code hash_value(const IEEEFloat &Arg);
692 friend hash_code hash_value(const DoubleAPFloat &Arg);
695 hash_code hash_value(const DoubleAPFloat &Arg);
1251 friend hash_code hash_value(const APFloat &Arg);
1263 hash_code hash_value(const APFloat &Arg);
/netbsd-src/external/gpl3/binutils/dist/gprofng/src/
H A DHashMap.h298 int hash_code = hashCode (key); in get() local
299 for (Hash_t *p = hashTable[hash_code]; p; p = p->next) in get()
310 int hash_code = hashCode (key); in values() local
311 for (Hash_t *p = hashTable[hash_code]; p; p = p->next) in values()
323 int hash_code = hashCode (key); in get() local
325 for (p = hashTable[hash_code]; p; p = p->next) in get()
347 p->next = hashTable[hash_code]; in get()
348 hashTable[hash_code] = p; in get()
357 int hash_code = hashCode (key); in remove() local
359 for (Hash_t *prev = NULL, *p = hashTable[hash_code]; p != NULL;) in remove()
[all …]
/netbsd-src/external/gpl3/binutils.old/dist/gprofng/src/
H A DHashMap.h298 int hash_code = hashCode (key); in get() local
299 for (Hash_t *p = hashTable[hash_code]; p; p = p->next) in get()
310 int hash_code = hashCode (key); in values() local
311 for (Hash_t *p = hashTable[hash_code]; p; p = p->next) in values()
323 int hash_code = hashCode (key); in get() local
325 for (p = hashTable[hash_code]; p; p = p->next) in get()
347 p->next = hashTable[hash_code]; in get()
348 hashTable[hash_code] = p; in get()
357 int hash_code = hashCode (key); in remove() local
359 for (Hash_t *prev = NULL, *p = hashTable[hash_code]; p != NULL;) in remove()
[all …]
/netbsd-src/external/gpl3/binutils.old/dist/gold/
H A Dstringpool.h339 size_t hash_code; member
344 : string(NULL), length(0), hash_code(0) in Hashkey()
350 : string(s), length(string_length(s)), hash_code(string_hash(s, length)) in Hashkey()
354 : string(s), length(len), hash_code(string_hash(s, len)) in Hashkey()
364 { return hk.hash_code; } in operator()
/netbsd-src/external/gpl3/binutils/dist/gold/
H A Dstringpool.h339 size_t hash_code; member
344 : string(NULL), length(0), hash_code(0) in Hashkey()
350 : string(s), length(string_length(s)), hash_code(string_hash(s, length)) in Hashkey()
354 : string(s), length(len), hash_code(string_hash(s, len)) in Hashkey()
364 { return hk.hash_code; } in operator()
/netbsd-src/external/apache2/llvm/dist/libcxx/include/
H A Dtypeindex32 size_t hash_code() const noexcept;
85 size_t hash_code() const _NOEXCEPT {return __t_->hash_code();}
98 {return __index.hash_code();}
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Serialization/
H A DModuleFileExtension.h20 class hash_code; variable
89 virtual llvm::hash_code hashExtension(llvm::hash_code c) const;
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Scalar/
H A DGVNExpression.h64 mutable hash_code HashVal = 0;
91 hash_code getComputedHash() const { in getComputedHash()
113 virtual hash_code getHashValue() const { return getOpcode(); } in getHashValue()
222 hash_code getHashValue() const override { in getHashValue()
285 hash_code getHashValue() const override { in getHashValue()
462 hash_code getHashValue() const override { in getHashValue()
528 hash_code getHashValue() const override { in getHashValue()
574 hash_code getHashValue() const override { in getHashValue()
611 hash_code getHashValue() const override { in getHashValue()
647 hash_code getHashValue() const override { in getHashValue()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/PBQP/
H A DMath.h26 friend hash_code hash_value(const Vector &);
100 inline hash_code hash_value(const Vector &V) { in hash_value()
123 friend hash_code hash_value(const Matrix &);
237 inline hash_code hash_value(const Matrix &M) { in hash_value()
267 inline hash_code hash_value(const MDVector<Metadata> &V) { in hash_value()
284 inline hash_code hash_value(const MDMatrix<Metadata> &M) { in hash_value()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Serialization/
H A DModuleFileExtension.cpp16 llvm::hash_code ModuleFileExtension::hashExtension(llvm::hash_code Code) const { in hashExtension()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/
H A DRegisterBankInfo.cpp267 static hash_code hashPartialMapping(unsigned StartIdx, unsigned Length, in hashPartialMapping()
273 hash_code
284 hash_code Hash = hashPartialMapping(StartIdx, Length, &RegBank); in getPartialMapping()
302 static hash_code
318 hash_code Hash = hashValueMapping(BreakDown, NumBreakDowns); in getValueMapping()
338 hash_code Hash = hash_combine_range(Begin, End); in getOperandsMapping()
373 static hash_code
391 hash_code Hash = in getInstructionMappingImpl()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Basic/
H A DSanitizers.h25 class hash_code; variable
79 llvm::hash_code hash_value() const;
126 llvm::hash_code hash_value(const clang::SanitizerMask &Arg);
/netbsd-src/external/apache2/llvm/dist/clang/lib/Frontend/
H A DTestModuleFileExtension.h58 llvm::hash_code hashExtension(llvm::hash_code Code) const override;
H A DTestModuleFileExtension.cpp96 llvm::hash_code TestModuleFileExtension::hashExtension( in hashExtension()
97 llvm::hash_code Code) const { in hashExtension()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/MC/
H A DMCRegister.h23 friend hash_code hash_value(const MCRegister &);
109 inline hash_code hash_value(const MCRegister &Reg) {
/netbsd-src/external/apache2/llvm/dist/clang/lib/Basic/
H A DSanitizers.cpp55 llvm::hash_code SanitizerMask::hash_value() const { in hash_value()
60 llvm::hash_code hash_value(const clang::SanitizerMask &Arg) { in hash_value()
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/std/
H A Dtypeindex99 hash_code() const noexcept
100 { return _M_target->hash_code(); }
121 { return __ti.hash_code(); }
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/std/
H A Dtypeindex99 hash_code() const noexcept
100 { return _M_target->hash_code(); }
121 { return __ti.hash_code(); }
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Lex/
H A DHeaderSearchOptions.h255 inline llvm::hash_code hash_value(const HeaderSearchOptions::Entry &E) { in hash_value()
259 inline llvm::hash_code
/netbsd-src/external/apache2/llvm/dist/libcxx/src/
H A Dtypeinfo.cpp25 size_t std::type_info::hash_code() const noexcept { in hash_code() function in std::type_info
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/
H A DMergingTypeTableBuilder.h65 TypeIndex insertRecordAs(hash_code Hash, ArrayRef<uint8_t> &Record);
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DGVNSink.cpp372 hash_code getHashValue() const override { in getHashValue()
377 template <typename Function> hash_code getHashValue(Function MapFn) { in getHashValue()
378 hash_code H = hash_combine(getOpcode(), getType(), MemoryUseOrder, Volatile, in getHashValue()
500 hash_code H = exp->getHashValue([=](Value *V) { return lookupOrAdd(V); }); in lookupOrAdd()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/CodeView/
H A DTypeHashing.cpp18 LocallyHashedType DenseMapInfo<LocallyHashedType>::Tombstone{hash_code(-1), {}};

1234