Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUPostLegalizerCombiner.cpp267 MachineInstr *SqrtSrcMI = nullptr; in matchRcpSqrtToRsq() local
269 mi_match(MI.getOperand(0).getReg(), MRI, m_GFSqrt(m_MInstr(SqrtSrcMI))); in matchRcpSqrtToRsq()
271 return SqrtSrcMI; in matchRcpSqrtToRsq()
274 MachineInstr *RcpSrcMI = nullptr, *SqrtSrcMI = nullptr; in matchRcpSqrtToRsq() local
276 if ((RcpSrcMI = getRcpSrc(MI)) && (SqrtSrcMI = getSqrtSrc(*RcpSrcMI))) { in matchRcpSqrtToRsq()
277 MatchInfo = [SqrtSrcMI, &MI](MachineIRBuilder &B) { in matchRcpSqrtToRsq()
279 .addUse(SqrtSrcMI->getOperand(0).getReg()) in matchRcpSqrtToRsq()
286 if ((SqrtSrcMI = getSqrtSrc(MI)) && (RcpSrcMI = getRcpSrc(*SqrtSrcMI))) { in matchRcpSqrtToRsq()