Lines Matching refs:DivOpInfo
29 struct DivOpInfo { struct
34 DivOpInfo(bool InSignedOp, Value *InDividend, Value *InDivisor) in DivOpInfo() argument
49 struct DenseMapInfo<DivOpInfo> {
50 static bool isEqual(const DivOpInfo &Val1, const DivOpInfo &Val2) { in isEqual()
56 static DivOpInfo getEmptyKey() { in getEmptyKey()
57 return DivOpInfo(false, nullptr, nullptr); in getEmptyKey()
60 static DivOpInfo getTombstoneKey() { in getTombstoneKey()
61 return DivOpInfo(true, nullptr, nullptr); in getTombstoneKey()
64 static unsigned getHashValue(const DivOpInfo &Val) { in getHashValue()
71 typedef DenseMap<DivOpInfo, DivPhiNodes> DivCacheTy;
176 DivOpInfo Key(UseSignedOp, Dividend, Divisor); in insertFastDiv()
178 PerBBDivCache.insert(std::pair<DivOpInfo, DivPhiNodes>(Key, Value)); in insertFastDiv()
194 DivOpInfo Key(UseSignedOp, Instr->getOperand(0), Instr->getOperand(1)); in reuseOrInsertFastDiv()