Lines Matching refs:CFP
188 SDValue ExpandConstantFP(ConstantFPSDNode *CFP, bool UseCP);
288 SelectionDAGLegalize::ExpandConstantFP(ConstantFPSDNode *CFP, bool UseCP) { in ExpandConstantFP() argument
290 SDLoc dl(CFP); in ExpandConstantFP()
298 EVT VT = CFP->getValueType(0); in ExpandConstantFP()
299 ConstantFP *LLVMC = const_cast<ConstantFP*>(CFP->getConstantFPValue()); in ExpandConstantFP()
306 APFloat APF = CFP->getValueAPF(); in ExpandConstantFP()
446 if (ConstantFPSDNode *CFP = dyn_cast<ConstantFPSDNode>(Value)) { in OptimizeFloatStore() local
447 if (CFP->getValueType(0) == MVT::f32 && in OptimizeFloatStore()
449 SDValue Con = DAG.getConstant(CFP->getValueAPF(). in OptimizeFloatStore()
451 SDLoc(CFP), MVT::i32); in OptimizeFloatStore()
456 if (CFP->getValueType(0) == MVT::f64) { in OptimizeFloatStore()
459 SDValue Con = DAG.getConstant(CFP->getValueAPF().bitcastToAPInt(). in OptimizeFloatStore()
460 zextOrTrunc(64), SDLoc(CFP), MVT::i64); in OptimizeFloatStore()
469 const APInt &IntVal = CFP->getValueAPF().bitcastToAPInt(); in OptimizeFloatStore()
3203 ConstantFPSDNode *CFP = cast<ConstantFPSDNode>(Node); in ExpandNode() local
3206 if (!TLI.isFPImmLegal(CFP->getValueAPF(), Node->getValueType(0), in ExpandNode()
3208 Results.push_back(ExpandConstantFP(CFP, true)); in ExpandNode()