Home | History | Annotate | Download | only in CppBackend

Lines Matching refs:CFP

138     void printCFP(const ConstantFP* CFP);
217 void CppWriter::printCFP(const ConstantFP *CFP) {
219 APFloat APF = APFloat(CFP->getValueAPF()); // copy
220 if (CFP->getType() == Type::getFloatTy(CFP->getContext()))
231 if (CFP->getType() == Type::getDoubleTy(CFP->getContext()))
238 std::string StrVal = ftostr(CFP->getValueAPF());
248 (CFP->isExactlyValue(atof(StrVal.c_str())))) {
249 if (CFP->getType() == Type::getDoubleTy(CFP->getContext()))
253 } else if (CFP->getType() == Type::getDoubleTy(CFP->getContext()))
255 << utohexstr(CFP->getValueAPF().bitcastToAPInt().getZExtValue())
259 << utohexstr((uint32_t)CFP->getValueAPF().
746 } else if (const ConstantFP *CFP = dyn_cast<ConstantFP>(CV)) {
748 printCFP(CFP);