Home | History | Annotate | Download | only in IR

Lines Matching full:cfp

1097   if (const ConstantFP *CFP = dyn_cast<ConstantFP>(CV)) {
1098 if (&CFP->getValueAPF().getSemantics() == &APFloat::IEEEsingle ||
1099 &CFP->getValueAPF().getSemantics() == &APFloat::IEEEdouble) {
1106 bool isDouble = &CFP->getValueAPF().getSemantics()==&APFloat::IEEEdouble;
1107 bool isInf = CFP->getValueAPF().isInfinity();
1108 bool isNaN = CFP->getValueAPF().isNaN();
1110 double Val = isDouble ? CFP->getValueAPF().convertToDouble() :
1111 CFP->getValueAPF().convertToFloat();
1135 APFloat apf = CFP->getValueAPF();
1148 APInt API = CFP->getValueAPF().bitcastToAPInt();
1149 if (&CFP->getValueAPF().getSemantics() == &APFloat::x87DoubleExtended) {
1156 } else if (&CFP->getValueAPF().getSemantics() == &APFloat::IEEEquad) {
1162 } else if (&CFP->getValueAPF().getSemantics() == &APFloat::PPCDoubleDouble) {
1168 } else if (&CFP->getValueAPF().getSemantics() == &APFloat::IEEEhalf) {