Lines Matching refs:ConstantFP
157 if (isa<ConstantInt>(V) || isa<ConstantFP>(V)) in FoldBitCast()
175 return ConstantFP::get(DestTy->getContext(), in FoldBitCast()
184 if (ConstantFP *FP = dyn_cast<ConstantFP>(V)) { in FoldBitCast()
589 if (ConstantFP *FPC = dyn_cast<ConstantFP>(V)) { in ConstantFoldCastInstruction()
600 return ConstantFP::get(V->getContext(), Val); in ConstantFoldCastInstruction()
605 if (ConstantFP *FPC = dyn_cast<ConstantFP>(V)) { in ConstantFoldCastInstruction()
682 return ConstantFP::get(V->getContext(), apf); in ConstantFoldCastInstruction()
1163 } else if (ConstantFP *CFP1 = dyn_cast<ConstantFP>(C1)) { in ConstantFoldBinaryInstruction()
1164 if (ConstantFP *CFP2 = dyn_cast<ConstantFP>(C2)) { in ConstantFoldBinaryInstruction()
1173 return ConstantFP::get(C1->getContext(), C3V); in ConstantFoldBinaryInstruction()
1176 return ConstantFP::get(C1->getContext(), C3V); in ConstantFoldBinaryInstruction()
1179 return ConstantFP::get(C1->getContext(), C3V); in ConstantFoldBinaryInstruction()
1182 return ConstantFP::get(C1->getContext(), C3V); in ConstantFoldBinaryInstruction()
1185 return ConstantFP::get(C1->getContext(), C3V); in ConstantFoldBinaryInstruction()
1741 } else if (isa<ConstantFP>(C1) && isa<ConstantFP>(C2)) { in ConstantFoldCompareInstruction()
1742 APFloat C1V = cast<ConstantFP>(C1)->getValueAPF(); in ConstantFoldCompareInstruction()
1743 APFloat C2V = cast<ConstantFP>(C2)->getValueAPF(); in ConstantFoldCompareInstruction()