tvm
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
tvm::sym::ModularSetObj Class Reference

Integer congruence class {coeff * x + base | x in Z}. More...

#include <analyzer.h>

Inheritance diagram for tvm::sym::ModularSetObj:
Collaboration diagram for tvm::sym::ModularSetObj:

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.
 

Detailed Description

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.

Member Function Documentation

◆ RegisterReflection()

static void tvm::sym::ModularSetObj::RegisterReflection ( )
inlinestatic

Register the fields exposed through FFI reflection.

◆ TVM_FFI_DECLARE_OBJECT_INFO_FINAL()

tvm::sym::ModularSetObj::TVM_FFI_DECLARE_OBJECT_INFO_FINAL ( "sym.ModularSet"  ,
ModularSetObj  ,
ffi::Object   
)

Member Data Documentation

◆ _type_s_eq_hash_kind

constexpr TVMFFISEqHashKind tvm::sym::ModularSetObj::_type_s_eq_hash_kind = kTVMFFISEqHashKindTreeNode
staticconstexpr

Compare and hash these value objects structurally.

◆ base

int64_t tvm::sym::ModularSetObj::base

Constant offset of the congruence class.

◆ coeff

int64_t tvm::sym::ModularSetObj::coeff

Coefficient of the arbitrary integer multiplier.


The documentation for this class was generated from the following file: