Class Analyzer#

Inheritance Relationships#

Base Type#

  • public ffi::ObjectRef

Class Documentation#

class Analyzer : public ffi::ObjectRef#

Managed reference to AnalyzerObj.

Analyzer is a lightweight, reference-counted handle around a heap-allocated AnalyzerObj. Because it is now a first-class FFI object, an Analyzer can be passed across the tvm-ffi boundary (e.g. handed from Python into a C++ pass) and shared, so that accumulated bindings/constraints persist across calls. Copying an Analyzer copies the handle, and both handles share the same mutable AnalyzerObj state. This is not a deep copy of analyzer facts or caches.

See also

AnalyzerObj

Public Types

using ContainerType = AnalyzerObj#

Public Functions

inline Analyzer()#

Construct a fresh analyzer.

inline explicit Analyzer(ffi::ObjectPtr<AnalyzerObj> n)#

Adopt a reference to a non-null analyzer object.

inline explicit Analyzer(::tvm::ffi::UnsafeInit tag)#
inline __PtrType operator->() const#
inline __PtrType get() const#