/external/llvm/unittests/ADT/ |
D | HashingTest.cpp | 37 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/ |
D | functional.h | 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(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()
|
D | functional.cc | 71 size_t hash_combine(size_t seed, size_t value) { in hash_combine() function
|
/external/llvm/lib/IR/ |
D | LLVMContextImpl.h | 106 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 …]
|
D | ConstantsContext.h | 428 return hash_combine(AsmString, Constraints, HasSideEffects, IsAlignStack, 497 return hash_combine(Opcode, SubclassOptionalData, SubclassData, 567 return hash_combine(Val.first, Val.second.getHash());
|
/external/clang/lib/Frontend/ |
D | TestModuleFileExtension.cpp | 89 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()
|
D | CompilerInvocation.cpp | 2405 using llvm::hash_combine; in getModuleHash() 2414 code = hash_combine(code, LangOpts->Name); in getModuleHash() 2416 code = hash_combine(code, static_cast<unsigned>(LangOpts->get##Name())); in getModuleHash() 2422 code = hash_combine(code, Feature); in getModuleHash() 2425 code = hash_combine(code, TargetOpts->Triple, TargetOpts->CPU, in getModuleHash() 2428 code = hash_combine(code, TargetOpts->FeaturesAsWritten[i]); in getModuleHash() 2433 code = hash_combine(code, ppOpts.UsePredefines, ppOpts.DetailedRecord); in getModuleHash() 2448 code = hash_combine(code, I->first, I->second); in getModuleHash() 2452 code = hash_combine(code, hsOpts.Sysroot, in getModuleHash() 2459 code = hash_combine(code, hsOpts.ResourceDir); in getModuleHash() [all …]
|
/external/v8/src/compiler/ |
D | js-operator.cc | 39 return base::hash_combine(p.slot(), p.vector().location()); in hash_value() 69 return base::hash_combine(p.arity(), p.frequency(), p.feedback()); in hash_value() 110 return base::hash_combine(p.id(), p.arity()); in hash_value() 146 return base::hash_combine(access.depth(), access.index(), access.immutable()); in hash_value() 178 return base::hash_combine(parameters.catch_name().location(), in hash_value() 207 return base::hash_combine(p.name().location(), p.language_mode(), in hash_value() 248 return base::hash_combine(p.language_mode(), p.feedback()); in hash_value() 267 return base::hash_combine(p.name().location(), p.typeof_mode()); in hash_value() 297 return base::hash_combine(p.language_mode(), p.name().location(), in hash_value() 333 return base::hash_combine(p.arity(), p.site().location()); in hash_value() [all …]
|
D | frame-states.cc | 15 return base::hash_combine(sc.kind_, sc.parameter_); in hash_value() 45 return base::hash_combine(static_cast<int>(info.type()), info.bailout_id(), in hash_value()
|
D | value-numbering-reducer.cc | 20 size_t h = base::hash_combine(node->op()->HashCode(), node->InputCount()); in HashCode() 22 h = base::hash_combine(h, node->InputAt(j)->id()); in HashCode()
|
D | operator.h | 191 return base::hash_combine(this->opcode(), this->hash_(this->parameter())); in HashCode()
|
D | common-operator.cc | 66 return base::hash_combine(p.kind(), p.reason()); in hash_value() 91 return base::hash_combine(p.representation(), p.hint()); in hash_value() 166 return base::hash_combine(p.value(), p.rmode(), p.type()); in hash_value()
|
D | simplified-operator.cc | 108 return base::hash_combine(access.base_is_tagged, access.offset, in hash_value() 156 return base::hash_combine(access.base_is_tagged, access.header_size, in hash_value()
|
D | js-operator.h | 119 return base::hash_combine(p.bit_field_, p.frequency_, p.feedback_); in hash_value()
|
/external/llvm/lib/Target/X86/ |
D | X86OptimizeLEAs.cpp | 123 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/llvm/lib/Transforms/Scalar/ |
D | EarlyCSE.cpp | 101 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/llvm/lib/CodeGen/ |
D | MachineInstr.cpp | 268 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/v8/src/ |
D | version.h | 24 base::hash_combine(major_, minor_, build_, patch_)); in Hash()
|
/external/clang/include/clang/AST/ |
D | ASTTypeTraits.h | 343 return llvm::hash_combine(TL.getType().getAsOpaquePtr(), 350 return llvm::hash_combine(NNSL.getNestedNameSpecifier(),
|
/external/llvm/include/llvm/CodeGen/PBQP/ |
D | Math.h | 145 return hash_combine(V.Length, hash_combine_range(VBegin, VEnd)); in hash_value() 383 return hash_combine(M.Rows, M.Cols, hash_combine_range(MBegin, MEnd)); in hash_value()
|
/external/llvm/include/llvm/IR/ |
D | Dominators.h | 69 return hash_combine(BBInfo::getHashValue(Edge.getStart()),
|
/external/llvm/include/llvm/ADT/ |
D | Hashing.h | 602 template <typename ...Ts> hash_code hash_combine(const Ts &...args) { 649 return hash_combine(arg.first, arg.second);
|
/external/llvm/include/llvm/CodeGen/ |
D | RegAllocPBQP.h | 134 return hash_combine(OptRegs.NumOpts, in hash_value()
|
/external/llvm/include/llvm/ProfileData/Coverage/ |
D | CoverageMapping.h | 617 hash_combine(V.Kind, V.LHS.getKind(), V.LHS.getCounterID(),
|
/external/llvm/lib/Support/Unix/ |
D | Process.inc | 453 return hash_combine(Now.seconds(), Now.nanoseconds(), ::getpid());
|