Lines Matching refs:CFP
141 void printCFP(const ConstantFP* CFP);
220 void CppWriter::printCFP(const ConstantFP *CFP) { in printCFP() argument
222 APFloat APF = APFloat(CFP->getValueAPF()); // copy in printCFP()
223 if (CFP->getType() == Type::getFloatTy(CFP->getContext())) in printCFP()
234 if (CFP->getType() == Type::getDoubleTy(CFP->getContext())) in printCFP()
241 std::string StrVal = ftostr(CFP->getValueAPF()); in printCFP()
251 (CFP->isExactlyValue(atof(StrVal.c_str())))) { in printCFP()
252 if (CFP->getType() == Type::getDoubleTy(CFP->getContext())) in printCFP()
256 } else if (CFP->getType() == Type::getDoubleTy(CFP->getContext())) in printCFP()
258 << utohexstr(CFP->getValueAPF().bitcastToAPInt().getZExtValue()) in printCFP()
262 << utohexstr((uint32_t)CFP->getValueAPF(). in printCFP()
748 } else if (const ConstantFP *CFP = dyn_cast<ConstantFP>(CV)) { in printConstant() local
750 printCFP(CFP); in printConstant()