tvm_tirx.sym.estimate_region_lower_bound

tvm_tirx.sym.estimate_region_lower_bound#

tvm_tirx.sym.estimate_region_lower_bound(region, var_dom, predicate, analyzer=None)#

Analyze the region with affine map, given the domain of variables and their predicate Some subregion may be discarded during the lower-bound analysis.

Parameters:
  • region (List[Range]) – The region to be analyzed.

  • var_dom (Dict[tvm_tirx.ir.Var, Range]) – The ranges of the variables

  • predicate (Expr) – The predicate for the affine map

  • analyzer (Optional[tvm_tirx.sym.Analyzer]) – The analyzer to use. When provided, its accumulated bindings and constraints are reused; otherwise a fresh analyzer is created.

Returns:

region_int_set (Optional[List[IntSet]]) – None if the detection fails, or an array of IntSets as the result of analysis