tvm
Loading...
Searching...
No Matches
Classes | Namespaces | Enumerations | Functions
analyzer.h File Reference

Algebra expression simplifications. More...

#include <tvm/ffi/cast.h>
#include <tvm/ffi/object.h>
#include <tvm/ffi/reflection/registry.h>
#include <tvm/ffi/string.h>
#include <tvm/ir/expr.h>
#include <tvm/ir/with_context.h>
#include <tvm/sym/constraint.h>
#include <tvm/sym/int_set.h>
#include <functional>
#include <limits>
#include <memory>
#include <unordered_map>
#include <utility>
#include <vector>
Include dependency graph for analyzer.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  tvm::sym::ConstIntBoundObj
 Inclusive constant integer bounds, representing [min_value, max_value]. More...
 
class  tvm::sym::ConstIntBound
 Managed reference to ConstIntBoundObj. More...
 
class  tvm::sym::ConstIntBoundAnalyzer
 Analyzer to get constant integer bound over expression. More...
 
class  tvm::sym::ModularSetObj
 Integer congruence class {coeff * x + base | x in Z}. More...
 
class  tvm::sym::ModularSet
 Managed reference to ModularSetObj. More...
 
class  tvm::sym::ModularSetAnalyzer
 Analyzer to get modular information over expression. More...
 
class  tvm::sym::RewriteSimplifier
 Rewrite-rule based simplifier. More...
 
class  tvm::sym::CanonicalSimplifier
 Canonical-form based simplifier. More...
 
class  tvm::sym::IntSetAnalyzer
 Integer set analyzer. More...
 
class  tvm::sym::Z3Prover
 Optional Z3-backed prover over the analyzer's accepted premises. More...
 
class  tvm::sym::AnalyzerObj
 Coordinated symbolic analyses over an explicitly synchronized premise environment. More...
 
class  tvm::sym::Analyzer
 Managed reference to AnalyzerObj. More...
 
class  tvm::sym::AllowUIntAsIndex
 Scoped no-overflow assumption for unsigned index arithmetic. More...
 

Namespaces

namespace  tvm
 An object that builds and maintains block scope and StmtSref mapping for Dependence analysis.
 
namespace  tvm::sym
 namespace of symbolic analysis.
 
namespace  tvm::sym::detail
 

Enumerations

enum  tvm::sym::DivMode { tvm::sym::kTruncDiv , tvm::sym::kFloorDiv }
 Integer division semantics used by symbolic analysis. More...
 
enum class  tvm::sym::ProofStrength : int { tvm::sym::kDefault = 0 , tvm::sym::kSymbolicBound = 1 }
 The strength used for top-level condition proofs. More...
 
enum class  tvm::sym::CompareResult : int {
  tvm::sym::kInconsistent = 0 , tvm::sym::kEQ = 1 , tvm::sym::kLT = 2 , tvm::sym::kLE = 3 ,
  tvm::sym::kGT = 4 , tvm::sym::kGE = 5 , tvm::sym::kNE = 6 , tvm::sym::kUnknown = 7
}
 Possible orderings of two expressions, represented as a bit set. More...
 

Functions

constexpr CompareResult tvm::sym::operator& (CompareResult lhs, CompareResult rhs)
 Intersect the possible orderings.
 
constexpr CompareResult tvm::sym::operator| (CompareResult lhs, CompareResult rhs)
 Unite the possible orderings.
 

Detailed Description

Algebra expression simplifications.