This version also leverages the sign bit of Add if known.
Declared in <llvm/Analysis/ValueTracking.h>
OverflowResult
computeOverflowForSignedAdd(
AddOperator const* Add,
SimplifyQuery const& SQ);
Overflow classification for the signed add.
| Name | Description |
|---|---|
| Add | Signed add operator to analyze for overflow. |
| SQ | Simplify query providing context for the analysis. |