enum class ConstantRange::OverflowResult
Description
Represents whether an operation on the given constant range is known to always or never overflow.
Declared at: llvm/include/llvm/IR/ConstantRange.h:460
Enumerators
Name | Value | Comment |
---|---|---|
AlwaysOverflowsLow | 0 | Always overflows in the direction of signed/unsigned min value. |
AlwaysOverflowsHigh | 1 | Always overflows in the direction of signed/unsigned max value. |
MayOverflow | 2 | May or may not overflow. |
NeverOverflows | 3 | Never overflows. |