Lines Matching refs:C1V

1102       const APInt &C1V = CI1->getValue();  in ConstantFoldBinaryInstruction()  local
1108 return ConstantInt::get(CI1->getContext(), C1V + C2V); in ConstantFoldBinaryInstruction()
1110 return ConstantInt::get(CI1->getContext(), C1V - C2V); in ConstantFoldBinaryInstruction()
1112 return ConstantInt::get(CI1->getContext(), C1V * C2V); in ConstantFoldBinaryInstruction()
1115 return ConstantInt::get(CI1->getContext(), C1V.udiv(C2V)); in ConstantFoldBinaryInstruction()
1118 if (C2V.isAllOnesValue() && C1V.isMinSignedValue()) in ConstantFoldBinaryInstruction()
1120 return ConstantInt::get(CI1->getContext(), C1V.sdiv(C2V)); in ConstantFoldBinaryInstruction()
1123 return ConstantInt::get(CI1->getContext(), C1V.urem(C2V)); in ConstantFoldBinaryInstruction()
1126 if (C2V.isAllOnesValue() && C1V.isMinSignedValue()) in ConstantFoldBinaryInstruction()
1128 return ConstantInt::get(CI1->getContext(), C1V.srem(C2V)); in ConstantFoldBinaryInstruction()
1130 return ConstantInt::get(CI1->getContext(), C1V & C2V); in ConstantFoldBinaryInstruction()
1132 return ConstantInt::get(CI1->getContext(), C1V | C2V); in ConstantFoldBinaryInstruction()
1134 return ConstantInt::get(CI1->getContext(), C1V ^ C2V); in ConstantFoldBinaryInstruction()
1136 if (C2V.ult(C1V.getBitWidth())) in ConstantFoldBinaryInstruction()
1137 return ConstantInt::get(CI1->getContext(), C1V.shl(C2V)); in ConstantFoldBinaryInstruction()
1140 if (C2V.ult(C1V.getBitWidth())) in ConstantFoldBinaryInstruction()
1141 return ConstantInt::get(CI1->getContext(), C1V.lshr(C2V)); in ConstantFoldBinaryInstruction()
1144 if (C2V.ult(C1V.getBitWidth())) in ConstantFoldBinaryInstruction()
1145 return ConstantInt::get(CI1->getContext(), C1V.ashr(C2V)); in ConstantFoldBinaryInstruction()
1165 APFloat C1V = CFP1->getValueAPF(); in ConstantFoldBinaryInstruction() local
1167 APFloat C3V = C1V; // copy for modification in ConstantFoldBinaryInstruction()
1742 APFloat C1V = cast<ConstantFP>(C1)->getValueAPF(); in ConstantFoldCompareInstruction() local
1744 APFloat::cmpResult R = C1V.compare(C2V); in ConstantFoldCompareInstruction()