• Home
  • Raw
  • Download

Lines Matching refs:ConstantFP

745         ConstantFP *eltval = dyn_cast<ConstantFP>(  in TDOFold()
780 if (ConstantFP *CF = dyn_cast<ConstantFP>(opr0)) { in TDOFold()
783 Value *nval = ConstantFP::get(CF->getType(), ftbl[i].result); in TDOFold()
820 if (ConstantFP *CF = dyn_cast<ConstantFP>(opr0)) { in fold_recip()
824 Value *nval = B.CreateFDiv(ConstantFP::get(CF->getType(), 1.0), in fold_recip()
839 ConstantFP *CF0 = dyn_cast<ConstantFP>(opr0); in fold_divide()
840 ConstantFP *CF1 = dyn_cast<ConstantFP>(opr1); in fold_divide()
846 Value *nval1 = B.CreateFDiv(ConstantFP::get(opr1->getType(), 1.0), in fold_divide()
873 ConstantFP *CF; in fold_pow()
883 CF = dyn_cast<ConstantFP>(opr1); in fold_pow()
892 CF = CDV ? dyn_cast_or_null<ConstantFP>(CDV->getSplatValue()) : nullptr; in fold_pow()
906 Constant *cnval = ConstantFP::get(eltType, 1.0); in fold_pow()
930 Constant *cnval = ConstantFP::get(eltType, 1.0); in fold_pow()
980 cnval = ConstantFP::get(eltType, 1.0); in fold_pow()
998 cnval = ConstantFP::get(eltType, 1.0); in fold_pow()
1023 CF = dyn_cast<ConstantFP>(opr0); in fold_pow()
1031 cnval = ConstantFP::get(eltType, V); in fold_pow()
1076 if (const ConstantFP *CF = dyn_cast<ConstantFP>(opr1)) { in fold_pow()
1185 Value *nval = B.CreateFDiv(ConstantFP::get(opr0->getType(), 1.0), in fold_rootn()
1210 ConstantFP *CF0 = dyn_cast<ConstantFP>(opr0); in fold_fma_mad()
1211 ConstantFP *CF1 = dyn_cast<ConstantFP>(opr1); in fold_fma_mad()
1234 if (ConstantFP *CF = dyn_cast<ConstantFP>(opr2)) { in fold_fma_mad()
1435 ConstantFP *fpopr0 = dyn_cast_or_null<ConstantFP>(copr0); in evaluateScalarMathFunc()
1436 ConstantFP *fpopr1 = dyn_cast_or_null<ConstantFP>(copr1); in evaluateScalarMathFunc()
1437 ConstantFP *fpopr2 = dyn_cast_or_null<ConstantFP>(copr2); in evaluateScalarMathFunc()
1675 nval0 = ConstantFP::get(CI->getType(), DVal0[0]); in evaluateCall()
1677 nval1 = ConstantFP::get(CI->getType(), DVal1[0]); in evaluateCall()