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();
441 if (ConstantFPSDNode *CFP = dyn_cast<ConstantFPSDNode>(ST->getValue())) {
442 if (CFP->getValueType(0) == MVT::f32 &&
444 SDValue Con = DAG.getConstant(CFP->getValueAPF().
446 SDLoc(CFP), MVT::i32);
451 if (CFP->getValueType(0) == MVT::f64) {
454 SDValue Con = DAG.getConstant(CFP->getValueAPF().bitcastToAPInt().
455 zextOrTrunc(64), SDLoc(CFP), MVT::i64);
464 const APInt &IntVal = CFP->getValueAPF().bitcastToAPInt();
3239 ConstantFPSDNode *CFP = cast<ConstantFPSDNode>(Node);
3242 if (!TLI.isFPImmLegal(CFP->getValueAPF(), Node->getValueType(0),
3244 Results.push_back(ExpandConstantFP(CFP, true));