tvm
|
Canonical-form based simplifier. More...
#include <analyzer.h>
Public Member Functions | |
PrimExpr | operator() (const PrimExpr &expr) |
analyze the expr More... | |
void | Update (const Var &var, const PrimExpr &new_expr, bool allow_override=false) |
Update binding of var to a new expression. More... | |
Friends | |
class | Analyzer |
class | ConstraintContext |
Canonical-form based simplifier.
analyze the expr
expr | The expression of interest. |
void tvm::arith::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 |