|
tvm
|
Integer congruence class {coeff * x + base | x in Z}. More...
#include <analyzer.h>
Public Member Functions | |
| TVM_FFI_DECLARE_OBJECT_INFO_FINAL ("sym.ModularSet", ModularSetObj, ffi::Object) | |
Static Public Member Functions | |
| static void | RegisterReflection () |
| Register the fields exposed through FFI reflection. | |
Public Attributes | |
| int64_t | coeff |
| Coefficient of the arbitrary integer multiplier. | |
| int64_t | base |
| Constant offset of the congruence class. | |
Static Public Attributes | |
| static constexpr TVMFFISEqHashKind | _type_s_eq_hash_kind = kTVMFFISEqHashKindTreeNode |
| Compare and hash these value objects structurally. | |
Integer congruence class {coeff * x + base | x in Z}.
A zero coefficient represents the singleton {base}; a coefficient of one represents all integers. This information can establish divisibility, for example every element of {4 * x | x in Z} is divisible by four.
|
inlinestatic |
Register the fields exposed through FFI reflection.
| tvm::sym::ModularSetObj::TVM_FFI_DECLARE_OBJECT_INFO_FINAL | ( | "sym.ModularSet" | , |
| ModularSetObj | , | ||
| ffi::Object | |||
| ) |
|
staticconstexpr |
Compare and hash these value objects structurally.
| int64_t tvm::sym::ModularSetObj::base |
Constant offset of the congruence class.
| int64_t tvm::sym::ModularSetObj::coeff |
Coefficient of the arbitrary integer multiplier.