Lines Matching full:cfp
1145 static Constant *FitsInFPType(ConstantFP *CFP, const fltSemantics &Sem) {
1147 APFloat F = CFP->getValueAPF();
1150 return ConstantFP::get(CFP->getContext(), F);
1164 if (ConstantFP *CFP = dyn_cast<ConstantFP>(V)) {
1165 if (CFP->getType() == Type::getPPC_FP128Ty(V->getContext()))
1168 if (Value *V = FitsInFPType(CFP, APFloat::IEEEhalf))
1171 if (Value *V = FitsInFPType(CFP, APFloat::IEEEsingle))
1173 if (CFP->getType()->isDoubleTy())
1175 if (Value *V = FitsInFPType(CFP, APFloat::IEEEdouble))