tvm
Public Member Functions | Friends | List of all members
tvm::arith::ModularSetAnalyzer Class Reference

Analyzer to get modular information over expression. More...

#include <analyzer.h>

Collaboration diagram for tvm::arith::ModularSetAnalyzer:

Public Member Functions

ModularSet operator() (const PrimExpr &expr)
 analyze the expr More...
 
void Update (const Var &var, const ModularSet &info, bool allow_override=false)
 Update constant int bound information of var. More...
 

Friends

class Analyzer
 
class ConstraintContext
 

Detailed Description

Analyzer to get modular information over expression.

Member Function Documentation

◆ operator()()

ModularSet tvm::arith::ModularSetAnalyzer::operator() ( const PrimExpr expr)

analyze the expr

Parameters
exprThe expression of interest.
Returns
the result of the analysis.

◆ Update()

void tvm::arith::ModularSetAnalyzer::Update ( const Var var,
const ModularSet info,
bool  allow_override = false 
)

Update constant int bound information of var.

Parameters
varThe variable of interest.
infoThe bound information.
allow_overridewhether we allow override of existing information.

Friends And Related Function Documentation

◆ Analyzer

friend class Analyzer
friend

◆ ConstraintContext

friend class ConstraintContext
friend

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