reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/IR/ConstantFold.cpp
 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));
 1237         if (C2V.isAllOnesValue() && C1V.isMinSignedValue())
 1239         return ConstantInt::get(CI1->getContext(), C1V.sdiv(C2V));
 1242         return ConstantInt::get(CI1->getContext(), C1V.urem(C2V));
 1245         if (C2V.isAllOnesValue() && C1V.isMinSignedValue())
 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);
 1255         if (C2V.ult(C1V.getBitWidth()))
 1256           return ConstantInt::get(CI1->getContext(), C1V.shl(C2V));
 1259         if (C2V.ult(C1V.getBitWidth()))
 1260           return ConstantInt::get(CI1->getContext(), C1V.lshr(C2V));
 1263         if (C2V.ult(C1V.getBitWidth()))
 1264           return ConstantInt::get(CI1->getContext(), C1V.ashr(C2V));