Returns true if the given value is known be negative (i.e. non-positive and non-zero).
Declared in <llvm/Analysis/ValueTracking.h>
bool
isKnownNegative(
Value const* V,
SimplifyQuery const& SQ,
unsigned int Depth = 0);
True if V is known negative.
| Name | Description |
|---|---|
| V | Value to test for being negative. |
| SQ | Simplify query providing context for the analysis. |
| Depth | Current recursion depth for this query. |