Lines Matching refs:ConstantFP

106   if (isa<ConstantFP>(C) || isa<ConstantInt>(C)) {  in FoldBitCast()
308 if (ConstantFP *CFP = dyn_cast<ConstantFP>(C)) { in ReadDataFromGlobal()
1304 return ConstantFP::get(Ty->getContext(), APF); in GetConstantFoldFPValue()
1307 return ConstantFP::get(Ty->getContext(), APFloat((float)V)); in GetConstantFoldFPValue()
1309 return ConstantFP::get(Ty->getContext(), APFloat(V)); in GetConstantFoldFPValue()
1386 static double getValueAsDouble(ConstantFP *Op) { in getValueAsDouble()
1405 if (ConstantFP *Op = dyn_cast<ConstantFP>(Operands[0])) { in ConstantFoldScalarCall()
1421 return ConstantFP::get(Ty->getContext(), V); in ConstantFoldScalarCall()
1555 return ConstantFP::get(Ty->getContext(), Val); in ConstantFoldScalarCall()
1572 if (ConstantFP *FPOp = in ConstantFoldScalarCall()
1573 dyn_cast_or_null<ConstantFP>(Op->getAggregateElement(0U))) in ConstantFoldScalarCall()
1580 if (ConstantFP *FPOp = in ConstantFoldScalarCall()
1581 dyn_cast_or_null<ConstantFP>(Op->getAggregateElement(0U))) in ConstantFoldScalarCall()
1597 if (ConstantFP *Op1 = dyn_cast<ConstantFP>(Operands[0])) { in ConstantFoldScalarCall()
1602 if (ConstantFP *Op2 = dyn_cast<ConstantFP>(Operands[1])) { in ConstantFoldScalarCall()
1614 return ConstantFP::get(Ty->getContext(), V1); in ConstantFoldScalarCall()
1620 return ConstantFP::get(Ty->getContext(), minnum(C1, C2)); in ConstantFoldScalarCall()
1626 return ConstantFP::get(Ty->getContext(), maxnum(C1, C2)); in ConstantFoldScalarCall()
1639 return ConstantFP::get(Ty->getContext(), in ConstantFoldScalarCall()
1643 return ConstantFP::get(Ty->getContext(), in ConstantFoldScalarCall()
1647 return ConstantFP::get(Ty->getContext(), in ConstantFoldScalarCall()
1712 if (const ConstantFP *Op1 = dyn_cast<ConstantFP>(Operands[0])) { in ConstantFoldScalarCall()
1713 if (const ConstantFP *Op2 = dyn_cast<ConstantFP>(Operands[1])) { in ConstantFoldScalarCall()
1714 if (const ConstantFP *Op3 = dyn_cast<ConstantFP>(Operands[2])) { in ConstantFoldScalarCall()
1724 return ConstantFP::get(Ty->getContext(), V); in ConstantFoldScalarCall()