reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1221 const APInt &C1V = CI1->getValue(); 1227 return ConstantInt::get(CI1->getContext(), C1V + C2V); 1229 return ConstantInt::get(CI1->getContext(), C1V - C2V); 1231 return ConstantInt::get(CI1->getContext(), C1V * C2V); 1234 return ConstantInt::get(CI1->getContext(), C1V.udiv(C2V)); 1238 return UndefValue::get(CI1->getType()); // MIN_INT / -1 -> undef 1239 return ConstantInt::get(CI1->getContext(), C1V.sdiv(C2V)); 1242 return ConstantInt::get(CI1->getContext(), C1V.urem(C2V)); 1246 return UndefValue::get(CI1->getType()); // MIN_INT % -1 -> undef 1247 return ConstantInt::get(CI1->getContext(), C1V.srem(C2V)); 1249 return ConstantInt::get(CI1->getContext(), C1V & C2V); 1251 return ConstantInt::get(CI1->getContext(), C1V | C2V); 1253 return ConstantInt::get(CI1->getContext(), C1V ^ C2V); 1256 return ConstantInt::get(CI1->getContext(), C1V.shl(C2V)); 1260 return ConstantInt::get(CI1->getContext(), C1V.lshr(C2V)); 1264 return ConstantInt::get(CI1->getContext(), C1V.ashr(C2V)); 1277 if (CI1->isZero()) return C1;