Home | History | Annotate | Download | only in CppBackend

Lines Matching refs:CFP

135     void printCFP(const ConstantFP* CFP);
214 void CppWriter::printCFP(const ConstantFP *CFP) {
216 APFloat APF = APFloat(CFP->getValueAPF()); // copy
217 if (CFP->getType() == Type::getFloatTy(CFP->getContext()))
228 if (CFP->getType() == Type::getDoubleTy(CFP->getContext()))
235 std::string StrVal = ftostr(CFP->getValueAPF());
245 (CFP->isExactlyValue(atof(StrVal.c_str())))) {
246 if (CFP->getType() == Type::getDoubleTy(CFP->getContext()))
250 } else if (CFP->getType() == Type::getDoubleTy(CFP->getContext()))
252 << utohexstr(CFP->getValueAPF().bitcastToAPInt().getZExtValue())
256 << utohexstr((uint32_t)CFP->getValueAPF().
704 } else if (const ConstantFP *CFP = dyn_cast<ConstantFP>(CV)) {
706 printCFP(CFP);