Lines Matching defs:C2V
1043 const APInt &C2V = CI2->getValue();
1048 return ConstantInt::get(CI1->getContext(), C1V + C2V);
1050 return ConstantInt::get(CI1->getContext(), C1V - C2V);
1052 return ConstantInt::get(CI1->getContext(), C1V * C2V);
1055 return ConstantInt::get(CI1->getContext(), C1V.udiv(C2V));
1058 if (C2V.isAllOnesValue() && C1V.isMinSignedValue())
1060 return ConstantInt::get(CI1->getContext(), C1V.sdiv(C2V));
1063 return ConstantInt::get(CI1->getContext(), C1V.urem(C2V));
1066 if (C2V.isAllOnesValue() && C1V.isMinSignedValue())
1068 return ConstantInt::get(CI1->getContext(), C1V.srem(C2V));
1070 return ConstantInt::get(CI1->getContext(), C1V & C2V);
1072 return ConstantInt::get(CI1->getContext(), C1V | C2V);
1074 return ConstantInt::get(CI1->getContext(), C1V ^ C2V);
1076 uint32_t shiftAmt = C2V.getZExtValue();
1083 uint32_t shiftAmt = C2V.getZExtValue();
1090 uint32_t shiftAmt = C2V.getZExtValue();
1115 APFloat C2V = CFP2->getValueAPF();
1121 (void)C3V.add(C2V, APFloat::rmNearestTiesToEven);
1124 (void)C3V.subtract(C2V, APFloat::rmNearestTiesToEven);
1127 (void)C3V.multiply(C2V, APFloat::rmNearestTiesToEven);
1130 (void)C3V.divide(C2V, APFloat::rmNearestTiesToEven);
1133 (void)C3V.mod(C2V, APFloat::rmNearestTiesToEven);
1663 APFloat C2V = cast<ConstantFP>(C2)->getValueAPF();
1664 APFloat::cmpResult R = C1V.compare(C2V);