Searched refs:FPValReg (Results 1 – 3 of 3) sorted by relevance
156 std::optional<FPValueAndVReg> &FPValReg; member157 GFCstAndRegMatch(std::optional<FPValueAndVReg> &FPValReg) in GFCstAndRegMatch()158 : FPValReg(FPValReg) {} in GFCstAndRegMatch()160 FPValReg = getFConstantVRegValWithLookThrough(Reg, MRI); in match()161 return FPValReg ? true : false; in match()165 inline GFCstAndRegMatch m_GFCst(std::optional<FPValueAndVReg> &FPValReg) { in m_GFCst() argument166 return GFCstAndRegMatch(FPValReg); in m_GFCst()170 std::optional<FPValueAndVReg> &FPValReg; member171 GFCstOrSplatGFCstMatch(std::optional<FPValueAndVReg> &FPValReg) in GFCstOrSplatGFCstMatch()172 : FPValReg(FPValReg) {} in GFCstOrSplatGFCstMatch()[all …]
157 std::optional<FPValueAndVReg> FPValReg; in isConstantCostlierToNegate() local158 if (mi_match(Reg, MRI, m_GFCstOrSplat(FPValReg))) { in isConstantCostlierToNegate()159 if (FPValReg->Value.isZero() && !FPValReg->Value.isNegative()) in isConstantCostlierToNegate()163 if (ST.hasInv2PiInlineImm() && isInv2Pi(FPValReg->Value)) in isConstantCostlierToNegate()
4053 std::optional<FPValueAndVReg> FPValReg; in selectWMMAVISrc() local4054 if (mi_match(Root.getReg(), *MRI, m_GFCstOrSplat(FPValReg))) { in selectWMMAVISrc()4055 if (TII.isInlineConstant(FPValReg->Value)) { in selectWMMAVISrc()4057 MIB.addImm(FPValReg->Value.bitcastToAPInt().getSExtValue()); in selectWMMAVISrc()