tvm
Loading...
Searching...
No Matches
Public Member Functions | Friends | List of all members
tvm::arith::CanonicalSimplifier Class Reference

Canonical-form based simplifier. More...

#include <analyzer.h>

Collaboration diagram for tvm::arith::CanonicalSimplifier:

Public Member Functions

PrimExpr operator() (const PrimExpr &expr)
 analyze the expr
 
void Update (const Var &var, const PrimExpr &new_expr, bool allow_override=false)
 Update binding of var to a new expression.
 

Friends

class AnalyzerObj
 
class ConstraintContext
 

Detailed Description

Canonical-form based simplifier.

Member Function Documentation

◆ operator()()

PrimExpr tvm::arith::CanonicalSimplifier::operator() ( const PrimExpr expr)

analyze the expr

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

◆ Update()

void tvm::arith::CanonicalSimplifier::Update ( const Var var,
const PrimExpr new_expr,
bool  allow_override = false 
)

Update binding of var to a new expression.

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

Friends And Related Symbol Documentation

◆ AnalyzerObj

◆ ConstraintContext


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