Lines Matching refs:CFP
186 SDValue ExpandConstantFP(ConstantFPSDNode *CFP, bool UseCP);
286 SelectionDAGLegalize::ExpandConstantFP(ConstantFPSDNode *CFP, bool UseCP) { in ExpandConstantFP() argument
288 SDLoc dl(CFP); in ExpandConstantFP()
296 EVT VT = CFP->getValueType(0); in ExpandConstantFP()
297 ConstantFP *LLVMC = const_cast<ConstantFP*>(CFP->getConstantFPValue()); in ExpandConstantFP()
304 APFloat APF = CFP->getValueAPF(); in ExpandConstantFP()
444 if (ConstantFPSDNode *CFP = dyn_cast<ConstantFPSDNode>(Value)) { in OptimizeFloatStore() local
445 if (CFP->getValueType(0) == MVT::f32 && in OptimizeFloatStore()
447 SDValue Con = DAG.getConstant(CFP->getValueAPF(). in OptimizeFloatStore()
449 SDLoc(CFP), MVT::i32); in OptimizeFloatStore()
454 if (CFP->getValueType(0) == MVT::f64) { in OptimizeFloatStore()
457 SDValue Con = DAG.getConstant(CFP->getValueAPF().bitcastToAPInt(). in OptimizeFloatStore()
458 zextOrTrunc(64), SDLoc(CFP), MVT::i64); in OptimizeFloatStore()
467 const APInt &IntVal = CFP->getValueAPF().bitcastToAPInt(); in OptimizeFloatStore()
3262 ConstantFPSDNode *CFP = cast<ConstantFPSDNode>(Node); in ExpandNode() local
3265 if (!TLI.isFPImmLegal(CFP->getValueAPF(), Node->getValueType(0), in ExpandNode()
3267 Results.push_back(ExpandConstantFP(CFP, true)); in ExpandNode()