Lines Matching refs:Hashes
50 SmallVector<stable_hash> Hashes; in hashType() local
51 Hashes.emplace_back(ValueType->getTypeID()); in hashType()
53 Hashes.emplace_back(ValueType->getIntegerBitWidth()); in hashType()
54 return stable_hash_combine(Hashes); in hashType()
69 SmallVector<stable_hash> Hashes; in hashAPInt() local
70 Hashes.emplace_back(I.getBitWidth()); in hashAPInt()
72 Hashes.append(RawVals.begin(), RawVals.end()); in hashAPInt()
73 return stable_hash_combine(Hashes); in hashAPInt()
119 SmallVector<stable_hash> Hashes; in hashConstant() local
122 Hashes.emplace_back(hashType(Ty)); in hashConstant()
125 Hashes.emplace_back(static_cast<stable_hash>('N')); in hashConstant()
126 return stable_hash_combine(Hashes); in hashConstant()
130 Hashes.emplace_back(hashGlobalVariable(*GVar)); in hashConstant()
131 return stable_hash_combine(Hashes); in hashConstant()
135 Hashes.emplace_back(hashGlobalValue(G)); in hashConstant()
136 return stable_hash_combine(Hashes); in hashConstant()
141 Hashes.emplace_back(stable_hash_name(Seq->getAsString())); in hashConstant()
142 return stable_hash_combine(Hashes); in hashConstant()
149 Hashes.emplace_back(hashAPInt(Int)); in hashConstant()
150 return stable_hash_combine(Hashes); in hashConstant()
154 Hashes.emplace_back(hashAPFloat(APF)); in hashConstant()
155 return stable_hash_combine(Hashes); in hashConstant()
163 Hashes.emplace_back(H); in hashConstant()
165 return stable_hash_combine(Hashes); in hashConstant()
170 Hashes.emplace_back(H); in hashConstant()
171 return stable_hash_combine(Hashes); in hashConstant()
176 Hashes.emplace_back(H); in hashConstant()
177 return stable_hash_combine(Hashes); in hashConstant()
181 return stable_hash_combine(Hashes); in hashConstant()
192 SmallVector<stable_hash> Hashes; in hashValue() local
194 Hashes.emplace_back(Arg->getArgNo()); in hashValue()
198 Hashes.emplace_back(It->second); in hashValue()
200 return stable_hash_combine(Hashes); in hashValue()
204 SmallVector<stable_hash> Hashes; in hashOperand() local
205 Hashes.emplace_back(hashType(Operand->getType())); in hashOperand()
206 Hashes.emplace_back(hashValue(Operand)); in hashOperand()
207 return stable_hash_combine(Hashes); in hashOperand()
211 SmallVector<stable_hash> Hashes; in hashInstruction() local
212 Hashes.emplace_back(Inst.getOpcode()); in hashInstruction()
215 return stable_hash_combine(Hashes); in hashInstruction()
217 Hashes.emplace_back(hashType(Inst.getType())); in hashInstruction()
222 Hashes.emplace_back(ComparisonInstruction->getPredicate()); in hashInstruction()
236 Hashes.emplace_back(OpndHash); in hashInstruction()
239 return stable_hash_combine(Hashes); in hashInstruction()
263 SmallVector<stable_hash> Hashes; in update() local
264 Hashes.emplace_back(Hash); in update()
265 Hashes.emplace_back(FunctionHeaderHash); in update()
267 Hashes.emplace_back(F.isVarArg()); in update()
268 Hashes.emplace_back(F.arg_size()); in update()
281 Hashes.emplace_back(BlockHeaderHash); in update()
283 Hashes.emplace_back(hashInstruction(Inst)); in update()
291 Hash = stable_hash_combine(Hashes); in update()
300 SmallVector<stable_hash> Hashes; in update() local
301 Hashes.emplace_back(Hash); in update()
302 Hashes.emplace_back(GlobalHeaderHash); in update()
303 Hashes.emplace_back(GV.getValueType()->getTypeID()); in update()
306 Hash = stable_hash_combine(Hashes); in update()