Home
last modified time | relevance | path

Searched refs:hash_combine (Results 1 - 25 of 68) sorted by relevance

123

/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
H A DvkSafetyCriticalUtil.cpp160 hash_combine(seed, deUint32(ptr->stencilInitialLayout), deUint32(ptr->stencilFinalLayout)); in hashPNextChain()
168 hash_combine(seed, ptr->pBindingFlags[i]); in hashPNextChain()
174 hash_combine(seed, ptr->srcPremultiplied, ptr->dstPremultiplied, deUint32(ptr->blendOverlap)); in hashPNextChain()
182 hash_combine(seed, ptr->pColorWriteEnables[i]); in hashPNextChain()
188 hash_combine(seed, ptr->flags, deUint32(ptr->discardRectangleMode)); in hashPNextChain()
191 hash_combine(seed, ptr->pDiscardRectangles[i].offset.x, ptr->pDiscardRectangles[i].offset.y, ptr->pDiscardRectangles[i].extent.width, ptr->pDiscardRectangles[i].extent.height); in hashPNextChain()
197 hash_combine(seed, ptr->fragmentSize.width, ptr->fragmentSize.height, deUint32(ptr->combinerOps[0]), deUint32(ptr->combinerOps[1])); in hashPNextChain()
203 hash_combine(seed, ptr->flags, deUint32(ptr->conservativeRasterizationMode), ptr->extraPrimitiveOverestimationSize); in hashPNextChain()
209 hash_combine(seed, ptr->flags, ptr->depthClipEnable); in hashPNextChain()
215 hash_combine(see in hashPNextChain()
[all...]
H A DvkSafetyCriticalUtil.hpp83 inline void hash_combine(std::size_t &seed, T const &v) in hash_combine() function
90 inline void hash_combine(std::size_t &seed, T const &v, Rest &&... rest) in hash_combine() function
94 hash_combine(seed, rest...); in hash_combine()
/third_party/spirv-tools/test/util/
H A Dhash_combine_test.cpp19 #include "source/util/hash_combine.h"
27 TEST(HashCombineTest, Identity) { EXPECT_EQ(hash_combine(0), 0); } in TEST()
31 EXPECT_EQ(hash_combine(hash_combine(hash_combine(0, 1), 2), 3), in TEST()
32 hash_combine(0, 1, 2, 3)); in TEST()
37 EXPECT_EQ(hash_combine(0, std::vector<uint32_t>({1, 2, 3})), in TEST()
38 hash_combine(0, 1, 2, 3)); in TEST()
/third_party/spirv-tools/source/util/
H A Dhash_combine.h30 inline size_t hash_combine(std::size_t seed, const T& val) { in hash_combine() function
35 inline size_t hash_combine(std::size_t hash, const std::vector<T>& vals) { in hash_combine() function
37 hash = hash_combine(hash, val); in hash_combine()
42 inline size_t hash_combine(std::size_t hash) { return hash; } in hash_combine() function
45 inline size_t hash_combine(std::size_t hash, const T& val, in hash_combine() function
47 return hash_combine(hash_combine(hash, val), args...); in hash_combine()
/third_party/node/deps/v8/src/base/
H A Dfunctional.h34 // simple function base::hash_combine to pass hash-relevant member variables
35 // into, in order to define a decent hash function. base::hash_combine is
39 // size_t hash_combine(const T& v, const Ts& ...vs);
47 // return base::hash_combine(p.x, p.y);
69 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(v in hash_combine()
[all...]
H A Dfunctional.cc70 size_t hash_combine(size_t seed, size_t value) { in hash_combine() function
/third_party/spirv-tools/source/opt/
H A Dtypes.cpp24 #include "source/util/hash_combine.h"
31 using spvtools::utils::hash_combine;
200 hash = hash_combine(hash, uint32_t(kind_)); in ComputeHashValue()
202 hash = hash_combine(hash, d); in ComputeHashValue()
295 return hash_combine(hash, width_, signed_); in ComputeExtraStateHash()
310 return hash_combine(hash, width_); in ComputeExtraStateHash()
335 hash = hash_combine(hash, count_); in ComputeExtraStateHash()
359 hash = hash_combine(hash, count_); in ComputeExtraStateHash()
397 hash = hash_combine(hash, uint32_t(dim_), depth_, arrayed_, ms_, sampled_, in ComputeExtraStateHash()
450 hash = hash_combine(has in ComputeExtraStateHash()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/
H A DWasmTraits.h38 H = hash_combine(H, Ret); in getHashValue()
40 H = hash_combine(H, Param); in getHashValue()
58 return hash_combine(GlobalType.Type, GlobalType.Mutable); in getHashValue()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
H A DLLVMContextImpl.h129 return hash_combine(hash_combine_range(Key.ETypes.begin(), in getHashValue()
184 return hash_combine(Key.ReturnType, in getHashValue()
300 return hash_combine(Line, Column, Scope, InlinedAt, ImplicitCode); in getHashValue()
319 unsigned getHashValue() const { return hash_combine(getHash(), Tag, Header); } in getHashValue()
351 return hash_combine(cast<ConstantInt>(MD->getValue())->getSExtValue(), in getHashValue()
353 return hash_combine(CountNode, LowerBound); in getHashValue()
373 unsigned getHashValue() const { return hash_combine(Value, Name); } in getHashValue()
401 return hash_combine(Tag, Name, SizeInBits, AlignInBits, Encoding); in getHashValue()
455 return hash_combine(Name, Scope); in getHashValue()
461 return hash_combine(Ta in getHashValue()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
H A DMachineOperand.cpp348 return hash_combine(MO.getType(), (unsigned)MO.getReg(), MO.getSubReg(), MO.isDef()); in hash_value()
350 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getImm()); in hash_value()
352 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getCImm()); in hash_value()
354 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getFPImm()); in hash_value()
356 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getMBB()); in hash_value()
358 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getIndex()); in hash_value()
361 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getIndex(), in hash_value()
364 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getIndex()); in hash_value()
366 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getOffset(), in hash_value()
369 return hash_combine(M in hash_value()
[all...]
H A DMIRVRegNamerUtils.cpp57 return hash_combine(MO.getType(), MO.getTargetFlags(), in getInstructionOpcodeHash()
60 return hash_combine( in getInstructionOpcodeHash()
/third_party/node/deps/v8/src/codegen/
H A Dstring-constants.cc97 return base::hash_combine(p.str().address()); in hash_value()
115 return base::hash_combine(p.num()); in hash_value()
132 return base::hash_combine(*(p.lhs()), *(p.rhs())); in hash_value()
/third_party/node/deps/v8/src/compiler/
H A Dcompilation-dependencies.cc99 return base::hash_combine(dep->kind, dep->Hash()); in operator ()()
199 return base::hash_combine(h(function_), h(initial_map_));
251 return base::hash_combine(h(function_), h(prototype_));
283 return base::hash_combine(h(map_));
411 return base::hash_combine(h(receiver_map_), h(property_name_), h(constant_),
478 return base::hash_combine(h(holder_), h(map_), representation_.kind(),
549 return base::hash_combine(h(holder_), h(map_), index_.raw_value(),
581 return base::hash_combine(h(function_));
610 return base::hash_combine(h(map_));
641 return base::hash_combine(
[all...]
H A Djs-operator.cc82 return base::hash_combine(p.arity(), p.frequency(), in hash_value()
134 return base::hash_combine(p.id(), p.arity()); in hash_value()
170 return base::hash_combine(access.depth(), access.index(), access.immutable()); in hash_value()
200 return base::hash_combine(parameters.scope_info_.object().location(), in hash_value()
228 return base::hash_combine(p.name_.object().location(), in hash_value()
282 return base::hash_combine(p.name_.object().location(), p.language_mode(), in hash_value()
326 return base::hash_combine(p.language_mode(), in hash_value()
346 return base::hash_combine(p.name_.object().location(), in hash_value()
378 return base::hash_combine(p.language_mode(), p.name_.object().location(), in hash_value()
413 return base::hash_combine( in hash_value()
[all...]
H A Dsimplified-operator.cc71 return base::hash_combine(access.base_is_tagged, access.offset, in hash_value()
124 return base::hash_combine(access.base_is_tagged, access.header_size, in hash_value()
141 return base::hash_combine(access.machine_type, access.write_barrier_kind); in hash_value()
212 return base::hash_combine(params.mode(), feedback_hash(params.feedback())); in hash_value()
261 return base::hash_combine(p.flags(), p.maps(), feedback_hash(p.feedback())); in hash_value()
316 return base::hash_combine(params.mode(), feedback_hash(params.feedback())); in hash_value()
337 return base::hash_combine(static_cast<uint8_t>(transition.mode()), in hash_value()
386 return base::hash_combine(parameters.fast_map().address(), in hash_value()
426 return base::hash_combine(parameters.fast_map().address(), in hash_value()
461 return base::hash_combine(parameter in hash_value()
[all...]
H A Dfeedback-source.h29 return base::hash_combine(source.vector.address(), source.slot); in operator ()()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Scalar/
H A DGVNExpression.h223 return hash_combine(this->Expression::getHashValue(), ValueType,
281 return hash_combine(this->BasicExpression::getHashValue(), MemoryLeader);
465 return hash_combine(this->BasicExpression::getHashValue(),
526 return hash_combine(this->BasicExpression::getHashValue(), BB);
572 return hash_combine(this->Expression::getHashValue(),
609 return hash_combine(this->Expression::getHashValue(),
645 return hash_combine(this->Expression::getHashValue(), Inst);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
H A DX86OptimizeLEAs.cpp140 hash_code Hash = hash_combine(*Val.Operands[0], *Val.Operands[1], in getHashValue()
152 Hash = hash_combine(Hash, Val.Disp->getIndex()); in getHashValue()
155 Hash = hash_combine(Hash, Val.Disp->getSymbolName()); in getHashValue()
158 Hash = hash_combine(Hash, Val.Disp->getGlobal()); in getHashValue()
161 Hash = hash_combine(Hash, Val.Disp->getBlockAddress()); in getHashValue()
164 Hash = hash_combine(Hash, Val.Disp->getMCSymbol()); in getHashValue()
167 Hash = hash_combine(Hash, Val.Disp->getMBB()); in getHashValue()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
H A DEarlyCSE.cpp212 return hash_combine(BinOp->getOpcode(), LHS, RHS); in getHashValueImpl()
228 return hash_combine(Inst->getOpcode(), Pred, LHS, RHS); in getHashValueImpl()
244 return hash_combine(Inst->getOpcode(), SPF, A, B); in getHashValueImpl()
248 return hash_combine(Inst->getOpcode(), SPF, A, B); in getHashValueImpl()
257 return hash_combine(Inst->getOpcode(), Cond, A, B); in getHashValueImpl()
265 return hash_combine(Inst->getOpcode(), Pred, X, Y, A, B); in getHashValueImpl()
269 return hash_combine(CI->getOpcode(), CI->getType(), CI->getOperand(0)); in getHashValueImpl()
272 return hash_combine(EVI->getOpcode(), EVI->getOperand(0), in getHashValueImpl()
276 return hash_combine(IVI->getOpcode(), IVI->getOperand(0), in getHashValueImpl()
286 return hash_combine( in getHashValueImpl()
[all...]
/third_party/node/deps/v8/src/wasm/
H A Dcanonical-types.h71 return base::hash_combine(type_def.kind, in hash_value()
93 result = base::hash_combine(result, type.hash_value()); in hash_value()
H A Dwasm-import-wrapper-cache.h54 return base::hash_combine(static_cast<uint8_t>(key.kind), key.signature, in operator ()()
/third_party/node/src/
H A Dnode_sockaddr-inl.h19 inline void hash_combine(size_t* seed) { } in hash_combine() function
22 inline void hash_combine(size_t* seed, const T& value, Args... rest) { in hash_combine() function
24 hash_combine(seed, rest...); in hash_combine()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DWARFLinker/
H A DDWARFLinkerDeclContext.cpp170 unsigned Hash = hash_combine(Context.getQualifiedNameHash(), Tag, NameRef); in getChildDeclContext()
175 Hash = hash_combine(Hash, FileRef); in getChildDeclContext()
/third_party/node/deps/v8/src/utils/
H A Dversion.h32 base::hash_combine(major_, minor_, build_, patch_)); in Hash()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/GSYM/
H A DFileEntry.h58 return llvm::hash_combine(DenseMapInfo<uint32_t>::getHashValue(Val.Dir), in getHashValue()

Completed in 19 milliseconds

123