Home | History | Annotate | Download | only in SelectionDAG

Lines Matching refs:CFP

141   SDValue ExpandConstantFP(ConstantFPSDNode *CFP, bool UseCP);
253 SelectionDAGLegalize::ExpandConstantFP(ConstantFPSDNode *CFP, bool UseCP) {
255 SDLoc dl(CFP);
263 EVT VT = CFP->getValueType(0);
264 ConstantFP *LLVMC = const_cast<ConstantFP*>(CFP->getConstantFPValue());
275 if (ConstantFPSDNode::isValueValidForType(SVT, CFP->getValueAPF()) &&
664 if (ConstantFPSDNode *CFP = dyn_cast<ConstantFPSDNode>(ST->getValue())) {
665 if (CFP->getValueType(0) == MVT::f32 &&
667 SDValue Con = DAG.getConstant(CFP->getValueAPF().
674 if (CFP->getValueType(0) == MVT::f64) {
677 SDValue Con = DAG.getConstant(CFP->getValueAPF().bitcastToAPInt().
687 const APInt &IntVal =CFP->getValueAPF().bitcastToAPInt();
3578 ConstantFPSDNode *CFP = cast<ConstantFPSDNode>(Node);
3581 if (!TLI.isFPImmLegal(CFP->getValueAPF(), Node->getValueType(0)))
3582 Results.push_back(ExpandConstantFP(CFP, true));