Lines Matching full:cfp
148 SDValue ExpandConstantFP(ConstantFPSDNode *CFP, bool UseCP);
238 SelectionDAGLegalize::ExpandConstantFP(ConstantFPSDNode *CFP, bool UseCP) {
240 SDLoc dl(CFP);
248 EVT VT = CFP->getValueType(0);
249 ConstantFP *LLVMC = const_cast<ConstantFP*>(CFP->getConstantFPValue());
260 if (ConstantFPSDNode::isValueValidForType(SVT, CFP->getValueAPF()) &&
653 if (ConstantFPSDNode *CFP = dyn_cast<ConstantFPSDNode>(ST->getValue())) {
654 if (CFP->getValueType(0) == MVT::f32 &&
656 SDValue Con = DAG.getConstant(CFP->getValueAPF().
663 if (CFP->getValueType(0) == MVT::f64) {
666 SDValue Con = DAG.getConstant(CFP->getValueAPF().bitcastToAPInt().
676 const APInt &IntVal =CFP->getValueAPF().bitcastToAPInt();
3463 ConstantFPSDNode *CFP = cast<ConstantFPSDNode>(Node);
3466 if (!TLI.isFPImmLegal(CFP->getValueAPF(), Node->getValueType(0)))
3467 Results.push_back(ExpandConstantFP(CFP, true));