Lines Matching refs:oldFlags
264 bool MipsAbiFlags::merge(const Input& pInput, MipsAbiFlags& oldFlags, in merge() argument
266 if (oldFlags.m_IsaLevel == 0) { in merge()
267 oldFlags = newFlags; in merge()
271 if (newFlags.m_IsaLevel > oldFlags.m_IsaLevel) in merge()
272 oldFlags.m_IsaLevel = newFlags.m_IsaLevel; in merge()
274 oldFlags.m_IsaRev = std::max(oldFlags.m_IsaRev, newFlags.m_IsaRev); in merge()
275 oldFlags.m_GprSize = std::max(oldFlags.m_GprSize, newFlags.m_GprSize); in merge()
276 oldFlags.m_Cpr1Size = std::max(oldFlags.m_Cpr1Size, newFlags.m_Cpr1Size); in merge()
277 oldFlags.m_Cpr2Size = std::max(oldFlags.m_Cpr2Size, newFlags.m_Cpr2Size); in merge()
278 oldFlags.m_Ases |= newFlags.m_Ases; in merge()
279 oldFlags.m_Flags1 |= newFlags.m_Flags1; in merge()
281 if (oldFlags.m_FpAbi == newFlags.m_FpAbi) in merge()
284 if (isFpGreater(newFlags.m_FpAbi, oldFlags.m_FpAbi)) { in merge()
285 oldFlags.m_FpAbi = newFlags.m_FpAbi; in merge()
289 if (isFpGreater(oldFlags.m_FpAbi, newFlags.m_FpAbi)) in merge()
292 llvm::StringRef oldAbiName = getFpAbiName(oldFlags.m_FpAbi); in merge()