23#ifndef TVM_ARITH_BOUND_H_
24#define TVM_ARITH_BOUND_H_
31#include <unordered_map>
69 const std::unordered_map<const VarNode*, IntSet>&
hint_map,
70 const std::unordered_map<const VarNode*, IntSet>&
relax_map);
Typed reference/view over any Expr whose ExprNode::ty is PrimType.
Definition base_expr.h:401
RAII wrapper function to enter and exit a context object similar to python's with syntax.
Definition with_context.h:59
Managed reference to IntSetNode.
Definition int_set.h:68
Checked zero-state view over an ordinary VarNode with BufferType.
Definition buffer.h:179
Container of all statements.
Definition stmt.h:67
IntSet DeduceBound(PrimExpr v, PrimExpr cond, const ffi::Map< Var, IntSet > &hint_map, const ffi::Map< Var, IntSet > &relax_map)
Deduce the bound of the target variable in a expression, give the domain of each variables....
Region DomainTouched(const Stmt &body, const tirx::BufferVar &buffer, bool consider_loads, bool consider_stores)
Infer a regular domain that covers all the calls or provides within the given statement.
tvm::Var Var
Definition var.h:38
tvm::VarNode VarNode
Definition var.h:37
ffi::Array< Range > Region
Definition var.h:71
An object that builds and maintains block scope and StmtSref mapping for Dependence analysis.
Definition analyzer.h:40