tvm
Loading...
Searching...
No Matches
Public Member Functions | Friends | List of all members
tvm::sym::IntSetAnalyzer Class Reference

Integer set analyzer. More...

#include <analyzer.h>

Collaboration diagram for tvm::sym::IntSetAnalyzer:

Public Member Functions

TVM_TIRX_DLL IntSet operator() (const PrimExpr &expr, const ffi::Map< Var, IntSet > &dom_map)
 Find a symbolic integer set that contains all possible values of expr given the supplied variable domains.
 
TVM_TIRX_DLL IntSet operator() (const PrimExpr &expr)
 Find a symbolic integer set that contains all possible values of expr using current bindings, ranges, and recognized predicates.
 

Friends

class AnalyzerObj
 

Detailed Description

Integer set analyzer.

Member Function Documentation

◆ operator()() [1/2]

TVM_TIRX_DLL IntSet tvm::sym::IntSetAnalyzer::operator() ( const PrimExpr &  expr)

Find a symbolic integer set that contains all possible values of expr using current bindings, ranges, and recognized predicates.

Parameters
exprThe expression of interest.
Returns
the result of the analysis.

◆ operator()() [2/2]

TVM_TIRX_DLL IntSet tvm::sym::IntSetAnalyzer::operator() ( const PrimExpr &  expr,
const ffi::Map< Var, IntSet > &  dom_map 
)

Find a symbolic integer set that contains all possible values of expr given the supplied variable domains.

Parameters
exprThe expression of interest.
dom_mapThe variable domains to relax; variables absent from the map remain symbolic.
Returns
the result of the analysis.

Friends And Related Symbol Documentation

◆ AnalyzerObj

friend class AnalyzerObj
friend

The documentation for this class was generated from the following file: