Home
last modified time | relevance | path

Searched refs:hash_combine (Results 1 – 25 of 84) sorted by relevance

1234

/external/llvm/unittests/ADT/
DHashingTest.cpp37 return hash_combine(obj.x, obj.y); in hash_value()
81 EXPECT_EQ(hash_combine(42, 43), hash_value(std::make_pair(42, 43))); in TEST()
82 EXPECT_NE(hash_combine(43, 42), hash_value(std::make_pair(42, 43))); in TEST()
83 EXPECT_NE(hash_combine(42, 43), hash_value(std::make_pair(42ull, 43ull))); in TEST()
84 EXPECT_NE(hash_combine(42, 43), hash_value(std::make_pair(42, 43ull))); in TEST()
85 EXPECT_NE(hash_combine(42, 43), hash_value(std::make_pair(42ull, 43))); in TEST()
89 EXPECT_EQ(hash_combine(42, 43, 44), in TEST()
96 EXPECT_EQ(hash_combine('0', hash_combine(1ull, '2')), in TEST()
101 EXPECT_EQ(hash_combine(obj1, hash_combine(obj2, obj3)), in TEST()
338 EXPECT_EQ(hash_combine_range(arr1, arr1 + 1), hash_combine(i1)); in TEST()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/
DHashingTest.cpp37 return hash_combine(obj.x, obj.y); in hash_value()
81 EXPECT_EQ(hash_combine(42, 43), hash_value(std::make_pair(42, 43))); in TEST()
82 EXPECT_NE(hash_combine(43, 42), hash_value(std::make_pair(42, 43))); in TEST()
83 EXPECT_NE(hash_combine(42, 43), hash_value(std::make_pair(42ull, 43ull))); in TEST()
84 EXPECT_NE(hash_combine(42, 43), hash_value(std::make_pair(42, 43ull))); in TEST()
85 EXPECT_NE(hash_combine(42, 43), hash_value(std::make_pair(42ull, 43))); in TEST()
89 EXPECT_EQ(hash_combine(42, 43, 44), in TEST()
96 EXPECT_EQ(hash_combine('0', hash_combine(1ull, '2')), in TEST()
101 EXPECT_EQ(hash_combine(obj1, hash_combine(obj2, obj3)), in TEST()
338 EXPECT_EQ(hash_combine_range(arr1, arr1 + 1), hash_combine(i1)); in TEST()
[all …]
/external/v8/src/base/
Dfunctional.h69 V8_INLINE size_t hash_combine() { return 0u; } in hash_combine() function
70 V8_INLINE size_t hash_combine(size_t seed) { return seed; } in hash_combine() function
71 V8_BASE_EXPORT size_t hash_combine(size_t seed, size_t value);
73 V8_INLINE size_t hash_combine(T const& v, Ts const&... vs) { in hash_combine() function
74 return hash_combine(hash_combine(vs...), hash<T>()(v)); in hash_combine()
82 seed = hash_combine(seed, *first); in hash_range()
137 return hash_combine(v.first, v.second); in hash_value()
Dfunctional.cc70 size_t hash_combine(size_t seed, size_t value) { in hash_combine() function
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DLLVMContextImpl.h129 return hash_combine(hash_combine_range(Key.ETypes.begin(), in getHashValue()
184 return hash_combine(Key.ReturnType, in getHashValue()
297 return hash_combine(Line, Column, Scope, InlinedAt);
316 unsigned getHashValue() const { return hash_combine(getHash(), Tag, Header); }
348 return hash_combine(cast<ConstantInt>(MD->getValue())->getSExtValue(),
350 return hash_combine(CountNode, LowerBound);
370 unsigned getHashValue() const { return hash_combine(Value, Name); }
396 return hash_combine(Tag, Name, SizeInBits, AlignInBits, Encoding);
450 return hash_combine(Name, Scope);
456 return hash_combine(Tag, Name, File, Line, Scope, BaseType, Flags);
[all …]
/external/llvm/lib/IR/
DLLVMContextImpl.h106 return hash_combine(hash_combine_range(Key.ETypes.begin(), in getHashValue()
153 return hash_combine(Key.ReturnType, in getHashValue()
263 return hash_combine(Line, Column, Scope, InlinedAt);
281 unsigned getHashValue() const { return hash_combine(getHash(), Tag, Header); }
300 unsigned getHashValue() const { return hash_combine(Count, LowerBound); }
314 unsigned getHashValue() const { return hash_combine(Value, Name); }
339 return hash_combine(Tag, Name, SizeInBits, AlignInBits, Encoding);
386 return hash_combine(Name, Scope);
392 return hash_combine(Tag, Name, File, Line, Scope, BaseType, Flags);
480 return hash_combine(Name, File, Line, BaseType, Scope, Elements,
[all …]
/external/clang/lib/Frontend/
DTestModuleFileExtension.cpp89 Code = llvm::hash_combine(Code, BlockName); in hashExtension()
90 Code = llvm::hash_combine(Code, MajorVersion); in hashExtension()
91 Code = llvm::hash_combine(Code, MinorVersion); in hashExtension()
92 Code = llvm::hash_combine(Code, UserInfo); in hashExtension()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DMachineOperand.cpp331 return hash_combine(MO.getType(), MO.getReg(), MO.getSubReg(), MO.isDef()); in hash_value()
333 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getImm()); in hash_value()
335 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getCImm()); in hash_value()
337 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getFPImm()); in hash_value()
339 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getMBB()); in hash_value()
341 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getIndex()); in hash_value()
344 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getIndex(), in hash_value()
347 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getIndex()); in hash_value()
349 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getOffset(), in hash_value()
352 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getGlobal(), in hash_value()
[all …]
/external/grpc-grpc/src/cpp/server/load_reporter/
Dload_data_store.h101 void hash_combine(size_t* seed, const grpc::string& k) const { in hash_combine() function
108 hash_combine(&h, k.lb_id_); in operator()
109 hash_combine(&h, k.lb_tag_); in operator()
110 hash_combine(&h, k.user_id_); in operator()
111 hash_combine(&h, k.client_ip_hex_); in operator()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Object/
DWasmTraits.h35 H = hash_combine(H, Param);
53 return hash_combine(GlobalType.Type, GlobalType.Mutable);
/external/v8/src/compiler/
Djs-operator.cc75 return base::hash_combine(p.arity(), p.frequency(), in hash_value()
127 return base::hash_combine(p.id(), p.arity()); in hash_value()
163 return base::hash_combine(access.depth(), access.index(), access.immutable()); in hash_value()
198 return base::hash_combine(parameters.scope_info().location(), in hash_value()
226 return base::hash_combine(p.name().location(), in hash_value()
278 return base::hash_combine(p.name().location(), p.language_mode(), in hash_value()
321 return base::hash_combine(p.language_mode(), in hash_value()
341 return base::hash_combine(p.name().location(), p.typeof_mode()); in hash_value()
371 return base::hash_combine(p.language_mode(), p.name().location(), in hash_value()
407 return base::hash_combine(p.arity(), p.site().address()); in hash_value()
[all …]
Dsimplified-operator.cc71 return base::hash_combine(access.base_is_tagged, access.offset, in hash_value()
140 return base::hash_combine(access.base_is_tagged, access.header_size, in hash_value()
160 return base::hash_combine(access.machine_type, access.write_barrier_kind); in hash_value()
229 return base::hash_combine(params.mode(), feedback_hash(params.feedback())); in hash_value()
278 return base::hash_combine(p.flags(), p.maps(), feedback_hash(p.feedback())); in hash_value()
305 return base::hash_combine(feedback_hash(p.feedback())); in hash_value()
363 return base::hash_combine(params.mode(), feedback_hash(params.feedback())); in hash_value()
384 return base::hash_combine(static_cast<uint8_t>(transition.mode()), in hash_value()
433 return base::hash_combine(parameters.fast_map().address(), in hash_value()
473 return base::hash_combine(parameters.fast_map().address(), in hash_value()
[all …]
Dfeedback-source.h29 return base::hash_combine(source.vector.address(), source.slot); in operator()
/external/v8/src/codegen/
Dstring-constants.cc98 return base::hash_combine(p.str().address()); in hash_value()
116 return base::hash_combine(p.num()); in hash_value()
133 return base::hash_combine(*(p.lhs()), *(p.rhs())); in hash_value()
Dsignature.h122 size_t hash = base::hash_combine(sig.parameter_count(), sig.return_count()); in hash_value()
123 for (const T& t : sig.all()) hash = base::hash_combine(hash, t); in hash_value()
/external/llvm/lib/Target/X86/
DX86OptimizeLEAs.cpp123 hash_code Hash = hash_combine(*Val.Operands[0], *Val.Operands[1], in getHashValue()
135 Hash = hash_combine(Hash, Val.Disp->getIndex()); in getHashValue()
138 Hash = hash_combine(Hash, Val.Disp->getSymbolName()); in getHashValue()
141 Hash = hash_combine(Hash, Val.Disp->getGlobal()); in getHashValue()
144 Hash = hash_combine(Hash, Val.Disp->getBlockAddress()); in getHashValue()
147 Hash = hash_combine(Hash, Val.Disp->getMCSymbol()); in getHashValue()
150 Hash = hash_combine(Hash, Val.Disp->getMBB()); in getHashValue()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86OptimizeLEAs.cpp138 hash_code Hash = hash_combine(*Val.Operands[0], *Val.Operands[1], in getHashValue()
150 Hash = hash_combine(Hash, Val.Disp->getIndex()); in getHashValue()
153 Hash = hash_combine(Hash, Val.Disp->getSymbolName()); in getHashValue()
156 Hash = hash_combine(Hash, Val.Disp->getGlobal()); in getHashValue()
159 Hash = hash_combine(Hash, Val.Disp->getBlockAddress()); in getHashValue()
162 Hash = hash_combine(Hash, Val.Disp->getMCSymbol()); in getHashValue()
165 Hash = hash_combine(Hash, Val.Disp->getMBB()); in getHashValue()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Scalar/
DGVNExpression.h224 return hash_combine(this->Expression::getHashValue(), ValueType, in getHashValue()
282 return hash_combine(this->BasicExpression::getHashValue(), MemoryLeader); in getHashValue()
465 return hash_combine(this->BasicExpression::getHashValue(), in getHashValue()
526 return hash_combine(this->BasicExpression::getHashValue(), BB); in getHashValue()
572 return hash_combine(this->Expression::getHashValue(), in getHashValue()
609 return hash_combine(this->Expression::getHashValue(), in getHashValue()
645 return hash_combine(this->Expression::getHashValue(), Inst); in getHashValue()
/external/llvm/lib/Transforms/Scalar/
DEarlyCSE.cpp101 return hash_combine(BinOp->getOpcode(), LHS, RHS); in getHashValue()
112 return hash_combine(Inst->getOpcode(), Pred, LHS, RHS); in getHashValue()
116 return hash_combine(CI->getOpcode(), CI->getType(), CI->getOperand(0)); in getHashValue()
119 return hash_combine(EVI->getOpcode(), EVI->getOperand(0), in getHashValue()
123 return hash_combine(IVI->getOpcode(), IVI->getOperand(0), in getHashValue()
134 return hash_combine( in getHashValue()
224 return hash_combine( in getHashValue()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DEarlyCSE.cpp136 return hash_combine(BinOp->getOpcode(), LHS, RHS); in getHashValue()
147 return hash_combine(Inst->getOpcode(), Pred, LHS, RHS); in getHashValue()
161 return hash_combine(Inst->getOpcode(), SPF, A, B); in getHashValue()
165 return hash_combine(Inst->getOpcode(), SPF, A, B); in getHashValue()
169 return hash_combine(CI->getOpcode(), CI->getType(), CI->getOperand(0)); in getHashValue()
172 return hash_combine(EVI->getOpcode(), EVI->getOperand(0), in getHashValue()
176 return hash_combine(IVI->getOpcode(), IVI->getOperand(0), in getHashValue()
187 return hash_combine( in getHashValue()
302 return hash_combine( in getHashValue()
/external/llvm/lib/CodeGen/
DMachineInstr.cpp268 return hash_combine(MO.getType(), MO.getReg(), MO.getSubReg(), MO.isDef()); in hash_value()
270 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getImm()); in hash_value()
272 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getCImm()); in hash_value()
274 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getFPImm()); in hash_value()
276 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getMBB()); in hash_value()
278 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getIndex()); in hash_value()
281 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getIndex(), in hash_value()
284 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getIndex()); in hash_value()
286 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getOffset(), in hash_value()
289 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getGlobal(), in hash_value()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/tools/dsymutil/
DDeclContext.cpp172 unsigned Hash = hash_combine(Context.getQualifiedNameHash(), Tag, NameRef); in getChildDeclContext()
177 Hash = hash_combine(Hash, FileRef); in getChildDeclContext()
/external/v8/src/utils/
Dversion.h29 base::hash_combine(major_, minor_, build_, patch_)); in Hash()
/external/v8/src/wasm/
Dwasm-import-wrapper-cache.h48 return base::hash_combine(static_cast<uint8_t>(key.kind), key.signature, in operator()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/PBQP/
DMath.h104 return hash_combine(V.Length, hash_combine_range(VBegin, VEnd)); in hash_value()
242 return hash_combine(M.Rows, M.Cols, hash_combine_range(MBegin, MEnd)); in hash_value()

1234