24 #ifndef TVM_ARITH_PATTERN_H_
25 #define TVM_ARITH_PATTERN_H_
Reference to PrimExprNode.
Definition: expr.h:124
ffi::Array< PrimExpr > DetectLinearEquation(const PrimExpr &e, const ffi::Array< tir::Var > &vars)
Detect if e can be rewritten as e = sum_{i=0}^{n-1} var[i] * coeff[i] + coeff[n] Where coeff[i] and b...
ffi::Array< PrimExpr > DetectClipBound(const PrimExpr &e, const ffi::Array< tir::Var > &vars)
Detect if expression corresponds to clip bound of the vars.
Performance counters for profiling via the PAPI library.
Definition: analyzer.h:37