Home
last modified time | relevance | path

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

123

/freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DWasmTraits.h36 H = hash_combine(H, Ret);
38 H = hash_combine(H, Param);
56 return hash_combine(GlobalType.Type, GlobalType.Mutable);
74 Hash = hash_combine(Hash, Limits.Minimum);
76 Hash = hash_combine(Hash, Limits.Maximum);
98 return hash_combine(
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DLLVMContextImpl.h122 return hash_combine(hash_combine_range(Key.ETypes), Key.isPacked);
173 return hash_combine(Key.ReturnType, hash_combine_range(Key.Params),
220 return hash_combine(Key.Name, hash_combine_range(Key.TypeParams),
364 return hash_combine(Line, Column, Scope, InlinedAt, ImplicitCode,
367 return hash_combine(Line, Column, Scope, InlinedAt, ImplicitCode);
386 unsigned getHashValue() const { return hash_combine(getHash(), Tag, Header); }
432 return hash_combine(cast<ConstantInt>(MD->getValue())->getSExtValue(),
434 return hash_combine(CountNode, LowerBound, UpperBound, Stride);
462 return hash_combine(cast<ConstantInt>(MD->getValue())->getSExtValue(),
464 return hash_combine(CountNode, LowerBound, UpperBound, Stride);
[all …]
H A DConstantsContext.h374 return hash_combine(AsmString, Constraints, HasSideEffects, IsAlignStack,
479 return hash_combine(Opcode, SubclassOptionalData, hash_combine_range(Ops),
581 return hash_combine(Val.first, Val.second.getHash());
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineOperand.cpp405 return hash_combine(MO.getType(), MO.getReg().id(), MO.getSubReg(), in hash_value()
408 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getImm()); in hash_value()
410 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getCImm()); in hash_value()
412 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getFPImm()); in hash_value()
414 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getMBB()); in hash_value()
416 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getIndex()); in hash_value()
419 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getIndex(), in hash_value()
422 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getIndex()); in hash_value()
424 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getOffset(), in hash_value()
427 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getGlobal(), in hash_value()
[all …]
H A DMIRVRegNamerUtils.cpp71 return hash_combine(MO.getType(), MO.getTargetFlags(), in getInstructionOpcodeHash()
74 return hash_combine( in getInstructionOpcodeHash()
/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DEarlyCSE.cpp226 return hash_combine(CI->getOpcode(), CI->getParent(), in hashCallInst()
229 return hash_combine(CI->getOpcode(), in hashCallInst()
242 return hash_combine(BinOp->getOpcode(), LHS, RHS); in getHashValueImpl()
258 return hash_combine(Inst->getOpcode(), Pred, LHS, RHS); in getHashValueImpl()
274 return hash_combine(Inst->getOpcode(), SPF, A, B); in getHashValueImpl()
283 return hash_combine(Inst->getOpcode(), Cond, A, B); in getHashValueImpl()
291 return hash_combine(Inst->getOpcode(), in getHashValueImpl()
296 return hash_combine(CI->getOpcode(), CI->getType(), CI->getOperand(0)); in getHashValueImpl()
299 return hash_combine(FI->getOpcode(), FI->getOperand(0)); in getHashValueImpl()
302 return hash_combine(EVI->getOpcode(), EVI->getOperand(0), in getHashValueImpl()
[all …]
H A DGVNSink.cpp318 return hash_combine(GVNExpression::BasicExpression::getHashValue(), in getHashValue()
323 hash_code H = hash_combine(getOpcode(), getType(), MemoryUseOrder, Volatile, in getHashValue()
326 H = hash_combine(H, MapFn(V)); in getHashValue()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/
H A DGVNExpression.h223 return hash_combine(this->Expression::getHashValue(), ValueType, in getHashValue()
286 return hash_combine(this->BasicExpression::getHashValue(), MemoryLeader); in getHashValue()
469 return hash_combine(this->BasicExpression::getHashValue(), in getHashValue()
535 return hash_combine(this->BasicExpression::getHashValue(), BB); in getHashValue()
581 return hash_combine(this->Expression::getHashValue(), in getHashValue()
618 return hash_combine(this->Expression::getHashValue(), in getHashValue()
654 return hash_combine(this->Expression::getHashValue(), Inst); in getHashValue()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVIRMapping.h31 hash_code H = llvm::hash_combine(MI->getOpcode(), MI->getNumOperands()); in to_hash()
35 H = llvm::hash_combine(H, MO.getType(), MO.getCImm()); in to_hash()
37 H = llvm::hash_combine(H, MO.getType(), MO.getFPImm()); in to_hash()
39 H = llvm::hash_combine(H, MO.getType()); in to_hash()
/freebsd/contrib/llvm-project/clang/include/clang/CIR/Dialect/IR/
H A DCIRTypesDetails.h74 return llvm::hash_combine(key.name, key.kind); in hashKey()
75 return llvm::hash_combine(key.members, key.incomplete, key.packed, in hashKey()
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/
H A DDWARFLinkerDeclContext.cpp
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DIRSimilarityIdentifier.h268 return llvm::hash_combine(llvm::hash_value(ID.Inst->getOpcode()), in hash_value()
278 return llvm::hash_combine(llvm::hash_value(ID.Inst->getOpcode()), in hash_value()
287 return llvm::hash_combine(llvm::hash_value(ID.Inst->getOpcode()), in hash_value()
294 return llvm::hash_combine(llvm::hash_value(ID.Inst->getOpcode()), in hash_value()
H A DAssumeBundleQueries.h60 return hash_combine(AK);
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DHashing.h595 template <typename ...Ts> hash_code hash_combine(const Ts &...args) {
641 return hash_combine(arg.first, arg.second);
645 return std::apply([](const auto &...xs) { return hash_combine(xs...); }, arg);
656 return arg ? hash_combine(true, *arg) : hash_value(false);
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/GSYM/
H A DFileEntry.h57 return llvm::hash_combine(DenseMapInfo<uint32_t>::getHashValue(Val.Dir),
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/PBQP/
H A DMath.h97 return hash_combine(V.getLength(), hash_combine_range(VBegin, VEnd)); in hash_value()
230 return hash_combine(M.Rows, M.Cols, hash_combine_range(MBegin, MEnd)); in hash_value()
/freebsd/contrib/llvm-project/clang/lib/APINotes/
H A DAPINotesFormat.h376 hash = hash_combine(hash, Selector.Identifiers.size());
378 hash = hash_combine(hash, static_cast<unsigned>(piece));
/freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/MCTargetDesc/
H A DCSKYTargetStreamer.h85 return hash_combine(DenseMapInfo<const MCSymbol *>::getHashValue(V.sym),
/freebsd/contrib/llvm-project/llvm/lib/MCA/
H A DInstrBuilder.cpp509 hash_code TypeHash = hash_combine(MCO.isReg(), MCO.isImm(), MCO.isSFPImm(), in hashMCOperand()
512 return hash_combine(TypeHash, MCO.getReg()); in hashMCOperand()
518 hash_code InstructionHash = hash_combine(MCI.getOpcode(), MCI.getFlags()); in hashMCInst()
521 hash_combine(InstructionHash, hashMCOperand(MCI.getOperand(I))); in hashMCInst()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DSCCPSolver.h55 return hash_combine(hash_value(A.Formal), hash_value(A.Actual)); in hash_value()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaCUDA.h307 return hash_combine(FDBaseInfo::getHashValue(FDL.FD),
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DVersionTuple.h171 return hash_combine(VT.Major, VT.Minor, VT.Subminor, VT.Build); in hash_value()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DSampleProfileMatcher.h65 return hash_combine(P.first, P.second); in operator()
/freebsd/contrib/llvm-project/llvm/include/llvm/TextAPI/
H A DSymbolSet.h44 return hash_combine(hash_value(Key.Kind), hash_value(Key.Name));

123