|
tvm
|
Canonical-form based simplifier. More...
#include <analyzer.h>
Public Member Functions | |
| TVM_TIRX_DLL PrimExpr | operator() (const PrimExpr &expr) |
| analyze the expr | |
| TVM_TIRX_DLL 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 |
Canonical-form based simplifier.
| TVM_TIRX_DLL PrimExpr tvm::sym::CanonicalSimplifier::operator() | ( | const PrimExpr & | expr | ) |
analyze the expr
| expr | The expression of interest. |
| TVM_TIRX_DLL void tvm::sym::CanonicalSimplifier::Update | ( | const Var & | var, |
| const PrimExpr & | new_expr, | ||
| bool | allow_override = false |
||
| ) |
Update binding of var to a new expression.
| var | The variable of interest. |
| new_expr | |
| allow_override | whether we allow override of existing information. |
|
friend |
|
friend |