Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DMachineStableHash.cpp158 SmallVector<stable_hash, 16> HashComponents; in stableHashValue() local
159 HashComponents.reserve(MI.getNumOperands() + MI.getNumMemOperands() + 2); in stableHashValue()
160 HashComponents.push_back(MI.getOpcode()); in stableHashValue()
161 HashComponents.push_back(MI.getFlags()); in stableHashValue()
168 HashComponents.push_back(stable_hash_combine( in stableHashValue()
176 HashComponents.push_back(StableHash); in stableHashValue()
182 HashComponents.push_back(static_cast<unsigned>(Op->getSize())); in stableHashValue()
183 HashComponents.push_back(static_cast<unsigned>(Op->getFlags())); in stableHashValue()
184 HashComponents.push_back(static_cast<unsigned>(Op->getOffset())); in stableHashValue()
185 HashComponents.push_back(static_cast<unsigned>(Op->getOrdering())); in stableHashValue()
[all …]
H A DMachineInstr.cpp2072 SmallVector<size_t, 16> HashComponents; in getHashValue() local
2073 HashComponents.reserve(MI->getNumOperands() + 1); in getHashValue()
2074 HashComponents.push_back(MI->getOpcode()); in getHashValue()
2079 HashComponents.push_back(hash_value(MO)); in getHashValue()
2081 return hash_combine_range(HashComponents.begin(), HashComponents.end()); in getHashValue()