Lines Matching defs:CFP
189 SDValue ExpandConstantFP(ConstantFPSDNode *CFP, bool UseCP);
289 SelectionDAGLegalize::ExpandConstantFP(ConstantFPSDNode *CFP, bool UseCP) {
291 SDLoc dl(CFP);
299 EVT VT = CFP->getValueType(0);
300 ConstantFP *LLVMC = const_cast<ConstantFP*>(CFP->getConstantFPValue());
307 APFloat APF = CFP->getValueAPF();
442 if (ConstantFPSDNode *CFP = dyn_cast<ConstantFPSDNode>(ST->getValue())) {
443 if (CFP->getValueType(0) == MVT::f32 &&
445 SDValue Con = DAG.getConstant(CFP->getValueAPF().
447 SDLoc(CFP), MVT::i32);
452 if (CFP->getValueType(0) == MVT::f64) {
455 SDValue Con = DAG.getConstant(CFP->getValueAPF().bitcastToAPInt().
456 zextOrTrunc(64), SDLoc(CFP), MVT::i64);
465 const APInt &IntVal = CFP->getValueAPF().bitcastToAPInt();
3314 ConstantFPSDNode *CFP = cast<ConstantFPSDNode>(Node);
3317 if (!TLI.isFPImmLegal(CFP->getValueAPF(), Node->getValueType(0),
3319 Results.push_back(ExpandConstantFP(CFP, true));