Analyzer to get constant integer bound over expression.
More...
#include <analyzer.h>
Analyzer to get constant integer bound over expression.
◆ BoundMapType
Query results keyed by expression object identity.
◆ IsBound()
| TVM_TIRX_DLL bool tvm::sym::ConstIntBoundAnalyzer::IsBound |
( |
const Var & |
var | ) |
const |
Check whether a binding or recognized predicate supplies bounds for a variable.
- Parameters
-
- Returns
- True when such information is recorded, even if its bounds are unbounded.
◆ operator()() [1/2]
Compute conservative constant bounds under the current premises.
- Parameters
-
| expr | The integer expression to analyze. |
- Returns
- Inclusive bounds; unproved endpoints use the infinity sentinels.
◆ operator()() [2/2]
Compute bounds and optionally collect intermediate query results.
- Parameters
-
| expr | The integer expression to analyze. |
| bound | Optional output map, cleared on entry and borrowed only for this call. Its results describe the current premises and are not updated by later synchronization. |
- Returns
- Inclusive conservative bounds for expr.
◆ AnalyzerObj
The documentation for this class was generated from the following file: