Home
last modified time | relevance | path

Searched refs:HashComponents (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineStableHash.cpp191 SmallVector<stable_hash, 16> HashComponents; in stableHashValue() local
192 HashComponents.reserve(MI.getNumOperands() + MI.getNumMemOperands() + 2); in stableHashValue()
193 HashComponents.push_back(MI.getOpcode()); in stableHashValue()
194 HashComponents.push_back(MI.getFlags()); in stableHashValue()
200 HashComponents.push_back(stable_hash_combine( in stableHashValue()
208 HashComponents.push_back(StableHash); in stableHashValue()
214 HashComponents.push_back(static_cast<unsigned>(Op->getSize().getValue())); in stableHashValue()
215 HashComponents.push_back(static_cast<unsigned>(Op->getFlags())); in stableHashValue()
216 HashComponents.push_back(static_cast<unsigned>(Op->getOffset())); in stableHashValue()
217 HashComponents.push_back(static_cast<unsigned>(Op->getSuccessOrdering())); in stableHashValue()
[all …]
H A DMachineInstr.cpp2298 SmallVector<size_t, 16> HashComponents; in getHashValue() local
2299 HashComponents.reserve(MI->getNumOperands() + 1); in getHashValue()
2300 HashComponents.push_back(MI->getOpcode()); in getHashValue()
2305 HashComponents.push_back(hash_value(MO)); in getHashValue()
2307 return hash_combine_range(HashComponents); in getHashValue()