Home
last modified time | relevance | path

Searched refs:FPValReg (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DMIPatternMatch.h165 std::optional<FPValueAndVReg> &FPValReg; member
166 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() argument
175 return GFCstAndRegMatch(FPValReg); in m_GFCst()
179 std::optional<FPValueAndVReg> &FPValReg; member
180 GFCstOrSplatGFCstMatch(std::optional<FPValueAndVReg> &FPValReg) in GFCstOrSplatGFCstMatch()
181 : FPValReg(FPValReg) {} in GFCstOrSplatGFCstMatch()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUCombinerHelper.cpp164 std::optional<FPValueAndVReg> FPValReg; in isConstantCostlierToNegate() local
165 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()
H A DAMDGPUInstructionSelector.cpp5086 std::optional<FPValueAndVReg> FPValReg; in selectWMMAVISrc() local
5087 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()