Home
last modified time | relevance | path

Searched refs:getHashValue (Results 1 – 25 of 189) sorted by relevance

12345678

/llvm-project-15.0.7/flang/lib/Lower/
H A DIterationSpace.cpp58 return getHashValue(x.lower()) - getHashValue(x.upper()) * 5u - in getHashValue()
122 return (getHashValue(x.left()) + getHashValue(x.right())) * 23u + in getHashValue()
128 return (getHashValue(x.left()) - getHashValue(x.right())) * 19u + in getHashValue()
134 return (getHashValue(x.left()) + getHashValue(x.right())) * 29u + in getHashValue()
140 return (getHashValue(x.left()) - getHashValue(x.right())) * 31u + in getHashValue()
146 return (getHashValue(x.left()) - getHashValue(x.right())) * 37u + in getHashValue()
152 return (getHashValue(x.left()) + getHashValue(x.right())) * 41u + in getHashValue()
160 return (getHashValue(x.left()) - getHashValue(x.right())) * 43u + in getHashValue()
166 return (getHashValue(x.left()) - getHashValue(x.right())) * 47u + in getHashValue()
171 return (getHashValue(x.left()) - getHashValue(x.right())) * 53u + in getHashValue()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/ADT/
H A DDenseMapInfo.h81 static unsigned getHashValue(const T *PtrVal) {
93 static unsigned getHashValue(const char& Val) { return Val * 37U; }
126 static unsigned getHashValue(const unsigned& Val) { return Val * 37U; }
138 static unsigned getHashValue(const unsigned long& Val) {
152 static unsigned getHashValue(const unsigned long long& Val) {
166 static unsigned getHashValue(const short &Val) { return Val * 37U; }
189 static unsigned getHashValue(const long& Val) {
203 static unsigned getHashValue(const long long& Val) {
230 static unsigned getHashValue(const Pair& PairVal) {
258 DenseMapInfo<EltType>::getHashValue(std::get<I>(values)),
[all …]
H A DCachedHashString.h37 : CachedHashStringRef(S, DenseMapInfo<StringRef>::getHashValue(S)) {} in CachedHashStringRef()
57 static unsigned getHashValue(const CachedHashStringRef &S) {
102 : CachedHashString(S, DenseMapInfo<StringRef>::getHashValue(S)) {}
162 static unsigned getHashValue(const CachedHashString &S) {
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_dense_map_info.h95 static constexpr unsigned getHashValue(const T *PtrVal) {
121 static constexpr unsigned getHashValue(const unsigned char &Val) {
136 static constexpr unsigned getHashValue(const unsigned short &Val) {
151 static constexpr unsigned getHashValue(const unsigned &Val) {
166 static constexpr unsigned getHashValue(const unsigned long &Val) {
182 static constexpr unsigned getHashValue(const unsigned long long &Val) {
208 static constexpr unsigned getHashValue(const int &Val) {
226 static constexpr unsigned getHashValue(const long &Val) {
243 static constexpr unsigned getHashValue(const long long &Val) {
269 static constexpr unsigned getHashValue(const Pair &PairVal) {
[all …]
/llvm-project-15.0.7/llvm/include/llvm/BinaryFormat/
H A DWasmTraits.h33 static unsigned getHashValue(const wasm::WasmSignature &Sig) {
55 static unsigned getHashValue(const wasm::WasmGlobalType &GlobalType) {
72 static unsigned getHashValue(const wasm::WasmLimits &Limits) {
96 static unsigned getHashValue(const wasm::WasmTableType &TableType) {
99 DenseMapInfo<wasm::WasmLimits, void>::getHashValue(TableType.Limits));
/llvm-project-15.0.7/llvm/lib/IR/
H A DLLVMContextImpl.h126 return getHashValue(KeyTy(ST)); in getHashValue()
179 return getHashValue(KeyTy(FT)); in getHashValue()
287 unsigned getHashValue() const {
350 unsigned getHashValue() const {
380 unsigned getHashValue() const {
436 unsigned getHashValue() const {
518 unsigned getHashValue() const {
638 unsigned getHashValue() const {
687 unsigned getHashValue() const {
765 unsigned getHashValue() const {
[all …]
/llvm-project-15.0.7/llvm/include/llvm/Transforms/Scalar/
H A DGVNExpression.h96 HashVal = getHashValue(); in getComputedHash()
113 virtual hash_code getHashValue() const { return getOpcode(); } in getHashValue() function
222 hash_code getHashValue() const override { in getHashValue() function
285 hash_code getHashValue() const override { in getHashValue() function
462 hash_code getHashValue() const override { in getHashValue() function
528 hash_code getHashValue() const override { in getHashValue() function
574 hash_code getHashValue() const override { in getHashValue() function
575 return hash_combine(this->Expression::getHashValue(), in getHashValue()
611 hash_code getHashValue() const override { in getHashValue() function
612 return hash_combine(this->Expression::getHashValue(), in getHashValue()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/PBQP/
H A DCostAllocator.h57 static unsigned getHashValue(const ValueKeyT &C) { in getHashValue() function
61 static unsigned getHashValue(PoolEntry *P) { in getHashValue() function
62 return getHashValue(P->getValue()); in getHashValue()
65 static unsigned getHashValue(const PoolEntry *P) { in getHashValue() function
66 return getHashValue(P->getValue()); in getHashValue()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCodeGenTBAA.h239 static unsigned getHashValue(const clang::CodeGen::TBAAAccessInfo &Val) {
241 return DenseMapInfo<unsigned>::getHashValue(KindValue) ^
242 DenseMapInfo<MDNode *>::getHashValue(Val.BaseType) ^
243 DenseMapInfo<MDNode *>::getHashValue(Val.AccessType) ^
244 DenseMapInfo<uint64_t>::getHashValue(Val.Offset) ^
245 DenseMapInfo<uint64_t>::getHashValue(Val.Size);
/llvm-project-15.0.7/mlir/lib/Dialect/Quant/IR/
H A DTypeDetail.h71 unsigned getHashValue() const { in getHashValue() function
92 static unsigned hashKey(const KeyTy &key) { return key.getHashValue(); } in hashKey()
131 unsigned getHashValue() const { in getHashValue() function
154 static unsigned hashKey(const KeyTy &key) { return key.getHashValue(); } in hashKey()
206 unsigned getHashValue() const { in getHashValue() function
240 static unsigned hashKey(const KeyTy &key) { return key.getHashValue(); } in hashKey()
278 unsigned getHashValue() const { in getHashValue() function
300 static unsigned hashKey(const KeyTy &key) { return key.getHashValue(); } in hashKey()
/llvm-project-15.0.7/llvm/include/llvm/DebugInfo/GSYM/
H A DFileEntry.h56 static unsigned getHashValue(const gsym::FileEntry &Val) {
57 return llvm::hash_combine(DenseMapInfo<uint32_t>::getHashValue(Val.Dir),
58 DenseMapInfo<uint32_t>::getHashValue(Val.Base));
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DMemoryLocation.h325 static unsigned getHashValue(const LocationSize &Val) {
326 return DenseMapInfo<uint64_t>::getHashValue(Val.toRaw());
342 static unsigned getHashValue(const MemoryLocation &Val) {
343 return DenseMapInfo<const Value *>::getHashValue(Val.Ptr) ^
344 DenseMapInfo<LocationSize>::getHashValue(Val.Size) ^
345 DenseMapInfo<AAMDNodes>::getHashValue(Val.AATags);
/llvm-project-15.0.7/llvm/lib/Target/CSKY/MCTargetDesc/
H A DCSKYTargetStreamer.h84 static unsigned getHashValue(const CSKYTargetStreamer::SymbolIndex &V) {
85 return hash_combine(DenseMapInfo<const MCSymbol *>::getHashValue(V.sym),
86 DenseMapInfo<int>::getHashValue(V.kind));
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DSourceLocation.h55 unsigned getHashValue() const { return static_cast<unsigned>(ID); } in getHashValue() function
180 unsigned getHashValue() const;
477 static unsigned getHashValue(clang::FileID S) {
478 return S.getHashValue();
500 static unsigned getHashValue(clang::SourceLocation Loc) {
501 return Loc.getHashValue();
/llvm-project-15.0.7/llvm/include/llvm/ExecutionEngine/JITLink/
H A DMemoryFlags.h193 static unsigned getHashValue(const jitlink::MemProt &Val) {
195 return DenseMapInfo<UT>::getHashValue(static_cast<UT>(Val));
210 static unsigned getHashValue(const jitlink::AllocGroup &Val) {
211 return DenseMapInfo<jitlink::AllocGroup::underlying_type>::getHashValue(
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DWeak.h45 static unsigned getHashValue(const WeakInfo &W) { in getHashValue() function
46 return DenseMapInfo::getHashValue(W.getAlias()); in getHashValue()
/llvm-project-15.0.7/mlir/lib/TableGen/
H A DConstraint.cpp126 unsigned DenseMapInfo<Constraint>::getHashValue(Constraint constraint) { in getHashValue() function in DenseMapInfo
128 return RecordDenseMapInfo::getHashValue(RecordDenseMapInfo::getEmptyKey()); in getHashValue()
130 return RecordDenseMapInfo::getHashValue( in getHashValue()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DValueHandle.h188 static unsigned getHashValue(const WeakVH &Val) {
189 return DenseMapInfo<Value *>::getHashValue(Val);
539 static unsigned getHashValue(const PoisoningVH<T> &Val) {
540 return DenseMapInfo<Value *>::getHashValue(Val.getRawValPtr());
551 static unsigned getHashValue(const T *Val) {
552 return DenseMapInfo<Value *>::getHashValue(Val);
H A DDominators.h127 static unsigned getHashValue(const BasicBlockEdge *V);
137 static unsigned getHashValue(const BasicBlockEdge &Edge) {
138 return hash_combine(BBInfo::getHashValue(Edge.getStart()),
139 BBInfo::getHashValue(Edge.getEnd()));
/llvm-project-15.0.7/mlir/include/mlir/IR/
H A DDialectInterface.h80 static unsigned getHashValue(Dialect *key) { return llvm::hash_value(key); } in getHashValue() function
81 static unsigned getHashValue(const DialectInterface *key) { in getHashValue() function
82 return getHashValue(key->getDialect()); in getHashValue()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DTypeOrdering.h46 static unsigned getHashValue(clang::QualType Val) {
66 static unsigned getHashValue(clang::CanQualType Val) {
H A DBaseSubobject.h70 static unsigned getHashValue(const clang::BaseSubobject &Base) {
73 return DenseMapInfo<PairTy>::getHashValue(PairTy(Base.getBase(),
/llvm-project-15.0.7/llvm/tools/dsymutil/
H A DBinaryHolder.h159 getHashValue(const dsymutil::BinaryHolder::ArchiveEntry::KeyTy &K) {
160 return hash_combine(DenseMapInfo<StringRef>::getHashValue(K.Filename),
161 DenseMapInfo<unsigned>::getHashValue(
/llvm-project-15.0.7/llvm/include/llvm/Linker/
H A DIRMover.h38 static unsigned getHashValue(const KeyTy &Key);
39 static unsigned getHashValue(const StructType *ST);
/llvm-project-15.0.7/llvm/include/llvm/MC/
H A DMCRegister.h103 static unsigned getHashValue(const MCRegister &Val) {
104 return DenseMapInfo<unsigned>::getHashValue(Val.id());

12345678