• Home
  • Raw
  • Download

Lines Matching refs:ConstantFP

111   if (isa<ConstantFP>(C) || isa<ConstantInt>(C)) {  in FoldBitCast()
314 if (auto *CFP = dyn_cast<ConstantFP>(C)) { in ReadDataFromGlobal()
1368 return ConstantFP::get(Ty->getContext(), APF); in GetConstantFoldFPValue()
1371 return ConstantFP::get(Ty->getContext(), APFloat((float)V)); in GetConstantFoldFPValue()
1373 return ConstantFP::get(Ty->getContext(), APFloat(V)); in GetConstantFoldFPValue()
1446 double getValueAsDouble(ConstantFP *Op) { in getValueAsDouble()
1470 if (auto *Op = dyn_cast<ConstantFP>(Operands[0])) { in ConstantFoldScalarCall()
1486 return ConstantFP::get(Ty->getContext(), V); in ConstantFoldScalarCall()
1492 return ConstantFP::get(Ty->getContext(), V); in ConstantFoldScalarCall()
1498 return ConstantFP::get(Ty->getContext(), V); in ConstantFoldScalarCall()
1504 return ConstantFP::get(Ty->getContext(), V); in ConstantFoldScalarCall()
1510 return ConstantFP::get(Ty->getContext(), V); in ConstantFoldScalarCall()
1516 return ConstantFP::get(Ty->getContext(), V); in ConstantFoldScalarCall()
1661 return ConstantFP::get(Ty->getContext(), Val); in ConstantFoldScalarCall()
1678 if (ConstantFP *FPOp = in ConstantFoldScalarCall()
1679 dyn_cast_or_null<ConstantFP>(Op->getAggregateElement(0U))) in ConstantFoldScalarCall()
1686 if (ConstantFP *FPOp = in ConstantFoldScalarCall()
1687 dyn_cast_or_null<ConstantFP>(Op->getAggregateElement(0U))) in ConstantFoldScalarCall()
1703 if (auto *Op1 = dyn_cast<ConstantFP>(Operands[0])) { in ConstantFoldScalarCall()
1708 if (auto *Op2 = dyn_cast<ConstantFP>(Operands[1])) { in ConstantFoldScalarCall()
1720 return ConstantFP::get(Ty->getContext(), V1); in ConstantFoldScalarCall()
1726 return ConstantFP::get(Ty->getContext(), minnum(C1, C2)); in ConstantFoldScalarCall()
1732 return ConstantFP::get(Ty->getContext(), maxnum(C1, C2)); in ConstantFoldScalarCall()
1748 return ConstantFP::get(Ty->getContext(), in ConstantFoldScalarCall()
1752 return ConstantFP::get(Ty->getContext(), in ConstantFoldScalarCall()
1756 return ConstantFP::get(Ty->getContext(), in ConstantFoldScalarCall()
1821 if (const auto *Op1 = dyn_cast<ConstantFP>(Operands[0])) { in ConstantFoldScalarCall()
1822 if (const auto *Op2 = dyn_cast<ConstantFP>(Operands[1])) { in ConstantFoldScalarCall()
1823 if (const auto *Op3 = dyn_cast<ConstantFP>(Operands[2])) { in ConstantFoldScalarCall()
1833 return ConstantFP::get(Ty->getContext(), V); in ConstantFoldScalarCall()