Home
last modified time | relevance | path

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

123

/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DHashing.h76 class hash_code {
82 hash_code() = default;
85 hash_code(size_t value) : value(value) {} in hash_code() function
90 friend bool operator==(const hash_code &lhs, const hash_code &rhs) {
93 friend bool operator!=(const hash_code &lhs, const hash_code &rhs) {
98 friend size_t hash_value(const hash_code &code) { return code.value; } in hash_value()
109 std::enable_if_t<is_integral_or_enum<T>::value, hash_code> hash_value(T value);
114 template <typename T> hash_code hash_value(const T *ptr);
118 hash_code hash_value(const std::pair<T, U> &arg);
122 hash_code hash_value(const std::tuple<Ts...> &arg);
[all …]
H A DSlowDynamicAPInt.h75 LLVM_ABI friend hash_code hash_value(const SlowDynamicAPInt &X); // NOLINT
114 LLVM_ABI hash_code hash_value(const SlowDynamicAPInt &X); // NOLINT
H A DAPFixedPoint.h137 inline hash_code hash_value(const FixedPointSemantics &Val) { in hash_value()
317 inline hash_code hash_value(const APFixedPoint &Val) {
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/
H A Dtypeindex33 size_t hash_code() const noexcept;
72 _LIBCPP_HIDE_FROM_ABI size_t hash_code() const _NOEXCEPT { return __t_->hash_code(); }
81 …HIDE_FROM_ABI size_t operator()(type_index __index) const _NOEXCEPT { return __index.hash_code(); }
/freebsd/contrib/llvm-project/libcxx/include/
H A Dtypeindex33 size_t hash_code() const noexcept;
89 _LIBCPP_HIDE_FROM_ABI size_t hash_code() const _NOEXCEPT { return __t_->hash_code(); }
98 …HIDE_FROM_ABI size_t operator()(type_index __index) const _NOEXCEPT { return __index.hash_code(); }
/freebsd/contrib/llvm-project/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()
468 hash_code getHashValue() const override { in getHashValue()
534 hash_code getHashValue() const override { in getHashValue()
580 hash_code getHashValue() const override { in getHashValue()
617 hash_code getHashValue() const override { in getHashValue()
653 hash_code getHashValue() const override { in getHashValue()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/PBQP/
H A DMath.h94 inline hash_code hash_value(const Vector &V) { in hash_value()
112 friend hash_code hash_value(const Matrix &);
226 inline hash_code hash_value(const Matrix &M) { in hash_value()
256 inline hash_code hash_value(const MDVector<Metadata> &V) { in hash_value()
273 inline hash_code hash_value(const MDMatrix<Metadata> &M) { in hash_value()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DRegisterBankInfo.h402 mutable DenseMap<hash_code, std::unique_ptr<const PartialMapping>>
407 mutable DenseMap<hash_code, std::unique_ptr<const ValueMapping>>
412 mutable DenseMap<hash_code, std::unique_ptr<ValueMapping[]>>
417 mutable DenseMap<hash_code, std::unique_ptr<const InstructionMapping>>
792 hash_code hash_value(const RegisterBankInfo::PartialMapping &PartMapping);
H A DMachineOperand.h37 class hash_code; variable
767 LLVM_ABI friend hash_code hash_value(const MachineOperand &MO);
1053 LLVM_ABI hash_code hash_value(const MachineOperand &MO);
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
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()
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCRegister.h34 friend hash_code hash_value(const MCRegister &);
118 inline hash_code hash_value(const MCRegister &Reg) {
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DSanitizers.h25 class hash_code; variable
78 llvm::hash_code hash_value() const;
131 llvm::hash_code hash_value(const clang::SanitizerMask &Arg);
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DHashBuilder.h390 hash_code DataCode = hash_value(Data);
393 hash_code Code;
405 hash_code>
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DSanitizers.cpp135 llvm::hash_code SanitizerMask::hash_value() const { in hash_value()
147 llvm::hash_code hash_value(const clang::SanitizerMask &Arg) { in hash_value()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DDynamicAPInt.cpp15 hash_code llvm::hash_value(const DynamicAPInt &X) { in hash_value()
/freebsd/contrib/llvm-project/libcxx/src/
H A Dtypeinfo.cpp26 size_t std::type_info::hash_code() const noexcept { in hash_code() function in std::type_info
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/GlobalISel/
H A DCXXPredicates.h38 DenseMap<hash_code, std::unique_ptr<CXXPredicateCode>>;
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DMergingTypeTableBuilder.h66 TypeIndex insertRecordAs(hash_code Hash, ArrayRef<uint8_t> &Record);
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/FileSystem/
H A DUniqueID.h67 static hash_code getHashValue(const llvm::sys::fs::UniqueID &Tag) {
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DGVNSink.cpp317 hash_code getHashValue() const override { in getHashValue()
322 template <typename Function> hash_code getHashValue(Function MapFn) { in getHashValue()
323 hash_code H = hash_combine(getOpcode(), getType(), MemoryUseOrder, Volatile, in getHashValue()
456 hash_code H = exp->getHashValue([=](Value *V) { return lookupOrAdd(V); }); in lookupOrAdd()
/freebsd/contrib/llvm-project/clang/lib/APINotes/
H A DAPINotesFormat.h319 llvm::hash_code hashValue() const { in hashValue()
346 llvm::hash_code hashValue() const { in hashValue()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DTypeHashing.cpp18 LocallyHashedType DenseMapInfo<LocallyHashedType>::Tombstone{hash_code(-1), {}};
/freebsd/contrib/llvm-project/llvm/include/llvm/MCA/
H A DInstrBuilder.h78 DenseMap<std::pair<hash_code, unsigned>, std::unique_ptr<const InstrDesc>>
/freebsd/contrib/llvm-project/llvm/lib/MCA/
H A DInstrBuilder.cpp508 hash_code hashMCOperand(const MCOperand &MCO) { in hashMCOperand()
509 hash_code TypeHash = hash_combine(MCO.isReg(), MCO.isImm(), MCO.isSFPImm(), in hashMCOperand()
517 hash_code hashMCInst(const MCInst &MCI) { in hashMCInst()
518 hash_code InstructionHash = hash_combine(MCI.getOpcode(), MCI.getFlags()); in hashMCInst()
/freebsd/contrib/llvm-project/clang/include/clang/CIR/Dialect/IR/
H A DCIRTypesDetails.h72 static llvm::hash_code hashKey(const KeyTy &key) { in hashKey()

123