Searched refs:FPValReg (Results 1 – 3 of 3) sorted by relevance
165 std::optional<FPValueAndVReg> &FPValReg; member166 GFCstAndRegMatch(std::optional<FPValueAndVReg> &FPValReg) in GFCstAndRegMatch()167 : FPValReg(FPValReg) {} in GFCstAndRegMatch()169 FPValReg = getFConstantVRegValWithLookThrough(Reg, MRI); in match()170 return FPValReg ? true : false; in match()174 inline GFCstAndRegMatch m_GFCst(std::optional<FPValueAndVReg> &FPValReg) { in m_GFCst() argument175 return GFCstAndRegMatch(FPValReg); in m_GFCst()179 std::optional<FPValueAndVReg> &FPValReg; member180 GFCstOrSplatGFCstMatch(std::optional<FPValueAndVReg> &FPValReg) in GFCstOrSplatGFCstMatch()181 : FPValReg(FPValReg) {} in GFCstOrSplatGFCstMatch()[all …]
164 std::optional<FPValueAndVReg> FPValReg; in isConstantCostlierToNegate() local165 if (mi_match(Reg, MRI, m_GFCstOrSplat(FPValReg))) { in isConstantCostlierToNegate()166 if (FPValReg->Value.isZero() && !FPValReg->Value.isNegative()) in isConstantCostlierToNegate()170 if (ST.hasInv2PiInlineImm() && isInv2Pi(FPValReg->Value)) in isConstantCostlierToNegate()
5086 std::optional<FPValueAndVReg> FPValReg; in selectWMMAVISrc() local5087 if (mi_match(Root.getReg(), *MRI, m_GFCstOrSplat(FPValReg))) { in selectWMMAVISrc()5088 if (TII.isInlineConstant(FPValReg->Value)) { in selectWMMAVISrc()5090 MIB.addImm(FPValReg->Value.bitcastToAPInt().getSExtValue()); in selectWMMAVISrc()