reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1972 B.setInstr(MI); 1981 auto Abs = B.buildFAbs(S32, RHS, Flags); 1984 auto C0 = B.buildConstant(S32, 0x6f800000); 1985 auto C1 = B.buildConstant(S32, 0x2f800000); 1986 auto C2 = B.buildConstant(S32, FloatToBits(1.0f)); 1988 auto CmpRes = B.buildFCmp(CmpInst::FCMP_OGT, S1, Abs, C0, Flags); 1989 auto Sel = B.buildSelect(S32, CmpRes, C1, C2, Flags); 1991 auto Mul0 = B.buildFMul(S32, RHS, Sel, Flags); 1993 auto RCP = B.buildIntrinsic(Intrinsic::amdgcn_rcp, {S32}, false) 1997 auto Mul1 = B.buildFMul(S32, LHS, RCP, Flags); 1999 B.buildFMul(Res, Sel, Mul1, Flags);