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.cpp180 SmallVector<stable_hash, 16> HashComponents; in stableHashValue() local
181 HashComponents.reserve(MI.getNumOperands() + MI.getNumMemOperands() + 2); in stableHashValue()
182 HashComponents.push_back(MI.getOpcode()); in stableHashValue()
183 HashComponents.push_back(MI.getFlags()); in stableHashValue()
189 HashComponents.push_back(stable_hash_combine( in stableHashValue()
197 HashComponents.push_back(StableHash); in stableHashValue()
203 HashComponents.push_back(static_cast<unsigned>(Op->getSize().getValue())); in stableHashValue()
204 HashComponents.push_back(static_cast<unsigned>(Op->getFlags())); in stableHashValue()
205 HashComponents.push_back(static_cast<unsigned>(Op->getOffset())); in stableHashValue()
206 HashComponents.push_back(static_cast<unsigned>(Op->getSuccessOrdering())); in stableHashValue()
[all …]
H A DMachineInstr.cpp2189 SmallVector<size_t, 16> HashComponents; in getHashValue() local
2190 HashComponents.reserve(MI->getNumOperands() + 1); in getHashValue()
2191 HashComponents.push_back(MI->getOpcode()); in getHashValue()
2196 HashComponents.push_back(hash_value(MO)); in getHashValue()
2198 return hash_combine_range(HashComponents.begin(), HashComponents.end()); in getHashValue()