Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DMachineStableHash.cpp183 SmallVector<stable_hash, 16> HashComponents; in stableHashValue() local
184 HashComponents.reserve(MI.getNumOperands() + MI.getNumMemOperands() + 2); in stableHashValue()
185 HashComponents.push_back(MI.getOpcode()); in stableHashValue()
186 HashComponents.push_back(MI.getFlags()); in stableHashValue()
192 HashComponents.push_back(stable_hash_combine( in stableHashValue()
200 HashComponents.push_back(StableHash); in stableHashValue()
206 HashComponents.push_back(static_cast<unsigned>(Op->getSize())); in stableHashValue()
207 HashComponents.push_back(static_cast<unsigned>(Op->getFlags())); in stableHashValue()
208 HashComponents.push_back(static_cast<unsigned>(Op->getOffset())); in stableHashValue()
209 HashComponents.push_back(static_cast<unsigned>(Op->getSuccessOrdering())); in stableHashValue()
[all …]
H A DMachineInstr.cpp2083 SmallVector<size_t, 16> HashComponents; in getHashValue() local
2084 HashComponents.reserve(MI->getNumOperands() + 1); in getHashValue()
2085 HashComponents.push_back(MI->getOpcode()); in getHashValue()
2090 HashComponents.push_back(hash_value(MO)); in getHashValue()
2092 return hash_combine_range(HashComponents.begin(), HashComponents.end()); in getHashValue()